X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=configure.ac;h=18031b0480d0e5b251af73002bbde131b83ba765;hp=7249ad5fae030f264650800ac1aec3335a392931;hb=8911376d59cb5f0c4788b11a27de11048ecce158;hpb=8bddb2d979c879c2081d7efe9a048362524dbd14 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