summaryrefslogtreecommitdiff
path: root/source3/lib/replace/getifaddrs.m4
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-27 01:41:30 +0100
committerMichael Adam <obnox@samba.org>2008-02-27 11:06:54 +0100
commite80790f649b181e2eb6a8bfa0ef0340d05ead050 (patch)
tree1385f758adb3073e7292a178759f37d2423d9b85 /source3/lib/replace/getifaddrs.m4
parenta565f50735e1c90b55c8069067821754938035f9 (diff)
downloadsamba-e80790f649b181e2eb6a8bfa0ef0340d05ead050.tar.gz
samba-e80790f649b181e2eb6a8bfa0ef0340d05ead050.tar.bz2
samba-e80790f649b181e2eb6a8bfa0ef0340d05ead050.zip
libreplace: fix standalone build - add necessary libs.
The libs needed for getifaddrs replacements have to be added to LIBS and used for the testsuite target. Michael (This used to be commit f162de7b8012d29408060610a969ca76c61a4c80)
Diffstat (limited to 'source3/lib/replace/getifaddrs.m4')
-rw-r--r--source3/lib/replace/getifaddrs.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/replace/getifaddrs.m4 b/source3/lib/replace/getifaddrs.m4
index dd2a95cb81..767797e8d2 100644
--- a/source3/lib/replace/getifaddrs.m4
+++ b/source3/lib/replace/getifaddrs.m4
@@ -71,6 +71,7 @@ AC_TRY_RUN([
libreplace_cv_HAVE_IFACE_AIX=yes,libreplace_cv_HAVE_IFACE_AIX=no,libreplace_cv_HAVE_IFACE_AIX=cross)])
if test x"$libreplace_cv_HAVE_IFACE_AIX" = x"yes"; then
iface=yes;AC_DEFINE(HAVE_IFACE_AIX,1,[Whether iface AIX is available])
+ old_LIBS="$old_LIBS $LIBS"
fi
fi
@@ -87,6 +88,7 @@ AC_TRY_RUN([
libreplace_cv_HAVE_IFACE_IFCONF=yes,libreplace_cv_HAVE_IFACE_IFCONF=no,libreplace_cv_HAVE_IFACE_IFCONF=cross)])
if test x"$libreplace_cv_HAVE_IFACE_IFCONF" = x"yes"; then
iface=yes;AC_DEFINE(HAVE_IFACE_IFCONF,1,[Whether iface ifconf is available])
+ old_LIBS="$old_LIBS $LIBS"
fi
fi
@@ -102,6 +104,7 @@ AC_TRY_RUN([
libreplace_cv_HAVE_IFACE_IFREQ=yes,libreplace_cv_HAVE_IFACE_IFREQ=no,libreplace_cv_HAVE_IFACE_IFREQ=cross)])
if test x"$libreplace_cv_HAVE_IFACE_IFREQ" = x"yes"; then
iface=yes;AC_DEFINE(HAVE_IFACE_IFREQ,1,[Whether iface ifreq is available])
+ old_LIBS="$old_LIBS $LIBS"
fi
fi