diff options
author | Moritz Neeb <nt4u@kpvn.de> | 2012-03-26 22:41:35 +0200 |
---|---|---|
committer | Moritz Neeb <nt4u@kpvn.de> | 2012-03-26 22:41:35 +0200 |
commit | c7722b9e19a959fd931967d28b7c64e9b2e9c44e (patch) | |
tree | 82a62716d372f8d691b82be68908ccbd59bff729 | |
parent | c9ec238c3c2a4ca18cb07b9d80d93450c9251028 (diff) |
AC_ARG_ENABLE optional parameters
-rw-r--r-- | configure.ac | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 3e75943e..64147c31 100644 --- a/configure.ac +++ b/configure.ac @@ -85,11 +85,9 @@ AC_SUBST(DBUS_SERVICES_DIR) # Configure options: --disable-fts. ################################################# AC_ARG_ENABLE([fts], - AS_HELP_STRING([--disable-fts], [Build without FTS++ extension])) + AS_HELP_STRING([--disable-fts], [Build without FTS++ extension]), + [enable_fts=$enableval],[enable_fts="yes"]) -if test "x$enable_fts" = "x" ; then - enable_fts=yes -fi AM_CONDITIONAL(HAVE_FTS, test "x$enable_fts" != "xno") AC_CONFIG_FILES([ |