diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-15 14:30:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:45 -0500 |
commit | 45e566b7cc180d9a873284c07539233a856a694f (patch) | |
tree | 0412dc759309a2a1fdd66569e74d750f3364c278 /source4/lib/socket | |
parent | ab188e02af3d0b1b91ae55a2c15433fc817a4f7b (diff) | |
download | samba-45e566b7cc180d9a873284c07539233a856a694f.tar.gz samba-45e566b7cc180d9a873284c07539233a856a694f.tar.bz2 samba-45e566b7cc180d9a873284c07539233a856a694f.zip |
r18553: - confdefs.h is always included in configure checks no need to include them explicit
- undefine _XOPEN_SOURCE_EXTENDED for the AIX interface detection test
#define _XOPEN_SOURCE_EXTENDED 1 brings in sa_len to sockaddr on Tru64
which means the AIX code compiles...
metze
(This used to be commit 04a0a5144a249e12a9dcb327c5b6055e6a6135db)
Diffstat (limited to 'source4/lib/socket')
-rw-r--r-- | source4/lib/socket/config.m4 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/lib/socket/config.m4 b/source4/lib/socket/config.m4 index 0965cd1245..5cb567238c 100644 --- a/source4/lib/socket/config.m4 +++ b/source4/lib/socket/config.m4 @@ -114,7 +114,7 @@ AC_CACHE_CHECK([for iface AIX],samba_cv_HAVE_IFACE_AIX,[ AC_TRY_RUN([ #define HAVE_IFACE_AIX 1 #define AUTOCONF_TEST 1 -#include "confdefs.h" +#undef _XOPEN_SOURCE_EXTENDED #include "${srcdir-.}/lib/socket/netif.c"], samba_cv_HAVE_IFACE_AIX=yes,samba_cv_HAVE_IFACE_AIX=no,samba_cv_HAVE_IFACE_AIX=cross)]) if test x"$samba_cv_HAVE_IFACE_AIX" = x"yes"; then @@ -126,7 +126,6 @@ AC_CACHE_CHECK([for iface ifconf],samba_cv_HAVE_IFACE_IFCONF,[ AC_TRY_RUN([ #define HAVE_IFACE_IFCONF 1 #define AUTOCONF_TEST 1 -#include "confdefs.h" #include "${srcdir-.}/lib/socket/netif.c"], samba_cv_HAVE_IFACE_IFCONF=yes,samba_cv_HAVE_IFACE_IFCONF=no,samba_cv_HAVE_IFACE_IFCONF=cross)]) if test x"$samba_cv_HAVE_IFACE_IFCONF" = x"yes"; then @@ -139,7 +138,6 @@ AC_CACHE_CHECK([for iface ifreq],samba_cv_HAVE_IFACE_IFREQ,[ AC_TRY_RUN([ #define HAVE_IFACE_IFREQ 1 #define AUTOCONF_TEST 1 -#include "confdefs.h" #include "${srcdir-.}/lib/socket/netif.c"], samba_cv_HAVE_IFACE_IFREQ=yes,samba_cv_HAVE_IFACE_IFREQ=no,samba_cv_HAVE_IFACE_IFREQ=cross)]) if test x"$samba_cv_HAVE_IFACE_IFREQ" = x"yes"; then |