Changeset: 26520d886809 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=26520d886809 Modified Files: buildtools/conf/MonetDB.m4 Branch: default Log Message:
merged Solaris compilation fix from Jun2010 diffs (17 lines): diff -r 0a24bc154be0 -r 26520d886809 buildtools/conf/MonetDB.m4 --- a/buildtools/conf/MonetDB.m4 Fri Jul 23 18:10:40 2010 +0200 +++ b/buildtools/conf/MonetDB.m4 Sat Jul 24 08:34:24 2010 +0200 @@ -2353,7 +2353,12 @@ AC_CHECK_HEADERS([sys/socket.h winsock.h]) -AC_CHECK_FUNCS([getaddrinfo]) +save_LIBS="$LIBS" +LIBS="$LIBS $SOCKET_LIBS" +AC_CHECK_FUNC(getaddrinfo, [], [ + AC_CHECK_LIB(socket, getaddrinfo, [ SOCKET_LIBS="$SOCKET_LIBS -lsocket" ], + AC_CHECK_LIB(nsl, getaddrinfo, [ SOCKET_LIBS="$SOCKET_LIBS -lnsl" ] ))]) +LIBS="$save_LIBS" 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 _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
