mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-07 16:37:56 +08:00
[svn-r27227] restricted __float128 to gnu compilers
This commit is contained in:
parent
3bf582bae9
commit
2962171a1c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user