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/configure.ac

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