- Timestamp:
- 2010-11-29T16:49:14+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/indexers/mgpp/configure.in
r22070 r23356 17 17 AC_SUBST(VERSION) 18 18 19 dnl 20 dnl Disable all Java compilation 21 dnl 22 AC_ARG_ENABLE(java, [ --disable-java Disable Java compilation], ENABLE_JAVA=$enableval, ENABLE_JAVA=yes) 23 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 24 ENABLE_JAVA=1 25 if test "x$JAVA_HOME" != "x" ; then 26 echo "Detected JAVA_HOME is set, however this will not be used during compilation" 27 echo "To control the version of 'javac' and 'java' set environment variables JAVAC" 28 echo "and JAVA respectively" 29 export JAVA_HOME= 30 fi 31 else 32 ENABLE_JAVA=0 33 fi 34 AC_SUBST(ENABLE_JAVA) 19 35 20 36 AC_MSG_CHECKING(to see if architecture is 64-bit) … … 59 75 AC_PROG_MAKE_SET 60 76 AC_PROG_RANLIB 77 if test $ENABLE_JAVA = "1" ; then 78 AC_PROG_JAVA 79 AC_PROG_JAVAC 80 fi 61 81 62 82 dnl Checks for typedefs, structures, and compiler characteristics.
Note:
See TracChangeset
for help on using the changeset viewer.