Ignore:
Timestamp:
2009-12-16T14:11:07+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's build.xml will need to explicitly set ENABLE_JNI to compile mg and mgpp with jni.

File:
1 edited

Legend:

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

    r21330 r21366  
    8181AC_SUBST(USE_APACHE_HTTPD)
    8282
     83dnl
     84dnl Set compilation of JNI parts of MG and MGPP indexers (disabled by default, which is GS2's default behaviour)
     85dnl
     86AC_ARG_ENABLE(jni, [  --enable-jni    Enable JNI compilation], ENABLE_JNI=$enableval, ENABLE_JNI=no)
     87if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
     88  ENABLE_JNI=1
     89  AC_DEFINE(ENABLE_JNI,[])
     90else
     91  ENABLE_JNI=0
     92fi
     93AC_SUBST(ENABLE_JNI)
    8394
    8495dnl
Note: See TracChangeset for help on using the changeset viewer.