added a configure check for AI_ADDRCONFIG
2003-10-17 Jeffrey Stedfast <fejj@ximian.com> * configure.in: added a configure check for AI_ADDRCONFIG svn path=/trunk/; revision=23076
This commit is contained in:

committed by
Jeffrey Stedfast

parent
10c4c2efcf
commit
b884a64790
@ -1,3 +1,7 @@
|
||||
2003-10-17 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* configure.in: added a configure check for AI_ADDRCONFIG
|
||||
|
||||
2003-10-24 Dan Winship <danw@ximian.com>
|
||||
|
||||
* libversit/Makefile.am: Change YFLAGS to AM_YFLAGS to stop an
|
||||
|
16
configure.in
16
configure.in
@ -295,6 +295,20 @@ fi
|
||||
|
||||
if test "x$enable_ipv6" = "xyes"; then
|
||||
AC_DEFINE(ENABLE_IPv6,1,[Enable IPv6 support])
|
||||
AC_TRY_COMPILE([
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
|
||||
],[
|
||||
struct addrinfo hints;
|
||||
|
||||
hints.ai_flags = AI_ADDRCONFIG;
|
||||
],[
|
||||
AC_DEFINE(HAVE_AI_ADDRCONFIG,1,[Define if the system defines the AI_ADDRCONFIG flag for getaddrinfo])
|
||||
])
|
||||
fi
|
||||
AM_CONDITIONAL(ENABLE_IPv6, test "x$enable_ipv6" = "xyes")
|
||||
|
||||
@ -395,7 +409,7 @@ AC_SUBST(DB3_LDADD)
|
||||
|
||||
AC_CACHE_CHECK([that db3 library version matches header version], ac_cv_db3_lib_version_match,
|
||||
[
|
||||
LIBS="$DB3_LDADD $LIBS"
|
||||
LIBS="$DB3_LDADD $LIBS -pthread"
|
||||
AC_TRY_RUN([
|
||||
#ifdef HAVE_DB3_DB_H
|
||||
#include <db3/db.h>
|
||||
|
Reference in New Issue
Block a user