1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Try and fix getifaddrs check on irix: dont't try to include config.h

The missing header file is judged "catastrophic" on irix.

Michael
This commit is contained in:
Michael Adam 2008-02-21 17:56:33 +01:00
parent 4724b13ed8
commit 5778c90819

View File

@ -60,6 +60,7 @@ fi
if test $iface = no; then if test $iface = no; then
AC_CACHE_CHECK([for iface AIX],libreplace_cv_HAVE_IFACE_AIX,[ AC_CACHE_CHECK([for iface AIX],libreplace_cv_HAVE_IFACE_AIX,[
AC_TRY_RUN([ AC_TRY_RUN([
#define NO_CONFIG_H 1
#define HAVE_IFACE_AIX 1 #define HAVE_IFACE_AIX 1
#define AUTOCONF_TEST 1 #define AUTOCONF_TEST 1
#undef _XOPEN_SOURCE_EXTENDED #undef _XOPEN_SOURCE_EXTENDED
@ -74,6 +75,7 @@ fi
if test $iface = no; then if test $iface = no; then
AC_CACHE_CHECK([for iface ifconf],libreplace_cv_HAVE_IFACE_IFCONF,[ AC_CACHE_CHECK([for iface ifconf],libreplace_cv_HAVE_IFACE_IFCONF,[
AC_TRY_RUN([ AC_TRY_RUN([
#define NO_CONFIG_H 1
#define HAVE_IFACE_IFCONF 1 #define HAVE_IFACE_IFCONF 1
#define AUTOCONF_TEST 1 #define AUTOCONF_TEST 1
#include "$libreplacedir/getifaddrs.c"], #include "$libreplacedir/getifaddrs.c"],
@ -86,6 +88,7 @@ fi
if test $iface = no; then if test $iface = no; then
AC_CACHE_CHECK([for iface ifreq],libreplace_cv_HAVE_IFACE_IFREQ,[ AC_CACHE_CHECK([for iface ifreq],libreplace_cv_HAVE_IFACE_IFREQ,[
AC_TRY_RUN([ AC_TRY_RUN([
#define NO_CONFIG_H 1
#define HAVE_IFACE_IFREQ 1 #define HAVE_IFACE_IFREQ 1
#define AUTOCONF_TEST 1 #define AUTOCONF_TEST 1
#include "$libreplacedir/getifaddrs.c"], #include "$libreplacedir/getifaddrs.c"],