From 54861606f91d387b03f579a4c968f0c7cf66e0bd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 25 Dec 2007 00:12:18 +0100 Subject: Attempt to fix the ifreq detection (This used to be commit 2d08959685b495caf1884babbece27775d8bcb4f) --- source3/configure.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') diff --git a/source3/configure.in b/source3/configure.in index 1906d74505..a93e6fbdd5 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3026,10 +3026,12 @@ AC_CACHE_CHECK([for iface ifreq],samba_cv_HAVE_IFACE_IFREQ,[ SAVE_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS ${SAMBA_CONFIGURE_CPPFLAGS}" AC_TRY_RUN([ +#undef SOCKET_WRAPPER #define NO_CONFIG_H 1 #define HAVE_IFACE_IFREQ 1 #define AUTOCONF_TEST 1 #include "${srcdir-.}/lib/replace/replace.c" +#undef getnameinfo #include "${srcdir-.}/lib/interfaces.c"], samba_cv_HAVE_IFACE_IFREQ=yes,samba_cv_HAVE_IFACE_IFREQ=no,samba_cv_HAVE_IFACE_IFREQ=cross)]) CPPFLAGS="$SAVE_CPPFLAGS" -- cgit