From: Stefan Metzmacher Date: Thu, 22 May 2008 13:00:19 +0000 (+0200) Subject: libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected X-Git-Tag: samba-4.0.0alpha6~801^2~1308 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b54f34bb3321d3318189549df712ae1618dd71ca;p=thirdparty%2Fsamba.git libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected metze (cherry picked from commit 84b5652d3e5766521436e4c7d59615b08b2bb198) (This used to be commit b28b63c911efe17ba37c15c9b74edd96e9584832) --- diff --git a/source3/lib/replace/libreplace_network.m4 b/source3/lib/replace/libreplace_network.m4 index 6cde6b9e0ca..4edb55c03a2 100644 --- a/source3/lib/replace/libreplace_network.m4 +++ b/source3/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 /* for NULL */ #include #include