summaryrefslogtreecommitdiffstats
path: root/net-libs/opal/files/opal-3.6.4-jdkroot.patch
blob: 480a0eefb1623997d84fb532bcf75c0d8aa312e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: opal.m4
===================================================================
--- opal.m4	(revision 22933)
+++ opal.m4	(working copy)
@@ -996,6 +996,10 @@
           AC_CHECK_HEADERS([jni.h], [opal_java=yes])
 
           if test "x$opal_java" = "xno" ; then
+            if test "x${JDK_ROOT}" = "x" ; then
+              JDK_ROOT=${JDK_HOME}
+            fi
+
             if test "x${JDK_ROOT}" != "x" ; then
               AC_CHECK_FILE([${JDK_ROOT}/include/jni.h], 
                             [