You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2012/09/23 21:36:59 UTC
svn commit: r1389131 - /apr/apr/trunk/build/crypto.m4
Author: trawick
Date: Sun Sep 23 19:36:58 2012
New Revision: 1389131
URL: http://svn.apache.org/viewvc?rev=1389131&view=rev
Log:
revert broken r1389129 for the time being
Modified:
apr/apr/trunk/build/crypto.m4
Modified: apr/apr/trunk/build/crypto.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/crypto.m4?rev=1389131&r1=1389130&r2=1389131&view=diff
==============================================================================
--- apr/apr/trunk/build/crypto.m4 (original)
+++ apr/apr/trunk/build/crypto.m4 Sun Sep 23 19:36:58 2012
@@ -33,26 +33,11 @@ AC_DEFUN([APU_CHECK_CRYPTO], [
AC_ARG_WITH([crypto], [APR_HELP_STRING([--with-crypto], [enable crypto support])],
[
if test "$withval" = "yes"; then
-
- crypto_library_enabled=0
- for cryptolib in openssl nss; do
- eval v=\$with_$cryptolib
- if test "$v" != "" -a "$v" != "no"; then
- crypto_library_enabled=1
- fi
- done
-
- if test "$crypto_library_enabled" = "0"; then
- AC_MSG_NOTICE(Crypto was requested but no crypto library was found; autodetecting available libraries)
- with_openssl=yes
- with_nss=yes
- fi
-
APU_CHECK_CRYPTO_OPENSSL
APU_CHECK_CRYPTO_NSS
dnl add checks for other varieties of ssl here
if test "$apu_have_crypto" = "0"; then
- AC_ERROR(Crypto was requested but no crypto library was found; specify the location of a crypto library using --with-openssl, --with-nss, etc.)
+ AC_ERROR(Crypto was requested but no crypto library was enabled)
fi
fi
], [