From 0cf5413849f8c5f1ae4118686b912718e84e7f71 Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Wed, 17 Jun 2015 13:29:20 -0500 Subject: [svn-r27230] added test for float128 --- configure | 7 +++++-- m4/aclocal_fc.m4 | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 6dcabac..5aaa455 100755 --- a/configure +++ b/configure @@ -5698,7 +5698,11 @@ rm -f pac_Cconftest.out # if $HAVE_QUADMATH!=0 #include # endif + # ifdef FLT128_DIG #define C_FLT128_DIG FLT128_DIG + # else + #define C_FLT128_DIG 0 + # endif #endif #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #define C_LDBL_DIG DECIMAL_DIG @@ -5738,8 +5742,7 @@ $as_echo "$as_me: WARNING: No output from test program!" >&2;} else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C program fails to build or run!" >&5 -$as_echo "$as_me: WARNING: C program fails to build or run!" >&2;} + as_fn_error $? "C program fails to build or run!" "$LINENO" 5 fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ diff --git a/m4/aclocal_fc.m4 b/m4/aclocal_fc.m4 index 678ed0f..dc7626e 100644 --- a/m4/aclocal_fc.m4 +++ b/m4/aclocal_fc.m4 @@ -563,7 +563,11 @@ rm -f pac_Cconftest.out # if $HAVE_QUADMATH!=0 #include # endif + # ifdef FLT128_DIG #define C_FLT128_DIG FLT128_DIG + # else + #define C_FLT128_DIG 0 + # endif #endif #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #define C_LDBL_DIG DECIMAL_DIG @@ -585,7 +589,7 @@ rm -f pac_Cconftest.out fi rm -f pac_Cconftest.out ],[ - AC_MSG_WARN([C program fails to build or run!]) + AC_MSG_ERROR([C program fails to build or run!]) ],[]) ]) -- cgit v0.12