couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r979267 - in /couchdb/trunk: THANKS configure.ac
Date Mon, 26 Jul 2010 13:04:37 GMT
Author: jan
Date: Mon Jul 26 13:04:37 2010
New Revision: 979267

URL: http://svn.apache.org/viewvc?rev=979267&view=rev
Log:
Check if Erlang has been compiled with crypto support at ./configure
time.

Patch by Kev Jackson.

Closes COUCHDB-106 and COUCHDB-131.

Modified:
    couchdb/trunk/THANKS
    couchdb/trunk/configure.ac

Modified: couchdb/trunk/THANKS
URL: http://svn.apache.org/viewvc/couchdb/trunk/THANKS?rev=979267&r1=979266&r2=979267&view=diff
==============================================================================
--- couchdb/trunk/THANKS (original)
+++ couchdb/trunk/THANKS Mon Jul 26 13:04:37 2010
@@ -63,5 +63,6 @@ suggesting improvements or submitting ch
  * Paul Bonser <pib@paulbonser.com>
  * Caleb Land <caleb.land@gmail.com>
  * Juhani Ränkimies <juhani@juranki.com>
+ * Kev Jackson <foamdino@gmail.com>
 
 For a list of authors see the `AUTHORS` file.

Modified: couchdb/trunk/configure.ac
URL: http://svn.apache.org/viewvc/couchdb/trunk/configure.ac?rev=979267&r1=979266&r2=979267&view=diff
==============================================================================
--- couchdb/trunk/configure.ac (original)
+++ couchdb/trunk/configure.ac Mon Jul 26 13:04:37 2010
@@ -259,6 +259,12 @@ if test `echo $version | ${AWK} "{print 
     fi
 fi
 
+has_crypto=`${ERL} -eval "case application:load(crypto) of ok -> ok; _ -> exit(no_crypto)
end." -noshell -s init stop`
+
+if test -n "$has_crypto"; then
+    AC_MSG_ERROR([Could not find the Erlang crypto library. Has Erlang been compiled with
OpenSSL support?])
+fi
+
 AC_PATH_PROG([ERLC], [erlc])
 
 if test x${ERLC} = x; then



Mime
View raw message