From 45b3aa7ff230a1361f4479dcdc7dd4a26d5446c1 Mon Sep 17 00:00:00 2001 From: minfrin Date: Mon, 24 Jun 2019 00:04:54 +0000 Subject: Revert r1833421 et al: Remove hard linking of all crypto libraries to core APR. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1861960 13f79535-47bb-0310-9956-ffa450edef68 --- build/crypto.m4 | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/build/crypto.m4 b/build/crypto.m4 index 08257ade7..64150b7ec 100644 --- a/build/crypto.m4 +++ b/build/crypto.m4 @@ -159,11 +159,6 @@ AC_DEFUN([APU_CHECK_CRYPTO_OPENSSL], [ 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 @@ AC_DEFUN([APU_CHECK_CRYPTO_NSS], [ 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 @@ AC_DEFUN([APU_CHECK_CRYPTO_COMMONCRYPTO], [ 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 -- cgit v1.2.1