From 1803e9cc0f1123b6dc8004a39b4635ac7ed2a983 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 8 Jan 2002 04:44:15 +0000 Subject: - fixed my breakage of CPPFLAGS - allow winbindd and wbinfo to build without shared libraries (This used to be commit d5db2518be8458f24f66eaa17434504b994ebb9a) --- source3/configure.in | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 2340a1129c..32e4836e9f 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2538,25 +2538,25 @@ fi # Display test results -if test x"$HAVE_WINBIND" = x"yes" && test x"$BLDSHARED" = x"true"; then +WINBIND_TARGETS="" +WINBIND_STARGETS="" +WINBIND_LTARGETS="" +WINBIND_PAM_PROGS="" + +if test x"$HAVE_WINBIND" = x"yes"; then AC_MSG_RESULT(yes) WINBIND_TARGETS="bin/wbinfo" WINBIND_STARGETS="bin/winbindd" - WINBIND_LTARGETS="nsswitch/libnss_winbind.so" - case "$with_pam" in - yes) + if test x"$BLDSHARED" = x"true"; then + WINBIND_LTARGETS="nsswitch/libnss_winbind.so" + if test x"$with_pam" = x"yes"; then WINBIND_PAM_TARGETS="nsswitch/pam_winbind.so" - ;; - esac + fi + fi else AC_MSG_RESULT(no$winbind_no_reason) - - WINBIND_TARGETS="" - WINBIND_STARGETS="" - WINBIND_LTARGETS="" - WINBIND_PAM_PROGS="" fi # Substitution time! -- cgit