summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-04-23 11:01:30 +0200
committerDan Fandrich <dan@coneharvesters.com>2014-04-23 11:01:30 +0200
commit0204e17bc656e6c59b4010283e67f9251eb12c41 (patch)
treefa0f3f3b49701b8f008f93adeb05e526e323d5a1 /configure.ac
parentf4ec8ffee2a0d4414fb5f5c596ec9b2ea2533140 (diff)
downloadcurl-0204e17bc656e6c59b4010283e67f9251eb12c41.tar.gz
cyassl: Use error-ssl.h when available
Versions since at least 2.9.4 renamed error.h to error-ssl.h, so use whichever one is available.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0874d2e03..e0f7f739c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2003,6 +2003,9 @@ if test "$curl_ssl_msg" = "$init_ssl_msg"; then
dnl cyassl/ctaocrypt/types.h needs SIZEOF_LONG_LONG defined!
AC_CHECK_SIZEOF(long long)
+ dnl Versions since at least 2.9.4 renamed error.h to error-ssl.h
+ AC_CHECK_HEADERS(cyassl/error-ssl.h)
+
LIBS="-lcyassl -lm $LIBS"
if test -n "$cyassllib"; then