configure option for updown firewall scripts

This commit is contained in:
Martin Willi 2008-06-06 08:24:39 +00:00
parent 915e04b2dd
commit 1e9c46f13d
2 changed files with 13 additions and 2 deletions

View File

@ -524,6 +524,17 @@ AC_ARG_ENABLE(
tools=true
)
AC_ARG_ENABLE(
[updown],
AS_HELP_STRING([--disable-updown],[disable installation of firewall scripts. (default is NO).]),
[if test x$enableval = xyes; then
updown=true
else
updown=false
fi],
updown=true
)
AC_ARG_ENABLE(
[padlock],
AS_HELP_STRING([--enable-padlock],[enables VIA Padlock crypto plugin. (default is NO).]),
@ -789,7 +800,7 @@ AM_CONDITIONAL(USE_SELF_TEST, test x$self_test = xtrue)
AM_CONDITIONAL(USE_PLUTO, test x$pluto = xtrue)
AM_CONDITIONAL(USE_CHARON, test x$charon = xtrue)
AM_CONDITIONAL(USE_TOOLS, test x$tools = xtrue)
AM_CONDITIONAL(USE_PLUTO_OR_CHARON, test x$pluto = xtrue -o x$charon = xtrue)
AM_CONDITIONAL(USE_UPDOWN, test x$updown = xtrue)
AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$tools = xtrue)
AM_CONDITIONAL(USE_FILE_CONFIG, test x$pluto = xtrue -o x$stroke = xtrue)

View File

@ -19,7 +19,7 @@ if USE_STROKE
SUBDIRS += stroke
endif
if USE_PLUTO_OR_CHARON
if USE_UPDOWN
SUBDIRS += _updown _updown_espmark
endif