Ignore:
Timestamp:
2009-12-16T14:09:53+13:00 (14 years ago)
Author:
ak19
Message:

New configuration and compilation flag ENABLE_JNI added which will be disabled by default for GS2 since in general GS doesn't need mg and mgpp compiled up with jni. GS3

File:
1 edited

Legend:

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

    r21328 r21364  
    99AC_DEFINE_UNQUOTED(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD)
    1010AC_SUBST(ENABLE_ACCENTFOLD)
     11
     12
     13dnl
     14dnl Set compilation of JNI parts of MG and MGPP indexers (disabled by default, which is GS2's default behaviour)
     15dnl
     16AC_ARG_ENABLE(jni, [  --enable-jni    Enable JNI compilation], ENABLE_JNI=$enableval, ENABLE_JNI=no)
     17if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
     18  ENABLE_JNI=1
     19  AC_DEFINE(ENABLE_JNI,[])
     20else
     21  ENABLE_JNI=0
     22fi
     23AC_SUBST(ENABLE_JNI)
    1124
    1225
Note: See TracChangeset for help on using the changeset viewer.