summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-06-17 18:29:20 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-06-17 18:29:20 (GMT)
commit0cf5413849f8c5f1ae4118686b912718e84e7f71 (patch)
tree6f54ea7a5516858e6d26eca001eca3be963cb52f
parent3256437a00df1ad3ed134fc257e98a465eefdddb (diff)
downloadhdf5-0cf5413849f8c5f1ae4118686b912718e84e7f71.zip
hdf5-0cf5413849f8c5f1ae4118686b912718e84e7f71.tar.gz
hdf5-0cf5413849f8c5f1ae4118686b912718e84e7f71.tar.bz2
[svn-r27230] added test for float128
-rwxr-xr-xconfigure7
-rw-r--r--m4/aclocal_fc.m46
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 <quadmath.h>
# 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 <quadmath.h>
# 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!])
],[])
])