[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/gl/m4
From: |
gsasl-commit |
Subject: |
CVS gsasl/gl/m4 |
Date: |
Wed, 18 Jan 2006 17:36:15 +0100 |
Update of /home/cvs/gsasl/gl/m4
In directory dopio:/tmp/cvs-serv16795/gl/m4
Modified Files:
getaddrinfo.m4
Log Message:
Update.
--- /home/cvs/gsasl/gl/m4/getaddrinfo.m4 2006/01/18 11:45:54 1.15
+++ /home/cvs/gsasl/gl/m4/getaddrinfo.m4 2006/01/18 16:36:15 1.16
@@ -14,17 +14,17 @@
if test "$ac_cv_search_gethostbyname" = "no"; then
save_LIBS="$LIBS"
- LIBS="$LIBS -lwsock32"
- AC_MSG_CHECKING([whether we need -lwsock32])
+ LIBS="$LIBS -lws2_32"
+ AC_MSG_CHECKING([whether we need -lws2_32 for gethostbyname])
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[
-#include <ws2tcpip.h>
-]], [gethostbyname ("foo");])],
- need_wsock32=yes, need_wsock32=no)
- AC_MSG_RESULT($need_wsock32)
+#include <winsock2.h>
+]], [gethostbyname (0, 0);])],
+ need_ws2=yes, need_ws2=no)
+ AC_MSG_RESULT($need_ws2)
LIBS="$save_LIBS"
- if test "$need_wsock32" = "yes"; then
- LIBS="$LIBS -lwsock32"
+ if test "$need_ws2 = "yes"; then
+ LIBS="$LIBS -lws2_32
fi
fi
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/10
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4,
gsasl-commit <=
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/19
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/19