From: Martin Willi Date: Thu, 19 Mar 2015 14:58:59 +0000 (+0100) Subject: configure: Check for __int128 type support X-Git-Tag: 5.3.1dr1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=036c7b63c00db58d1781e697c3a122f60493e005;p=thirdparty%2Fstrongswan.git configure: Check for __int128 type support --- diff --git a/configure.ac b/configure.ac index 73c2884955..1cd4f24531 100644 --- a/configure.ac +++ b/configure.ac @@ -697,6 +697,17 @@ AC_COMPILE_IFELSE( [AC_MSG_RESULT([no])] ) +AC_MSG_CHECKING([for __int128]) +AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[__int128 x = 0; + return x;]])], + [AC_MSG_RESULT([yes]); + AC_DEFINE([HAVE_INT128], [], [have __int128 type support])], + [AC_MSG_RESULT([no])] +) + AC_MSG_CHECKING([for GCC __sync operations]) AC_RUN_IFELSE([AC_LANG_SOURCE( [[