couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [24/47] couchdb commit: updated refs/heads/Update-Sidebar-Ui to c173e52
Date Mon, 19 May 2014 16:17:42 GMT
Fix setting autoconf flags for using nifs


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/8c07af24
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/8c07af24
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/8c07af24

Branch: refs/heads/Update-Sidebar-Ui
Commit: 8c07af243e82ea950b8ef27cfa700a4a73f878ab
Parents: 5e63892
Author: Alexander Shorin <kxepal@apache.org>
Authored: Fri May 2 02:23:17 2014 +0400
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Fri May 2 02:23:17 2014 +0400

----------------------------------------------------------------------
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/8c07af24/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index b1c005d..103f029 100644
--- a/configure.ac
+++ b/configure.ac
@@ -438,9 +438,9 @@ otp_release="`\
 AC_SUBST(otp_release)
 
 AM_CONDITIONAL([USE_OTP_NIFS],
-    [test x$otp_release \> xR14B])
+    [can_use_nifs=$(echo $otp_release | grep -E "^(R14B|R15|R16|17)")])
 AM_CONDITIONAL([USE_EJSON_COMPARE_NIF],
-    [test x$otp_release \> xR14B03])
+    [can_use_ejson=$(echo $otp_release | grep -E "^(R14B03|R15|R16|17)")])
 
 has_crypto=`\
     ${ERL} -eval "\


Mime
View raw message