summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-13 14:53:34 +0100
committerMichael Adam <obnox@samba.org>2008-02-13 15:11:55 +0100
commitadcbc2439cb33ca1ebaa4fdaf6e8c49af67a1d5a (patch)
tree171f70133d2a2948a6f0f826b3293f699615fdfd
parent8a8c71e08e1cabb796150c4b25bce22264a6cdb1 (diff)
downloadsamba-adcbc2439cb33ca1ebaa4fdaf6e8c49af67a1d5a.tar.gz
samba-adcbc2439cb33ca1ebaa4fdaf6e8c49af67a1d5a.tar.bz2
samba-adcbc2439cb33ca1ebaa4fdaf6e8c49af67a1d5a.zip
Remove --enable-libwbclient-shared , use --with-static-libs=libwbclient instead.
Use the more general mechanism. The enable_developer-check is preserved, of course. Michael (This used to be commit 4321d5aba7ec808aee473c1123027f14bfa19f19)
-rw-r--r--source3/configure.in12
1 files changed, 5 insertions, 7 deletions
diff --git a/source3/configure.in b/source3/configure.in
index a22979e104..9b3f5b9e3a 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -6272,13 +6272,11 @@ if test x"$HAVE_WINBIND" = x"no"; then
WINBIND_WINS_NSS=""
fi
-BUILD_LIBWBCLIENT_SHARED=yes
-
-AC_ARG_ENABLE(libwbclient-shared,
-[AS_HELP_STRING([--enable-libwbclient-shared], [Build libwbclient as shared object (default=yes, \"no\" only for --enable-developer)])],
- [if eval "test x$enable_developer = xyes -a x$enable_libwbclient_shared = xno" ; then
- BUILD_LIBWBCLIENT_SHARED=no
- fi])
+if test x"$enable_developer" = x"yes" -a x"$LINK_LIBWBCLIENT" = x"STATIC" ; then
+ BUILD_LIBWBCLIENT_SHARED=no
+else
+ BUILD_LIBWBCLIENT_SHARED=yes
+fi
if test $BLDSHARED = true -a x"$HAVE_WINBIND" = x"yes" -a x"$BUILD_LIBWBCLIENT_SHARED" = x"yes"; then
NSS_MODULES="${WINBIND_NSS} ${WINBIND_WINS_NSS}"