summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/check_path.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-02 11:31:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:19 -0500
commitf74ea959fe88e752b876791d2a3b998a88bd9800 (patch)
treecb03fefd6e4e3c76243f70f9ebd632c936dbe960 /source4/build/smb_build/check_path.m4
parentacc9f59c7f3bdaa5be20f7c46e9e1a9eaa21192a (diff)
downloadsamba-f74ea959fe88e752b876791d2a3b998a88bd9800.tar.gz
samba-f74ea959fe88e752b876791d2a3b998a88bd9800.tar.bz2
samba-f74ea959fe88e752b876791d2a3b998a88bd9800.zip
r3477: add '--with-disable-ext-lib=LIB' option to be able to disable
the usage of external libraries. (works currently only with the pkg-config detected libs) metze (This used to be commit 2640f2f57a4d56e07d946d7bb48d2a0ea110d06e)
Diffstat (limited to 'source4/build/smb_build/check_path.m4')
-rw-r--r--source4/build/smb_build/check_path.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/build/smb_build/check_path.m4 b/source4/build/smb_build/check_path.m4
index 37c30f6f32..ca9670f0e0 100644
--- a/source4/build/smb_build/check_path.m4
+++ b/source4/build/smb_build/check_path.m4
@@ -155,6 +155,15 @@ AC_ARG_ENABLE(experimental, [ --enable-experimental Turn on experimental featur
fi])
+dnl disable these external libs
+AC_ARG_WITH(disable-ext-lib,
+[ --with-disable-ext-lib=LIB Comma-seperated list of external libraries],
+[ if test $withval; then
+ for i in `echo $withval | sed -e's/,/ /g'`
+ do
+ eval SMB_EXT_LIB_$i=NO
+ done
+fi ])
dnl exclude these modules
AC_ARG_WITH(exclude-modules,