Ignore:
Timestamp:
Apr 13, 2011 1:53:34 PM (10 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cf/rp_lang_java.m4

    r2203 r2206  
    3737    if test -r "${d}/include/jni.h" ; then
    3838      JDK=${d}
     39      JAVA_HOME=$JDK
     40      JAVA_INC_DIR=${JDK}/include
     41      JAVA_INC_SPEC="-I${JDK}/include -I${JDK}/include/linux"
     42      break;
     43    fi
     44    if test -r "${d}/Headers/jni.h" ; then
     45      JDK=${d}
     46      JAVA_HOME=$JDK
     47      JAVA_INC_DIR=${JDK}/Headers
     48      JAVA_INC_SPEC="-I${JDK}/Headers -I${JDK}/Headers/macos"
    3949      break;
    4050    fi
    4151  done
    42   JAVA_HOME=$JDK
    43   JAVA_INC_DIR=${JDK}/include
    44   JAVA_INC_SPEC="-I${JDK}/include -I${JDK}/include/linux"
    4552fi
    4653])
Note: See TracChangeset for help on using the changeset viewer.