summaryrefslogtreecommitdiff
path: root/source/configure.in
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-25 17:42:12 +0100
committerMichael Adam <obnox@samba.org>2008-02-26 13:56:12 +0100
commit622667c0790c0092bfceced8dc6fb05e781ac5e7 (patch)
tree4bf2a28132755531360c85bfd060c03c09882830 /source/configure.in
parent7b98620ef16c6969fd21dd9c157aedd4adb117a3 (diff)
downloadsamba-622667c0790c0092bfceced8dc6fb05e781ac5e7.tar.gz
configure: put swat-part of config into m4-include file of its own.
Michael
Diffstat (limited to 'source/configure.in')
-rw-r--r--source/configure.in17
1 files changed, 1 insertions, 16 deletions
diff --git a/source/configure.in b/source/configure.in
index 1c326a8ea23..4fadfd7ae03 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -145,22 +145,7 @@ CFLAGS="${CFLAGS} -D_SAMBA_BUILD_=3"
m4_include(lib/socket_wrapper/config.m4)
m4_include(lib/nss_wrapper/config.m4)
-SWAT_SBIN_TARGETS='bin/swat$(EXEEXT)'
-SWAT_INSTALL_TARGETS=installswat
-
-AC_ARG_ENABLE(swat,
-[AS_HELP_STRING([--enable-swat], [Build the SWAT tool (default=yes)])],
-[
- case "$enable_swat" in
- no)
- SWAT_SBIN_TARGETS=''
- SWAT_INSTALL_TARGETS=''
- ;;
- esac
-])
-
-AC_SUBST(SWAT_SBIN_TARGETS)
-AC_SUBST(SWAT_INSTALL_TARGETS)
+m4_include(m4/swat.m4)
# Probe the gcc version for extra CFLAGS. We always stash these in
# DEVELOPER_CFLAGS, so that you can turn them on and off with a simple