1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

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)
This commit is contained in:
Stefan Metzmacher 2008-05-22 15:00:19 +02:00
parent 033ec7fbf5
commit b54f34bb33

View File

@ -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>