Ignore:
Timestamp:
2010-01-12T16:25:17+13:00 (14 years ago)
Author:
ak19
Message:

Configure files updated to correctly set all the variables that can be ENABLED/DISABLED.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/indexers/configure.ac

    r21364 r21446  
    66dnl http://www.gnu.org/software/hello/manual/autoconf/Initializing-configure.html
    77AC_INIT()
    8 AC_ARG_ENABLE(accentfolding, [  --disable-accentfolding    Disable Accent Folding support], ENABLE_ACCENTFOLD=0, ENABLE_ACCENTFOLD=1)
    9 AC_DEFINE_UNQUOTED(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD)
     8AC_ARG_ENABLE(accentfold, [  --disable-accentfold    Disable Accent Folding for MGPP], ENABLE_ACCENTFOLD=$enableval, ENABLE_ACCENTFOLD=yes)
     9if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
     10  ENABLE_ACCENTFOLD=1
     11  AC_DEFINE(ENABLE_ACCENTFOLD,[])
     12else
     13  ENABLE_ACCENTFOLD=0
     14fi
    1015AC_SUBST(ENABLE_ACCENTFOLD)
    1116
Note: See TracChangeset for help on using the changeset viewer.