summaryrefslogtreecommitdiffstats
path: root/m4/aclocal_fc.m4
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-07-02 19:04:25 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-07-02 19:04:25 (GMT)
commit2a567e8155a883a1d79a7879e953449ed7505945 (patch)
tree8daf5836b2aeb494880ca54672574ad13b4b4a17 /m4/aclocal_fc.m4
parente2bbdddff758e14a27a3f6a7d47f2bfc8041c687 (diff)
downloadhdf5-2a567e8155a883a1d79a7879e953449ed7505945.zip
hdf5-2a567e8155a883a1d79a7879e953449ed7505945.tar.gz
hdf5-2a567e8155a883a1d79a7879e953449ed7505945.tar.bz2
[svn-r27326] Working version of cmake on linux.
Diffstat (limited to 'm4/aclocal_fc.m4')
-rw-r--r--m4/aclocal_fc.m410
1 files changed, 4 insertions, 6 deletions
diff --git a/m4/aclocal_fc.m4 b/m4/aclocal_fc.m4
index f937b64..bd724b1 100644
--- a/m4/aclocal_fc.m4
+++ b/m4/aclocal_fc.m4
@@ -144,7 +144,7 @@ dnl Check if C_LONG_DOUBLE is different from C_DOUBLE
if test "X$FORTRAN_HAVE_C_LONG_DOUBLE" = "Xyes"; then
AC_DEFUN([PAC_PROG_FC_C_LONG_DOUBLE_EQ_C_DOUBLE],[
- FORTRAN_C_LONG_DOUBLE_IS_UNIQUE="no"
+ C_LONG_DOUBLE_IS_UNIQUE_FORTRAN="no"
AC_MSG_CHECKING([if Fortran C_LONG_DOUBLE is different from C_DOUBLE])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
@@ -171,7 +171,7 @@ AC_DEFUN([PAC_PROG_FC_C_LONG_DOUBLE_EQ_C_DOUBLE],[
CALL h5t(d)
END PROGRAM main
])], [AC_MSG_RESULT([yes])
- FORTRAN_C_LONG_DOUBLE_IS_UNIQUE="yes"],
+ C_LONG_DOUBLE_IS_UNIQUE_FORTRAN="yes"],
[AC_MSG_RESULT([no])])
])
fi
@@ -184,7 +184,6 @@ AC_DEFUN([PAC_PROG_FC_HAVE_F2003_REQUIREMENTS],[
dnl --------------------------------------------------------------------
dnl Default for FORTRAN 2003 compliant compilers
dnl
- HAVE_FORTRAN_2003="no"
HAVE_F2003_REQUIREMENTS="no"
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[
@@ -372,8 +371,7 @@ AC_RUN_IFELSE([
WRITE(8,'(I0)') max_decimal_prec
WRITE(8,'(I0)') num_ikinds
WRITE(8,'(I0)') num_rkinds
-
- END
+ END
])
],[
if test -s pac_fconftest.out ; then
@@ -584,7 +582,7 @@ rm -f pac_Cconftest.out
],[[
FILE * pFile;
pFile = fopen("pac_Cconftest.out","w");
- fprintf(pFile, "%d\n %d\n", C_LDBL_DIG, C_FLT128_DIG);
+ fprintf(pFile, "%d\n%d\n", C_LDBL_DIG, C_FLT128_DIG);
]])
])
AC_RUN_IFELSE([],[