Ignore:
Timestamp:
2010-01-19T16:15:18+13:00 (14 years ago)
Author:
mdewsnip
Message:

Added --disable-lucene option to configure scripts, and make Lucene enabled by default. ENABLE_LUCENE is defined for use in the C++ code and Makefiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gs2-core/runtime-src/configure.ac

    r21519 r21534  
    5656AC_SUBST(COMPAT32BITFLAGS)
    5757
     58# Option: Lucene support (enabled by default)
     59AC_ARG_ENABLE([lucene], [AS_HELP_STRING([--disable-lucene], [Disable Lucene support])], [], [enable_lucene=yes])
     60if test "x$enable_lucene" != xno; then
     61  AC_DEFINE(ENABLE_LUCENE, 1, [Lucene support])
     62fi
     63AM_CONDITIONAL(ENABLE_LUCENE, test "x$enable_lucene" != xno)
     64
    5865# Option: SQLite support (enabled by default)
    5966AC_ARG_ENABLE([sqlite], [AS_HELP_STRING([--disable-sqlite], [Disable SQLite support])], [], [enable_sqlite=yes])
Note: See TracChangeset for help on using the changeset viewer.