Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
autoconf: fix NEEDS_SSL_WITH_CRYPTO
author
Junio C Hamano
<junkio@cox.net>
Fri, 4 Aug 2006 23:33:18 +0000
(16:33 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 4 Aug 2006 23:33:18 +0000
(16:33 -0700)
NEEDS_SSL_WITH_CRYPTO means you cannot just say "-lcrypto" to
use SHA1 stuff, but need to say "-lcrypto -lssl".
Signed-off-by: Junio C Hamano <junkio@cox.net>
configure.ac
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
34d4a67
)
diff --git
a/configure.ac
b/configure.ac
index 9ce00e95226e059053b17c176aac6c1b732463b3..fea18b69b47b4fbe3e2f4b1fb44d5ea47bb539e1 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-154,8
+154,8
@@
AC_MSG_NOTICE([CHECKS for libraries])
#
# Define NO_OPENSSL environment variable if you do not have OpenSSL.
# Define NEEDS_SSL_WITH_CRYPTO if you need -lcrypto with -lssl (Darwin).
-AC_CHECK_LIB([
ssl
], [SHA1_Init],[],
-[AC_CHECK_LIB([
crypto], [SHA1_INIT
],
+AC_CHECK_LIB([
crypto
], [SHA1_Init],[],
+[AC_CHECK_LIB([
ssl], [SHA1_Init
],
[GIT_CONF_APPEND_LINE(NEEDS_SSL_WITH_CRYPTO=YesPlease)],
[GIT_CONF_APPEND_LINE(NO_OPENSSL=YesPlease)])])
#