summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Habenicht2007-10-03 18:12:48 +0200
committerJörg Habenicht2007-10-03 18:12:48 +0200
commit8911376d59cb5f0c4788b11a27de11048ecce158 (patch)
treec8e9056d9be16b44312c37a573da3560b37b7a60
parentadded: autoconf environment (diff)
downloadlcr-8911376d59cb5f0c4788b11a27de11048ecce158.tar.gz
lcr-8911376d59cb5f0c4788b11a27de11048ecce158.tar.xz
lcr-8911376d59cb5f0c4788b11a27de11048ecce158.zip
removed: --with-crypto
added: --with-ssl
-rw-r--r--configure.ac14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 7249ad5..18031b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,23 +71,23 @@ AC_ARG_WITH([asterisk],
AM_CONDITIONAL(ENABLE_ASTERISK_CHANNEL_DRIVER, test "x$with_asterisk_channel_driver" == "xyes" )
# check for crypto
-AC_ARG_WITH([crypto],
- [AS_HELP_STRING([--with-crypto],
- [compile with lib Crypto support @<:@default=check@:>@])
+AC_ARG_WITH([ssl],
+ [AS_HELP_STRING([--with-ssl],
+ [compile with ssl support (libcrypto) @<:@default=check@:>@])
],
[],
- [with_crypto=check])
+ [with_ssl=check])
LIBCRYPTO=
-AS_IF([test "x$with_crypto" != xno],
+AS_IF([test "x$with_ssl" != xno],
[AC_CHECK_HEADERS([openssl/rsa.h])
AC_CHECK_LIB([crypto], [main],
[AC_SUBST([LIBCRYPTO], ["-lcrypto"])
AC_DEFINE([HAVE_LIBCRYPTO], [1],
[Define if you have libcrypto])
],
- [if test "x$with_crypto" != xcheck ; then
+ [if test "x$with_ssl" != xcheck ; then
AC_MSG_FAILURE(
- [--with-crypto was given, but test for lib Crypto failed])
+ [--with-ssl was given, but test for libcrypto failed])
fi
],
-lcrypto