diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2013-12-15 16:11:00 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2013-12-16 09:39:31 -0500 |
commit | 87547e43189301e3dd42feb9d7ff32a75d0e727f (patch) | |
tree | a314d9f2301f19c3a2336b07378cc9c319e321a5 /xtrans.m4 | |
parent | 88433eb1abe887000d34315c2f55aa42fcddfdee (diff) |
xtrans.m4: replace deprecated AC_HAVE_LIBRARY with AC_CHECK_LIB
The #define HAVE_LIBWS2_32 is still done and the lib ws2_32 is
prepended to LIBS if found.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'xtrans.m4')
-rw-r--r-- | xtrans.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ AC_DEFUN([XTRANS_TCP_FLAGS],[ AC_SEARCH_LIBS(socket, [socket]) AC_SEARCH_LIBS(gethostbyname, [nsl]) if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then - AC_HAVE_LIBRARY([ws2_32]) + AC_CHECK_LIB([ws2_32],[main]) fi # Needs to come after above checks for libsocket & libnsl for SVR4 systems |