mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checks
...instead of using SOCKET_LIBS and NSL_LIBS.
metze
(cherry picked from commit cef2e8d748
)
This commit is contained in:
parent
2dee62ed12
commit
7854ed24a5
@ -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…
Reference in New Issue
Block a user