From bc5930086d0728c2aefe6611bd40c521eef35eeb Mon Sep 17 00:00:00 2001 From: brenosilva Date: Tue, 14 Aug 2012 21:18:18 +0000 Subject: [PATCH] Add license to standalone/ --- configure.ac | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/configure.ac b/configure.ac index 4abfdb2e..9081fd40 100644 --- a/configure.ac +++ b/configure.ac @@ -162,6 +162,23 @@ if test "$build_apache2_module" -eq 1; then TOPLEVEL_SUBDIRS="$TOPLEVEL_SUBDIRS apache2" fi +AC_ARG_ENABLE(standalone-module, + AS_HELP_STRING([--disable-standalone-module], + [Disable building standalone module.]), +[ + if test "$enableval" != "no"; then + build_standalone_module=1 + else + build_standalone_module=0 + fi +], +[ + build_standalone_module=1 +]) +AM_CONDITIONAL([BUILD_STANDALONE_MODULE], [test "$build_standalone_module" -eq 1]) +if test "$build_standalone_module" -eq 1; then + TOPLEVEL_SUBDIRS="$TOPLEVEL_SUBDIRS standalone" +fi # Extensions AC_ARG_ENABLE(extentions, @@ -662,6 +679,9 @@ fi if test "$build_apache2_module" -ne 0; then AC_CONFIG_FILES([apache2/Makefile]) fi +if test "$build_standalone_module" -ne 0; then +AC_CONFIG_FILES([standalone/Makefile]) +fi if test "$build_extentions" -ne 0; then AC_CONFIG_FILES([ext/Makefile]) fi