Changeset: dd4476d92b1a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=dd4476d92b1a
Modified Files:
buildtools/conf/MonetDB.m4
Branch: Jun2010
Log Message:
Check for getaddrinfo after checking for network libraries.
This might help finding the function on Solaris.
diffs (29 lines):
diff -r 7a04c0a336d5 -r dd4476d92b1a buildtools/conf/MonetDB.m4
--- a/buildtools/conf/MonetDB.m4 Thu Jul 22 16:08:22 2010 +0200
+++ b/buildtools/conf/MonetDB.m4 Fri Jul 23 10:44:52 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