summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/check_path.m4
diff options
context:
space:
mode:
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,