summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-10-22 22:55:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-10-22 22:55:48 +0200
commita3da0a96e383225b11d5a2de02d7217b33aa76da (patch)
treec0eb03f6cec55d42a524ddcf9f767affa3cd5c9f /configure.ac
parent626f8a85f0e75abe4eacb09b54fd17a0f65bb8bd (diff)
downloadcurl-a3da0a96e383225b11d5a2de02d7217b33aa76da.tar.gz
configure: check for long long when building with cyassl
cyassl/ctaocrypt/types.h needs SIZEOF_LONG_LONG Reported-by: Chris Conlon
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 f861124bf..2b9e7e446 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1983,6 +1983,9 @@ if test "$curl_ssl_msg" = "$init_ssl_msg"; then
if test "x$USE_CYASSL" = "xyes"; then
AC_MSG_NOTICE([detected CyaSSL])
+ dnl cyassl/ctaocrypt/types.h needs SIZEOF_LONG_LONG defined!
+ AC_CHECK_SIZEOF(long long)
+
LIBS="-lcyassl -lm $LIBS"
if test -n "$cyassllib"; then