Changeset 26707

Show
Ignore:
Timestamp:
13.01.2013 14:49:59 (6 years ago)
Author:
davidb
Message:

Minor adjustment to JDK test

Files:
1 modified

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)