Changeset 767 for trunk/zoo-project/zoo-kernel/configure.ac
- Timestamp:
- Jun 9, 2016, 2:21:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/configure.ac
r753 r767 587 587 then 588 588 JAVA_LDFLAGS="-framework JavaVM" 589 JAVA_CPPFLAGS="-I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/" 589 for i in `ls /Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/`; do 590 JAVA_CPPFLAGS="-I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/$i/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/" 591 done 590 592 else 591 593 if test -d "$JDKHOME/jre/lib/i386"; … … 594 596 JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux" 595 597 else 596 JAVA_LDFLAGS="-L$JDKHOME/jre/lib/amd64/server/ -ljvm -lpthread" 597 JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux" 598 if test -d "$JDKHOME/jre/lib/amd64"; then 599 JAVA_LDFLAGS="-L$JDKHOME/jre/lib/amd64/server/ -ljvm -lpthread" 600 JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux" 601 else 602 JAVA_LDFLAGS="-L$JDKHOME/jre/lib/server/ -ljvm -lpthread" 603 JAVA_CPPFLAGS="-I$JDKHOME/include/ -I$JDKHOME/include/darwin" 604 fi 598 605 fi 599 606 fi 600 607 608 AC_LANG([C++]) 609 echo $JAVA_CPPFLAGS 601 610 # Check headers file (second time we check that in fact) 602 611 CPPFLAGS_SAVE="$CPPFLAGS" … … 604 613 AC_CHECK_HEADERS([jni.h], 605 614 [], [AC_MSG_ERROR([could not find jni.h file])]) 606 615 CPPFLAGS="$CPPFLAGS_SAVE" 607 616 # Ensure we can link against libjava 608 617 LIBS_SAVE="$LIBS"
Note: See TracChangeset
for help on using the changeset viewer.