summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-22 15:00:19 +0200
committerStefan Metzmacher <metze@samba.org>2008-05-22 15:01:32 +0200
commit5ab27ba7f0facbad4ba14b4246bc47e05b5da347 (patch)
tree3d5b52b49d69b08be39dc3d5d9d36637eaf140ce
parent8172f3eb220575d40f9ab5129d36e4e0003dee56 (diff)
downloadsamba-5ab27ba7f0facbad4ba14b4246bc47e05b5da347.tar.gz
samba-5ab27ba7f0facbad4ba14b4246bc47e05b5da347.tar.bz2
samba-5ab27ba7f0facbad4ba14b4246bc47e05b5da347.zip
libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected
metze (This used to be commit 84b5652d3e5766521436e4c7d59615b08b2bb198)
-rw-r--r--source4/lib/replace/libreplace_network.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace_network.m4 b/source4/lib/replace/libreplace_network.m4
index 6cde6b9e0c..4edb55c03a 100644
--- a/source4/lib/replace/libreplace_network.m4
+++ b/source4/lib/replace/libreplace_network.m4
@@ -341,7 +341,7 @@ fi
dnl test for ipv6
AC_CACHE_CHECK([for ipv6 support],libreplace_cv_HAVE_IPV6,[
- AC_TRY_COMPILE([
+ AC_TRY_LINK([
#include <stdlib.h> /* for NULL */
#include <sys/socket.h>
#include <sys/types.h>