diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-03-13 10:20:29 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-04-15 09:06:32 +0200 |
commit | 01d3f043485f10e8d9242815b661c7c80165a9a1 (patch) | |
tree | f22bc7400e4d6bd010d1e93bc83217336e474c66 /lib | |
parent | daffc284bae71cb5ec4430b00e80eb99d4c4b561 (diff) | |
download | samba-01d3f043485f10e8d9242815b661c7c80165a9a1.tar.gz |
lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() are available
metze
(cherry picked from commit 099d6f05cdb0800114d026786920a17ef649699f)
(cherry picked from commit 5587e0d17aa5fe56337fbede9e3db11fe2b24c88)
Diffstat (limited to 'lib')
-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 1dc1c44ed8e..9223d94b757 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> |