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-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7e0bff88a23be0e7cbbd7eab60ed49bcdda04fa;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) --- diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4 index 6cde6b9e0ca..4edb55c03a2 100644 --- a/source/lib/replace/libreplace_network.m4 +++ b/source/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