From a3da0a96e383225b11d5a2de02d7217b33aa76da Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 22 Oct 2013 22:55:48 +0200 Subject: [PATCH] configure: check for long long when building with cyassl cyassl/ctaocrypt/types.h needs SIZEOF_LONG_LONG Reported-by: Chris Conlon --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index f861124..2b9e7e4 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 -- 2.7.4