1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

r22692: Fix compilation of explicit --without-winbind.

Thanks to Tom Bork for reporting this!

Volker
(This used to be commit 3f956d345143f64f57c02419eb8494c6ed51ce59)
This commit is contained in:
Volker Lendecke 2007-05-05 22:47:07 +00:00 committed by Gerald (Jerry) Carter
parent fb56443427
commit baabe03030

View File

@ -5925,10 +5925,6 @@ AC_SUBST(WINBIND_NSS_EXTRA_OBJS)
AC_SUBST(WINBIND_NSS_EXTRA_LIBS)
AC_SUBST(NSSSONAMEVERSIONSUFFIX)
if test $BLDSHARED = true -a x"$HAVE_WINBIND" = x"yes"; then
NSS_MODULES="${WINBIND_NSS} ${WINBIND_WINS_NSS}"
fi
AC_SUBST(SMB_KRB5_LOCATOR)
# Check the setting of --with-winbind
@ -5963,6 +5959,10 @@ if test x"$HAVE_WINBIND" = x"no"; then
WINBIND_WINS_NSS=""
fi
if test $BLDSHARED = true -a x"$HAVE_WINBIND" = x"yes"; then
NSS_MODULES="${WINBIND_NSS} ${WINBIND_WINS_NSS}"
fi
if test x"$HAVE_WINBIND" = x"yes"; then
AC_MSG_RESULT(yes)
AC_DEFINE(WITH_WINBIND,1,[Whether to build winbind])