Ignore:
Timestamp:
2009-12-16T19:05:08+13:00 (14 years ago)
Author:
ak19
Message:

ENABLE_JNI switch added in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gs2build/configure.in

    r21369 r21371  
    7272AC_DEFINE(USE_SQLITE, $USE_SQLITE)
    7373AC_SUBST(USE_SQLITE)
     74
     75dnl
     76dnl Set compilation of JNI parts of MG and MGPP indexers (disabled by default, which is GS2's default behaviour)
     77dnl
     78AC_ARG_ENABLE(jni, [  --enable-jni    Enable JNI compilation], ENABLE_JNI=$enableval, ENABLE_JNI=no)
     79if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
     80  ENABLE_JNI=1
     81  AC_DEFINE(ENABLE_JNI,[])
     82else
     83  ENABLE_JNI=0
     84fi
     85AC_SUBST(ENABLE_JNI)
    7486
    7587dnl
Note: See TracChangeset for help on using the changeset viewer.