diff options
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source3/configure.in b/source3/configure.in index 0d0fdb1394..6997106ffb 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -354,21 +354,23 @@ AC_LIBREPLACE_CC_CHECKS m4_include(lib/socket_wrapper/config.m4) +SWAT_SBIN_TARGETS='bin/swat$(EXEEXT)' +SWAT_INSTALL_TARGETS=installswat AC_ARG_ENABLE(swat, [ --enable-swat Build the SWAT tool (default=yes)], [ case "$enable_swat" in - no) ;; - *) - SWAT_SBIN_TARGETS='bin/swat$(EXEEXT)' - SWAT_INSTALL_TARGETS=installswat + no) + SWAT_SBIN_TARGETS='' + SWAT_INSTALL_TARGETS='' ;; esac - AC_SUBST(SWAT_SBIN_TARGETS) - AC_SUBST(SWAT_INSTALL_TARGETS) ]) +AC_SUBST(SWAT_SBIN_TARGETS) +AC_SUBST(SWAT_INSTALL_TARGETS) + ################################################# # set prefix for 'make test' selftest_prefix="./" |