summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-18 14:53:59 +0100
committerStefan Metzmacher <metze@samba.org>2008-03-18 16:34:12 +0100
commitaa42e5ecac597896df1f528e5227457a197c8fd4 (patch)
tree45efc713d55af9725a613842ab623d896ce84f60 /source3
parent0a80f6bfb469557556a33337aa30f6d9c853de44 (diff)
downloadsamba-aa42e5ecac597896df1f528e5227457a197c8fd4.tar.gz
samba-aa42e5ecac597896df1f528e5227457a197c8fd4.tar.bz2
samba-aa42e5ecac597896df1f528e5227457a197c8fd4.zip
libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checks
...instead of using SOCKET_LIBS and NSL_LIBS. metze (cherry picked from commit cef2e8d748756f61c248ad6660e85dd1ac36308a) (This used to be commit 7854ed24a57162fa7569d8f36633f3c156067b0b)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/replace/configure.ac2
-rw-r--r--source3/lib/replace/getifaddrs.m44
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/replace/configure.ac b/source3/lib/replace/configure.ac
index 298f5a67f9..02dc08bf72 100644
--- a/source3/lib/replace/configure.ac
+++ b/source3/lib/replace/configure.ac
@@ -21,7 +21,7 @@ if test "$ac_cv_prog_gcc" = yes; then
CFLAGS="$CFLAGS -Wno-format-y2k"
fi
-LIBS="$SOCKET_LIBS $NSL_LIBS"
+LIBS="${LIBREPLACE_NETWORK_LIBS}"
AC_SUBST(LIBS)
AC_SUBST(LDFLAGS)
diff --git a/source3/lib/replace/getifaddrs.m4 b/source3/lib/replace/getifaddrs.m4
index f4cf4e48a2..927bc677db 100644
--- a/source3/lib/replace/getifaddrs.m4
+++ b/source3/lib/replace/getifaddrs.m4
@@ -34,10 +34,10 @@ fi
##################
# look for a method of finding the list of network interfaces
#
-# This tests need LIBS="$NSL_LIBS $SOCKET_LIBS"
+# This tests need LIBS="${LIBREPLACE_NETWORK_LIBS}"
#
old_LIBS=$LIBS
-LIBS="$NSL_LIBS $SOCKET_LIBS"
+LIBS="${LIBREPLACE_NETWORK_LIBS}"
SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I$libreplacedir"
iface=no;