You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by jun-ichiro hagino <it...@kame.net> on 2001/01/14 18:21:01 UTC

general/7065: srclib/apr/configure.in fails to find getaddrinfo in libc

>Number:         7065
>Category:       general
>Synopsis:       srclib/apr/configure.in fails to find getaddrinfo in libc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Jan 14 09:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     itojun@kame.net
>Release:        2.0a9
>Organization:
apache
>Environment:
NetBSD starfruit.itojun.org 1.5Q NetBSD 1.5Q (STARFRUIT) #318: Sat Jan 13 22:05:36 JST 2001     itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
>Description:
srclib/apr/configure.in is unable to find getaddrinfo in libc.
this is due to mistake in APR_CHECK_WORKING_GETADDRINFO.
>How-To-Repeat:
run configure script on NetBSD, see srclib/apr/config.log.
>Fix:
sys/socket.h needs sys/types.h.

Index: srclib/apr/aclocal.m4
===================================================================
RCS file: /cvsroot/apps/apache20/srclib/apr/aclocal.m4,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 aclocal.m4
--- srclib/apr/aclocal.m4       2001/01/14 16:33:29     1.1.1.1
+++ srclib/apr/aclocal.m4       2001/01/14 17:20:28
@@ -198,6 +198,9 @@
 #ifdef HAVE_STRING_H
 #include <string.h>
 #endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]