mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
configure: put swat-part of config into m4-include file of its own.
Michael
(This used to be commit 622667c079
)
This commit is contained in:
parent
9f5c463415
commit
df3939da94
@ -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
|
||||
|
27
source3/m4/swat.m4
Normal file
27
source3/m4/swat.m4
Normal file
@ -0,0 +1,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)
|
||||
|
Loading…
Reference in New Issue
Block a user