From 1e9c46f13daced3199953f4d1758c7e03c935083 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 6 Jun 2008 08:24:39 +0000 Subject: [PATCH] configure option for updown firewall scripts --- configure.in | 13 ++++++++++++- src/Makefile.am | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 939e6c4..05d4db4 100644 --- a/configure.in +++ b/configure.in @@ -525,6 +525,17 @@ AC_ARG_ENABLE( ) 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).]), [if test x$enableval = xyes; then @@ -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) diff --git a/src/Makefile.am b/src/Makefile.am index 4beb239..4407491 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,7 +19,7 @@ if USE_STROKE SUBDIRS += stroke endif -if USE_PLUTO_OR_CHARON +if USE_UPDOWN SUBDIRS += _updown _updown_espmark endif -- 2.7.4