summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-25 00:12:18 +0100
committerVolker Lendecke <vl@samba.org>2007-12-25 00:13:24 +0100
commit54861606f91d387b03f579a4c968f0c7cf66e0bd (patch)
tree36cdcfef02f45bccaf53052fc1df3a1350295a11 /source3
parent3177cece659b12114e37033a22becc595649d07a (diff)
downloadsamba-54861606f91d387b03f579a4c968f0c7cf66e0bd.tar.gz
samba-54861606f91d387b03f579a4c968f0c7cf66e0bd.tar.bz2
samba-54861606f91d387b03f579a4c968f0c7cf66e0bd.zip
Attempt to fix the ifreq detection
(This used to be commit 2d08959685b495caf1884babbece27775d8bcb4f)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in2
1 files changed, 2 insertions, 0 deletions
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"