From 14a7f562d6915142b4f870859881725b217a7ef9 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Wed, 6 Nov 2019 22:50:09 +0000 Subject: apr_crypto_commoncrypto: Remove stray reference to -lcrypto that prevented commoncrypto being enabled. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1869486 13f79535-47bb-0310-9956-ffa450edef68 --- build/crypto.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/crypto.m4 b/build/crypto.m4 index 64150b7ec..22859dfd7 100644 --- a/build/crypto.m4 +++ b/build/crypto.m4 @@ -251,7 +251,7 @@ AC_DEFUN([APU_CHECK_CRYPTO_COMMONCRYPTO], [ [ if test "$withval" = "yes"; then AC_CHECK_HEADERS(CommonCrypto/CommonKeyDerivation.h, [commoncrypto_have_headers=1]) - AC_CHECK_LIB(System, CCKeyDerivationPBKDF, AC_CHECK_LIB(System, CCCryptorCreate, [commoncrypto_have_libs=1],,-lcrypto)) + AC_CHECK_LIB(System, CCKeyDerivationPBKDF, AC_CHECK_LIB(System, CCCryptorCreate, [commoncrypto_have_libs=1])) if test "$commoncrypto_have_headers" != "0" && test "$commoncrypto_have_libs" != "0"; then apu_have_commoncrypto=1 fi @@ -267,7 +267,7 @@ AC_DEFUN([APU_CHECK_CRYPTO_COMMONCRYPTO], [ AC_MSG_NOTICE(checking for commoncrypto in $withval) AC_CHECK_HEADERS(CommonCrypto/CommonKeyDerivation.h, [commoncrypto_have_headers=1]) - AC_CHECK_LIB(System, CCKeyDerivationPBKDF, AC_CHECK_LIB(System, CCCryptorCreate, [commoncrypto_have_libs=1],,-lcrypto)) + AC_CHECK_LIB(System, CCKeyDerivationPBKDF, AC_CHECK_LIB(System, CCCryptorCreate, [commoncrypto_have_libs=1])) if test "$commoncrypto_have_headers" != "0" && test "$commoncrypto_have_libs" != "0"; then apu_have_commoncrypto=1 APR_ADDTO(LDFLAGS, [-L$withval/lib]) -- cgit v1.2.1