summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-21 17:56:33 +0100
committerMichael Adam <obnox@samba.org>2008-02-21 18:18:11 +0100
commit840933cd4eaca75ebb4d63928023e7d1d24f4a8c (patch)
tree9d2326566afac9787738cace113421c916898087 /source4/lib/replace
parent10e7f9f02d3b952c924e7c98ce01d27cc6baac84 (diff)
downloadsamba-840933cd4eaca75ebb4d63928023e7d1d24f4a8c.tar.gz
samba-840933cd4eaca75ebb4d63928023e7d1d24f4a8c.tar.bz2
samba-840933cd4eaca75ebb4d63928023e7d1d24f4a8c.zip
Try and fix getifaddrs check on irix: dont't try to include config.h
The missing header file is judged "catastrophic" on irix. Michael (cherry picked from commit 5778c90819a5a5cee38be690f442c571f3a6a051) (This used to be commit 0d4522a06d4465f6eadbdf14381c9e08cf7e1dc9)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/getifaddrs.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/replace/getifaddrs.m4 b/source4/lib/replace/getifaddrs.m4
index 4cf86d89cc..5d5edf1cbd 100644
--- a/source4/lib/replace/getifaddrs.m4
+++ b/source4/lib/replace/getifaddrs.m4
@@ -60,6 +60,7 @@ fi
if test $iface = no; then
AC_CACHE_CHECK([for iface AIX],libreplace_cv_HAVE_IFACE_AIX,[
AC_TRY_RUN([
+#define NO_CONFIG_H 1
#define HAVE_IFACE_AIX 1
#define AUTOCONF_TEST 1
#undef _XOPEN_SOURCE_EXTENDED
@@ -74,6 +75,7 @@ fi
if test $iface = no; then
AC_CACHE_CHECK([for iface ifconf],libreplace_cv_HAVE_IFACE_IFCONF,[
AC_TRY_RUN([
+#define NO_CONFIG_H 1
#define HAVE_IFACE_IFCONF 1
#define AUTOCONF_TEST 1
#include "$libreplacedir/getifaddrs.c"],
@@ -86,6 +88,7 @@ fi
if test $iface = no; then
AC_CACHE_CHECK([for iface ifreq],libreplace_cv_HAVE_IFACE_IFREQ,[
AC_TRY_RUN([
+#define NO_CONFIG_H 1
#define HAVE_IFACE_IFREQ 1
#define AUTOCONF_TEST 1
#include "$libreplacedir/getifaddrs.c"],