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/mgpp/configure.in

    r20845 r21446  
    4040dnl disable compilation of accent folding stuff for mgpp (and one day mg)
    4141dnl
    42 AC_ARG_ENABLE(accentfold, [  --disable-accentfold          Disable Accent Folding for MGPP], ENABLE_ACCENTFOLD=0, ENABLE_ACCENTFOLD=1)
    43 AC_DEFINE(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD)
     42AC_ARG_ENABLE(accentfold, [  --disable-accentfold    Disable Accent Folding for MGPP], ENABLE_ACCENTFOLD=$enableval, ENABLE_ACCENTFOLD=yes)
     43if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
     44  ENABLE_ACCENTFOLD=1
     45  AC_DEFINE(ENABLE_ACCENTFOLD,[])
     46else
     47  ENABLE_ACCENTFOLD=0
     48fi
    4449AC_SUBST(ENABLE_ACCENTFOLD)
    4550
Note: See TracChangeset for help on using the changeset viewer.