- Timestamp:
- 2023-03-02T20:25:57+13:00 (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/indexers/mg/configure.in
r37384 r37389 130 130 JNILDFLAGS="-shared" 131 131 132 # Boolean operators with if test: https://www.shell-tips.com/bash/if-statement/#gsc.tab=0 133 # Shell regex to get number from sentence: https://linuxconfig.org/how-to-extract-number-from-a-string-using-bash-example 132 134 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 133 135 AC_MSG_RESULT(Darwin) 134 136 JNIINC="-I\$(JAVA_HOME)/include/darwin -I\$(JAVA_HOME)/include " 135 137 JNISUFFIX="jnilib" 136 JNILDFLAGS="-dynamiclib -fno-common -single_module -framework JavaNativeFoundation" 138 knownMinXcodeVersionForNewJavaFramework=2395 139 xcodeVersion=`(xcode-select --version) 2> /dev/null` 140 if test "$?" -eq 127 || test "${xcodeVersion//[!0-9]/}" -lt $knownMinXcodeVersionForNewJavaFramework; then 141 JNILDFLAGS="-dynamiclib -fno-common -single_module -framework JavaVM" 142 else 143 JNILDFLAGS="-dynamiclib -fno-common -single_module -framework JavaNativeFoundation" 144 fi 137 145 fi 138 146 if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
Note:
See TracChangeset
for help on using the changeset viewer.