mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
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 04a0a5144a
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
ab188e02af
commit
45e566b7cc
@ -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
|
||||
|
Reference in New Issue
Block a user