You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by mi...@apache.org on 2019/11/06 22:51:18 UTC

svn commit: r1869487 - in /apr/apr-util/branches/1.7.x: CHANGES build/crypto.m4

Author: minfrin
Date: Wed Nov  6 22:51:18 2019
New Revision: 1869487

URL: http://svn.apache.org/viewvc?rev=1869487&view=rev
Log:
Backport r1869486.
apr_crypto_commoncrypto: Remove stray reference to -lcrypto that
prevented commoncrypto being enabled.

Modified:
    apr/apr-util/branches/1.7.x/CHANGES
    apr/apr-util/branches/1.7.x/build/crypto.m4

Modified: apr/apr-util/branches/1.7.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/CHANGES?rev=1869487&r1=1869486&r2=1869487&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/CHANGES [utf-8] (original)
+++ apr/apr-util/branches/1.7.x/CHANGES [utf-8] Wed Nov  6 22:51:18 2019
@@ -1,6 +1,9 @@
                                                      -*- coding: utf-8 -*-
 Changes with APR-util 1.7.0
 
+  *) apr_crypto_commoncrypto: Remove stray reference to -lcrypto that
+     prevented commoncrypto being enabled. [Graham Leggett]
+
   *) Add --tag=CC to libtool invocations. PR 62640. [Michael Osipov]
 
   *) apr_crypto_openssl: Remove unused link to the ssl library.

Modified: apr/apr-util/branches/1.7.x/build/crypto.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/build/crypto.m4?rev=1869487&r1=1869486&r2=1869487&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/build/crypto.m4 (original)
+++ apr/apr-util/branches/1.7.x/build/crypto.m4 Wed Nov  6 22:51:18 2019
@@ -253,7 +253,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
@@ -269,7 +269,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])