diff options
author | Moritz Neeb <nt4u@kpvn.de> | 2012-03-15 20:18:14 +0100 |
---|---|---|
committer | Moritz Neeb <nt4u@kpvn.de> | 2012-03-15 20:18:14 +0100 |
commit | bd68e4db5b04d1db675e2e45e62e90c17dd1f479 (patch) | |
tree | fd5a55dda5ea93d3cb2ba2c44ad3eea02efa69da | |
parent | ad69337d18d583d51ff81a75f75a5b321a242b6c (diff) | |
download | zeitgeist-bd68e4db5b04d1db675e2e45e62e90c17dd1f479.tar.gz |
first attempt for the flag
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | extensions/Makefile.am | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4a21951b..921caac7 100644 --- a/configure.ac +++ b/configure.ac @@ -80,6 +80,13 @@ fi DBUS_SERVICES_DIR="$services_dir" AC_SUBST(DBUS_SERVICES_DIR) +# Configure options: --enable-fts[=no]. +AC_ARG_ENABLE([fts], + [AS_HELP_STRING([--enable-fts], + [Build with FTS++ extension])], + [fts="$withval"], [fts=no]) +AM_CONDITIONAL(HAVE_FTS, test "x$fts" = "xyes") + AC_CONFIG_FILES([ Makefile src/Makefile @@ -131,6 +138,7 @@ ${PACKAGE}-${VERSION} Install Prefix: ${prefix} Optional dependencies + fts++: ${fts} dee-icu: ${with_dee_icu} EOF diff --git a/extensions/Makefile.am b/extensions/Makefile.am index d5ed32db..060f36b8 100644 --- a/extensions/Makefile.am +++ b/extensions/Makefile.am @@ -1,4 +1,6 @@ +if HAVE_FTS SUBDIRS = fts++ +endif NULL = |