projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fe818c
)
Check for OpenSSL only if selected.
author
Martin Johansson
<martin@fatbob.nu>
Wed, 30 Mar 2011 19:04:38 +0000
(21:04 +0200)
committer
Martin Johansson
<martin@fatbob.nu>
Wed, 30 Mar 2011 19:04:38 +0000
(21:04 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 3712f2eb3ecf04d681cfbb30a2e000510c71b964..560025a45ae224027aa51aa9e38972863ce97404 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-49,9
+49,11
@@
AS_IF([test "x$with_openssl" == xno], [
AC_CHECK_HEADERS([polarssl/ssl.h])
AC_CHECK_LIB([polarssl], [ssl_init])
])
-AC_CHECK_HEADERS([openssl/ssl.h])
-AC_CHECK_LIB([ssl], [SSL_library_init])
-AC_CHECK_LIB([crypto], [BN_init])
+AS_IF([test "x$with_openssl" != xno], [
+ AC_CHECK_HEADERS([openssl/ssl.h])
+ AC_CHECK_LIB([ssl], [SSL_library_init])
+ AC_CHECK_LIB([crypto], [BN_init])
+])
# Checks for header files.
AC_FUNC_ALLOCA