Changeset: 656bdb467828 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=656bdb467828
Modified Files:
buildtools/conf/MonetDB.m4
Branch: default
Log Message:
Check for getaddrinfo after checking for network libraries.
This might help finding the function on Solaris.
diffs (29 lines):
diff -r 5c61b9a88aed -r 656bdb467828 buildtools/conf/MonetDB.m4
--- a/buildtools/conf/MonetDB.m4 Thu Jul 22 16:28:40 2010 +0200
+++ b/buildtools/conf/MonetDB.m4 Fri Jul 23 10:45:09 2010 +0200
@@ -1240,7 +1240,7 @@
AC_C_CHAR_UNSIGNED
# Checks for library functions.
-AC_CHECK_FUNCS([ftruncate getaddrinfo gettimeofday opendir sysconf times])
+AC_CHECK_FUNCS([ftruncate gettimeofday opendir sysconf times])
AC_CHECK_FUNCS([madvise posix_fadvise posix_madvise]) dnl gdk_posix.mx
AC_FUNC_FSEEKO()
@@ -2346,7 +2346,6 @@
;;
esac
-
if test "x$have_setsockopt" = xno; then
AC_CHECK_FUNC(setsockopt, [],
AC_CHECK_LIB(socket, setsockopt, [ SOCKET_LIBS="-lsocket
$SOCKET_LIBS"; have_setsockopt=yes; ]))
@@ -2354,6 +2353,8 @@
AC_CHECK_HEADERS([sys/socket.h winsock.h])
+AC_CHECK_FUNCS([getaddrinfo])
+
dnl incase of windows we need to use try_link because windows uses the
dnl pascal style of function calls and naming scheme. Therefore the
dnl function needs to be compiled with the correct header
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list