summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-06-03 11:22:25 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-06-03 11:24:02 +0200
commit14b5c395cc3a4e9fcc0af456a5176f9a8a7cc897 (patch)
treea70b32f9dea230602345dd766aa87306463d6378
parent8aadadef4d74937ee05e3d61c646ae148d3fad40 (diff)
downloadlasso-14b5c395cc3a4e9fcc0af456a5176f9a8a7cc897.tar.gz
lasso-14b5c395cc3a4e9fcc0af456a5176f9a8a7cc897.tar.xz
lasso-14b5c395cc3a4e9fcc0af456a5176f9a8a7cc897.zip
Change the glob expression to match darwin $host_os
Also use the $DARWIN flag to control the setting of JNI_EXTRA_LDFLAGS.
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 6db53848..dd04eb89 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,7 +74,7 @@ case "${host}" in
;;
esac
;;
- *-darwin*)
+ *darwin*)
DARWIN=1
;;
esac
@@ -323,10 +323,9 @@ else
fi
dnl Support JNI under MacOsX
-case $host_os in
-*-darwin*)
+if [ "$DARWIN" = 1 ]; then
JNI_EXTRA_LDFLAGS="-shrext .jnilib" ;;
-esac
+fi
dnl Conditional java sub dir test.
AM_CONDITIONAL([JAVA_ENABLED],[test "x$enable_java" = "xyes"])