summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-06-17 16:52:14 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-06-17 16:52:14 (GMT)
commit2962171a1c664f6e648cea6129a821572c6f2ba6 (patch)
tree5c7eadd72a1a72ec49a6e0d6b8074e9593a0886e
parent3bf582bae9fa8f7d35ba88280cfb8d9dff0abe5a (diff)
downloadhdf5-2962171a1c664f6e648cea6129a821572c6f2ba6.zip
hdf5-2962171a1c664f6e648cea6129a821572c6f2ba6.tar.gz
hdf5-2962171a1c664f6e648cea6129a821572c6f2ba6.tar.bz2
[svn-r27227] restricted __float128 to gnu compilers
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
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