diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-02-22 09:18:55 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-02-22 09:18:55 +0000 |
commit | f605ade59c3cda18b63ae41ec9db5bfee27e5874 (patch) | |
tree | 79bfb44c693aec3ff63a51e9e7956ef9b92242e2 /acinclude.m4 | |
parent | 51f82342967a91f66a19a9488e625e126c6bc226 (diff) | |
download | mpfr-f605ade59c3cda18b63ae41ec9db5bfee27e5874.tar.gz |
changed __float128 (gcc specific) into the standard type _Float128
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12391 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index d0fe3d99d..f9792f836 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -632,17 +632,17 @@ Please use another compiler or build MPFR without --enable-decimal-float.]) fi]) fi -dnl Check if __float128 is available. We also require the compiler -dnl to support C99 constants (this prevents the __float128 support +dnl Check if _Float128 is available. We also require the compiler +dnl to support C99 constants (this prevents the _Float128 support dnl with GCC's -std=c90, but who cares?). if test "$enable_float128" != no; then - AC_MSG_CHECKING(if compiler knows __float128 with C99 constants) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[__float128 x = 0x1.fp+16383q;]])], + AC_MSG_CHECKING(if compiler knows _Float128 with C99 constants) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[_Float128 x = 0x1.fp+16383q;]])], [AC_MSG_RESULT(yes) AC_DEFINE([MPFR_WANT_FLOAT128],1,[Build float128 functions])], [AC_MSG_RESULT(no) if test "$enable_float128" = yes; then - AC_MSG_ERROR([compiler doesn't know __float128 with C99 constants + AC_MSG_ERROR([compiler doesn't know _Float128 with C99 constants Please use another compiler or build MPFR without --enable-float128.]) fi]) fi |