summaryrefslogtreecommitdiff
path: root/source3/m4/swat.m4
blob: 2fdd82eda2fa1b2dbeb9c41f27bc0c34ecd61901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
dnl
dnl Samba3 build environment SWAT configuration
dnl
dnl Copyright (C) Michael Adam 2008
dnl
dnl Released under the GNU General Public License
dnl http://www.gnu.org/licenses/
dnl


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)