From: Sam Hartman Date: Tue, 29 Nov 2011 21:22:21 +0000 (+0000) Subject: AC_CHECK_LIB should put -lcrypto in PKINIT_CRYPTO_IMPL_LIBS not LIBS X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8d233a930ae1873fa573be2dd5e07599a59d0300;p=krb5.git AC_CHECK_LIB should put -lcrypto in PKINIT_CRYPTO_IMPL_LIBS not LIBS for pkinit. A similar problem exists for crypto_impl and is not addressed by this patch. ticket: new Subject: LIBS should not include PKINIT_CRYPTO_IMPL_LIBS tags: pullup target_version: 1.10 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25491 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/configure.in b/src/configure.in index 6aae2f5d6..953d5767d 100644 --- a/src/configure.in +++ b/src/configure.in @@ -202,7 +202,7 @@ AC_MSG_RESULT("pkinit will use \'$withval\'") ], withval=$PKINIT_CRYPTO_IMPL) case "$withval" in builtin|openssl) - AC_CHECK_LIB(crypto, PKCS7_get_signer_info) + AC_CHECK_LIB(crypto, PKCS7_get_signer_info, PKINIT_CRYPTO_IMPL_LIBS=-lcrypto) PKINIT_CRYPTO_IMPL=openssl ;; nss)