diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2016-06-09 20:39:17 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2016-06-09 20:39:17 (GMT) |
commit | 1db1d99883397d92dc6984841fecfc391c52676d (patch) | |
tree | c676410f549bf77cb0b79f53765f2bfd2f17c95c /m4/aclocal_fc.m4 | |
parent | 3b507bb8c494ff4eb5fe84c7097f66022d0f82db (diff) | |
download | hdf5-1db1d99883397d92dc6984841fecfc391c52676d.zip hdf5-1db1d99883397d92dc6984841fecfc391c52676d.tar.gz hdf5-1db1d99883397d92dc6984841fecfc391c52676d.tar.bz2 |
[svn-r30064] Changed configure's behavior from a warning to an error
if the available Fortran KINDs,
or Fortran decimal precision, can not be determined.
(MSB, HDFFV-9922)
Diffstat (limited to 'm4/aclocal_fc.m4')
-rw-r--r-- | m4/aclocal_fc.m4 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/m4/aclocal_fc.m4 b/m4/aclocal_fc.m4 index 0672e87..0b46505 100644 --- a/m4/aclocal_fc.m4 +++ b/m4/aclocal_fc.m4 @@ -419,12 +419,12 @@ AC_RUN_IFELSE([ AC_MSG_RESULT([$PAC_FC_MAX_REAL_PRECISION]) else AC_MSG_RESULT([Error]) - AC_MSG_WARN([No output from test program!]) + AC_MSG_ERROR([No output from Fortran test program!]) fi rm -f pac_fconftest.out ],[ AC_MSG_RESULT([Error]) - AC_MSG_WARN([Failed to run program to determine available KINDs]) + AC_MSG_ERROR([Failed to run Fortran program to determine available KINDs]) ],[]) AC_LANG_POP([Fortran]) @@ -454,11 +454,11 @@ for kind in `echo $pac_validIntKinds | sed -e 's/,/ /g'`; do sizes="`cat pac_fconftest.out`" pack_int_sizeof="$pack_int_sizeof $sizes," else - AC_MSG_WARN([No output from test program!]) + AC_MSG_ERROR([No output from Fortran test program!]) fi rm -f pac_fconftest.out ],[ - AC_MSG_WARN([Fortran program fails to build or run!]) + AC_MSG_ERROR([Fortran program fails to build or run!]) ],[ pack_int_sizeof="$2" ]) @@ -492,11 +492,11 @@ for kind in `echo $pac_validRealKinds | sed -e 's/,/ /g'`; do sizes="`cat pac_fconftest.out`" pack_real_sizeof="$pack_real_sizeof $sizes," else - AC_MSG_WARN([No output from test program!]) + AC_MSG_ERROR([No output from Fortran test program!]) fi rm -f pac_fconftest.out ],[ - AC_MSG_WARN([Fortran program fails to build or run!]) + AC_MSG_ERROR([Fortran program fails to build or run!]) ],[ pack_real_sizeof="$2" ]) @@ -540,11 +540,11 @@ rm -f pac_fconftest.out PAC_FORTRAN_NATIVE_DOUBLE_KIND="`sed -n '5p' pac_fconftest.out`" PAC_FORTRAN_NATIVE_DOUBLE_SIZEOF="`sed -n '6p' pac_fconftest.out`" else - AC_MSG_WARN([No output from test program!]) + AC_MSG_ERROR([No output from Fortran test program!]) fi rm -f pac_fconftest.out ],[ - AC_MSG_WARN([Fortran program fails to build or run!]) + AC_MSG_ERROR([Fortran program fails to build or run!]) ],[ pack_int_sizeof="$2" ]) @@ -588,7 +588,7 @@ rm -f pac_Cconftest.out LDBL_DIG="`sed -n '1p' pac_Cconftest.out`" FLT128_DIG="`sed -n '2p' pac_Cconftest.out`" else - AC_MSG_WARN([No output from test program!]) + AC_MSG_ERROR([No output from Fortran decimal precision program!]) fi rm -f pac_Cconftest.out ],[ |