diff options
author | Paul Green <paulg@samba.org> | 2004-04-13 12:28:38 +0000 |
---|---|---|
committer | Paul Green <paulg@samba.org> | 2004-04-13 12:28:38 +0000 |
commit | dc88856a48c20e5278348dcde36a5edf354bd062 (patch) | |
tree | 9315c7cd5e317e81e45f67312230e9aa5a5e9efa /source | |
parent | bd52df9090db1d4ccaf6fc1642670e613ab681cf (diff) | |
download | samba-dc88856a48c20e5278348dcde36a5edf354bd062.tar.gz |
r192: Fix configure.in to only use $BLDSHARED to select whether to build static or shared libraries.
Diffstat (limited to 'source')
-rw-r--r-- | source/configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/configure.in b/source/configure.in index 3a6269145d7..0367b5f8d07 100644 --- a/source/configure.in +++ b/source/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 |