mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
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)
This commit is contained in:
parent
0a80f6bfb4
commit
aa42e5ecac
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user