Changeset 26707


Ignore:
Timestamp:
01/13/13 14:49:59 (8 years ago)
Author:
davidb
Message:

Minor adjustment to JDK test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/packages/javagdbm/configure.in

    r26705 r26707  
    7373AC_MSG_CHECKING([for the JDK])
    7474if test "z$JAVA_HOME" != z &&
    75    test -d $JAVA_HOME &&
    76    (test -d $JAVA_HOME/include || test -d $JAVA_HOME/../Headers)
     75   test -d $JAVA_HOME &&
     76  (test -d $JAVA_HOME/bin)
     77# The following used to be the test, but failed on newer versions of MacOS
     78# Cut back to something simpler, and rely on the later tests for JNIINC to confirm
     79# files like 'jni.h' can be found
     80#   test -d $JAVA_HOME &&
     81#   (test -d $JAVA_HOME/include || test -d $JAVA_HOME/../Headers)
    7782then
    7883    AC_SUBST(JAVA_HOME)
Note: See TracChangeset for help on using the changeset viewer.