From a60f81d1e09fb5effff6a4452327adac63766b74 Mon Sep 17 00:00:00 2001 From: Paul Green Date: Tue, 13 Apr 2004 12:28:38 +0000 Subject: r192: Fix configure.in to only use $BLDSHARED to select whether to build static or shared libraries. (This used to be commit 35d7435caec55765b39508889d77583c4ec4807c) --- source3/configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 3a6269145d..0367b5f8d0 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -4195,7 +4195,7 @@ if test x"$HAVE_WINBIND" = x"yes"; then EXTRA_BIN_PROGS="$EXTRA_BIN_PROGS bin/wbinfo\$(EXEEXT)" EXTRA_SBIN_PROGS="$EXTRA_SBIN_PROGS bin/winbindd\$(EXEEXT)" - if test x"$BLDSHARED" = x"true"; then + if test $BLDSHARED = true; then SHLIB_PROGS="$SHLIB_PROGS $WINBIND_NSS $WINBIND_WINS_NSS" if test x"$with_pam" = x"yes"; then @@ -4287,10 +4287,10 @@ done for i in `echo $default_shared_modules | sed -e's/,/ /g'` do - dnl Fall back to static if dlopen() is not available + dnl Fall back to static if we cannot build shared libraries eval MODULE_DEFAULT_$i=STATIC - if test x"$ac_cv_func_dlopen" = xyes; then + if test $BLDSHARED = true; then eval MODULE_DEFAULT_$i=SHARED fi done -- cgit