Skip to content

Commit

Permalink
Adds darwin headers directory with Darwin JDK
Browse files Browse the repository at this point in the history
(cherry picked from commit open-mpi/ompi@5e77bde)
  • Loading branch information
gpichot authored and Nathaniel Graham committed Sep 2, 2016
1 parent 82a7b8d commit e3c8f6d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/opal_setup_java.m4
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ AC_DEFUN([OPAL_SETUP_JAVA],[
# too. Ugh.
AS_IF([test -d "$with_jdk_headers/solaris"],
[OPAL_JDK_CPPFLAGS="$OPAL_JDK_CPPFLAGS -I$with_jdk_headers/solaris"])
# Darwin JDK also require -I<blah>/darwin.
# See if that's there, and if so, add a -I for that,
# too. Ugh.
AS_IF([test -d "$with_jdk_headers/darwin"],
[OPAL_JDK_CPPFLAGS="$OPAL_JDK_CPPFLAGS -I$with_jdk_headers/darwin"])

CPPFLAGS="$CPPFLAGS $OPAL_JDK_CPPFLAGS"])
AC_CHECK_HEADER([jni.h], [],
Expand Down

0 comments on commit e3c8f6d

Please sign in to comment.