diff options
author | Alexander Shorin <kxepal@apache.org> | 2014-05-02 02:23:17 +0400 |
---|---|---|
committer | Alexander Shorin <kxepal@apache.org> | 2014-05-05 20:22:04 +0400 |
commit | 37af7619c745438984367bf7c0f561ead82821a1 (patch) | |
tree | 9598c5a8f36d84a139dd65fddcddc8d94cffbedf | |
parent | ce2a9fc19c066c7f1c9aeea937497c9ca246a23c (diff) | |
download | couchdb-37af7619c745438984367bf7c0f561ead82821a1.tar.gz |
Fix setting autoconf flags for using nifs
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index b1c005db9..103f02999 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 "\ |