Revert r1833421 et al:

Remove hard linking of all crypto libraries to core APR.


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1861960 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build/crypto.m4 b/build/crypto.m4
index 08257ad..64150b7 100644
--- a/build/crypto.m4
+++ b/build/crypto.m4
@@ -159,11 +159,6 @@
   LIBS="$old_libs"
   CPPFLAGS="$old_cppflags"
   LDFLAGS="$old_ldflags"
-
-  if test "$apu_have_openssl" = "1"; then
-    APR_ADDTO(APRUTIL_EXPORT_LIBS, [$LDADD_crypto_openssl])
-    APR_ADDTO(LIBS, [$LDADD_crypto_openssl])
-  fi
 ])
 
 AC_DEFUN([APU_CHECK_CRYPTO_NSS], [
@@ -240,11 +235,6 @@
   LIBS="$old_libs"
   CPPFLAGS="$old_cppflags"
   LDFLAGS="$old_ldflags"
-
-  if test "$apu_have_nss" = "1"; then
-    APR_ADDTO(APRUTIL_EXPORT_LIBS, [$LDADD_crypto_nss])
-    APR_ADDTO(LIBS, [$LDADD_crypto_nss])
-  fi
 ])
 
 AC_DEFUN([APU_CHECK_CRYPTO_COMMONCRYPTO], [
@@ -301,11 +291,6 @@
   LIBS="$old_libs"
   CPPFLAGS="$old_cppflags"
   LDFLAGS="$old_ldflags"
-
-  if test "$apu_have_commoncrypto" = "1"; then
-    APR_ADDTO(APRUTIL_EXPORT_LIBS, [$LDADD_crypto_commoncrypto])
-    APR_ADDTO(LIBS, [$LDADD_crypto_commoncrypto])
-  fi
 ])
 
 dnl