summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-15 15:16:54 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-15 15:16:54 +0200
commit25b08eb2e2645eece1a3fe20de988c9a2f328d36 (patch)
tree28c30e352ba32f86b49eb7444f8297f9cf3ebb8a /source3/configure.in
parentb8e8e9f0a58bf2d8c3f6fb6b29ff5e86f19b7a3a (diff)
downloadsamba-25b08eb2e2645eece1a3fe20de988c9a2f328d36.tar.gz
samba-25b08eb2e2645eece1a3fe20de988c9a2f328d36.tar.bz2
samba-25b08eb2e2645eece1a3fe20de988c9a2f328d36.zip
Add flag for merged build.
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/source3/configure.in b/source3/configure.in
index c26e65f128..8ea7e963ce 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -6198,12 +6198,13 @@ MSG
fi
-esyscmd([test -d ../samba4])
-ifelse(sysval,0,[
-AC_SUBST(MERGED_BUILD)
-MERGED_BUILD=1
-m4_include(samba4.m4)
-],[])
+AC_ARG_ENABLE(merged-build,
+[AS_HELP_STRING([--enable-merged-build], [Build Samba 4 as well])])
+
+if test x$enable_merged_build = xyes; then
+ MERGED_BUILD=1
+ m4_include(samba4.m4)
+fi
dnl Remove -L/usr/lib/? from LDFLAGS and LIBS
LIB_REMOVE_USR_LIB(LDFLAGS)