From 2962171a1c664f6e648cea6129a821572c6f2ba6 Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Wed, 17 Jun 2015 11:52:14 -0500 Subject: [svn-r27227] restricted __float128 to gnu compilers --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0279d3c..8ea73eb 100644 --- a/configure.ac +++ b/configure.ac @@ -362,12 +362,14 @@ AC_CHECK_SIZEOF([long double], [8]) ## Check for __FLOAT128 extension AC_CHECK_SIZEOF([__float128]) +AC_CHECK_SIZEOF([_Quad]) HAVE_FLOAT128=0 HAVE_QUADMATH=0 AC_CHECK_HEADERS([quadmath.h], [HAVE_QUADMATH=1], []) PAC_LDBL_DIG -## __float seems to work for __float128, but it should be _Quad type instead +## __float128 seems to work intel compilers, but it should be _Quad type instead + if test "$ac_cv_sizeof___float128" != 0 && test "$cc_vendor" = "gcc"; then ## Check if __float128 and c_long_double are the same size and precision dnl if test "$ac_cv_sizeof___float128" = "$ac_cv_sizeof_long_double"; then -- cgit v0.12