Added an option to the configure script to disable building the scripts.
This commit is contained in:
parent
599d2bcea8
commit
cf00cffef2
|
@ -1,4 +1,9 @@
|
|||
SUBDIRS = src testing scripts
|
||||
SUBDIRS = src testing
|
||||
|
||||
if USE_SCRIPTS
|
||||
SUBDIRS += scripts
|
||||
endif
|
||||
|
||||
EXTRA_DIST = Doxyfile.in CREDITS
|
||||
CLEANFILES = apidoc Doxyfile
|
||||
|
||||
|
|
12
configure.in
12
configure.in
|
@ -638,6 +638,17 @@ AC_ARG_ENABLE(
|
|||
tools=true
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(
|
||||
[scripts],
|
||||
AS_HELP_STRING([--disable-scripts],[disable additional utilities (found in directory scripts). (default is NO).]),
|
||||
[if test x$enableval = xyes; then
|
||||
scripts=true
|
||||
else
|
||||
scripts=false
|
||||
fi],
|
||||
scripts=true
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(
|
||||
[updown],
|
||||
AS_HELP_STRING([--disable-updown],[disable updown firewall script plugin. (default is NO).]),
|
||||
|
@ -1230,6 +1241,7 @@ AM_CONDITIONAL(USE_PLUTO, test x$pluto = xtrue)
|
|||
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
|
||||
AM_CONDITIONAL(USE_CHARON, test x$charon = xtrue)
|
||||
AM_CONDITIONAL(USE_TOOLS, test x$tools = xtrue)
|
||||
AM_CONDITIONAL(USE_SCRIPTS, test x$scripts = xtrue)
|
||||
AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$pluto = xtrue -o x$tools = xtrue)
|
||||
AM_CONDITIONAL(USE_FILE_CONFIG, test x$pluto = xtrue -o x$stroke = xtrue)
|
||||
AM_CONDITIONAL(USE_VSTR, test x$vstr = xtrue)
|
||||
|
|
Loading…
Reference in New Issue