diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-03-13 10:20:29 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-16 11:14:52 +0100 |
commit | 099d6f05cdb0800114d026786920a17ef649699f (patch) | |
tree | f68a94c73234675e714f765454b4785e3a523c5c | |
parent | 586a4da5dd30c371a33956db406bbb1dc08534b2 (diff) | |
download | samba-099d6f05cdb0800114d026786920a17ef649699f.tar.gz samba-099d6f05cdb0800114d026786920a17ef649699f.tar.bz2 samba-099d6f05cdb0800114d026786920a17ef649699f.zip |
lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() are available
metze
-rw-r--r-- | lib/replace/libreplace_network.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/libreplace_network.m4 b/lib/replace/libreplace_network.m4 index 1dc1c44ed8..9223d94b75 100644 --- a/lib/replace/libreplace_network.m4 +++ b/lib/replace/libreplace_network.m4 @@ -242,7 +242,7 @@ AC_CHECK_MEMBERS([struct sockaddr.sa_len], dnl test for getifaddrs and freeifaddrs AC_CACHE_CHECK([for getifaddrs and freeifaddrs],libreplace_cv_HAVE_GETIFADDRS,[ -AC_TRY_COMPILE([ +AC_TRY_LINK([ #include <sys/types.h> #if STDC_HEADERS #include <stdlib.h> |