diff options
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/configure.in b/source3/configure.in index a334a48183..19f0a2e511 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -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]) |