summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--THANKS1
-rw-r--r--configure.ac6
2 files changed, 7 insertions, 0 deletions
diff --git a/THANKS b/THANKS
index 456a3960..269edc47 100644
--- a/THANKS
+++ b/THANKS
@@ -63,5 +63,6 @@ suggesting improvements or submitting changes. Some of these people are:
* 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.
diff --git a/configure.ac b/configure.ac
index 0c089523..1f0b7cf4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -259,6 +259,12 @@ if test `echo $version | ${AWK} "{print \\$2}"` -eq 6; then
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