diff options
author | Graham Leggett <minfrin@apache.org> | 2019-11-06 22:50:09 +0000 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2019-11-06 22:50:09 +0000 |
commit | 14a7f562d6915142b4f870859881725b217a7ef9 (patch) | |
tree | 45edcff2bae69ee3d61d7dad69b2953b350baafc /build | |
parent | d7817b5c0a2eb8c221829dc5af273e7b556fbc0f (diff) | |
download | apr-14a7f562d6915142b4f870859881725b217a7ef9.tar.gz |
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
Diffstat (limited to 'build')
-rw-r--r-- | build/crypto.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
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]) |