summaryrefslogtreecommitdiffstats
path: root/src/configure.in
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>2011-11-29 21:22:21 +0000
committerSam Hartman <hartmans@mit.edu>2011-11-29 21:22:21 +0000
commit8d233a930ae1873fa573be2dd5e07599a59d0300 (patch)
tree99180ec0ca87de81ebf54a6311eab47c2c90cd60 /src/configure.in
parenta2d54ca5d83e83a2c04cfbffa17b620ce31f88af (diff)
downloadkrb5-8d233a930ae1873fa573be2dd5e07599a59d0300.tar.gz
krb5-8d233a930ae1873fa573be2dd5e07599a59d0300.tar.xz
krb5-8d233a930ae1873fa573be2dd5e07599a59d0300.zip
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
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in2
1 files changed, 1 insertions, 1 deletions
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)