summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2016-05-11 20:50:03 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2016-05-11 20:50:03 (GMT)
commit05affd97fd0f05919336740a0f28e22c2849c06f (patch)
treeaefe04f4ad215bd78d7b7dae200b727d04fc0476
parent2e7ca9137bb173bc8ed8f74aa962632dc46c35df (diff)
downloadhdf5-05affd97fd0f05919336740a0f28e22c2849c06f.zip
hdf5-05affd97fd0f05919336740a0f28e22c2849c06f.tar.gz
hdf5-05affd97fd0f05919336740a0f28e22c2849c06f.tar.bz2
[svn-r29913] Removed escape from "}" bracket in fortran sed command, to resolve issue on FreeBSD.
HDFFV-9912 tested: jam
-rwxr-xr-xconfigure6
-rw-r--r--configure.ac6
2 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index 9529250..b06eca8 100755
--- a/configure
+++ b/configure
@@ -8552,9 +8552,8 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
-
- max_real_fortran_sizeof="`echo $PAC_FC_ALL_REAL_KINDS_SIZEOF | sed -ne 's/.*,\([0-9]*\)\}/\1/p'`"
- max_real_fortran_kind="`echo \"$PAC_FC_ALL_REAL_KINDS\" | sed -ne 's/.*,\([0-9]*\)\}/\1/p'`"
+ max_real_fortran_sizeof="`echo $PAC_FC_ALL_REAL_KINDS_SIZEOF | sed -ne 's/.*,\([0-9]*\)}/\1/p'`"
+ max_real_fortran_kind="`echo $PAC_FC_ALL_REAL_KINDS | sed -ne 's/.*,\([0-9]*\)}/\1/p'`"
if test "$ac_cv_sizeof___float128" != 0;then
if test "$ac_cv_sizeof___float128" != "$max_real_fortran_sizeof" &&
@@ -8570,6 +8569,7 @@ $as_echo "$as_me: WARNING:
" >&2;}
PAC_FC_ALL_REAL_KINDS="`echo $PAC_FC_ALL_REAL_KINDS | sed -e 's/,[0-9]\+}/}/g'`"
PAC_FC_ALL_REAL_KINDS_SIZEOF="`echo $PAC_FC_ALL_REAL_KINDS_SIZEOF | sed -e 's/,[0-9]\+}/}/g'`"
+
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran interoperable KINDS with C" >&5
diff --git a/configure.ac b/configure.ac
index 474d0d1..cb80f79 100644
--- a/configure.ac
+++ b/configure.ac
@@ -620,10 +620,9 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
FORTRAN_SIZEOF_LONG_DOUBLE=${ac_cv_sizeof_long_double}
AC_DEFINE_UNQUOTED([FORTRAN_SIZEOF_LONG_DOUBLE], ["${ac_cv_sizeof_long_double}"], [Determine the size of C long double])
-
dnl get the largest sizeof for REAL kinds
- max_real_fortran_sizeof="`echo $PAC_FC_ALL_REAL_KINDS_SIZEOF | sed -ne 's/.*,\([[0-9]]*\)\}/\1/p'`"
- max_real_fortran_kind="`echo \"[$]PAC_FC_ALL_REAL_KINDS\" | sed -ne 's/.*,\([[0-9]]*\)\}/\1/p'`"
+ max_real_fortran_sizeof="`echo $PAC_FC_ALL_REAL_KINDS_SIZEOF | sed -ne 's/.*,\([[0-9]]*\)}/\1/p'`"
+ max_real_fortran_kind="`echo $PAC_FC_ALL_REAL_KINDS | sed -ne 's/.*,\([[0-9]]*\)}/\1/p'`"
dnl remove the invalid kind from the list
if test "$ac_cv_sizeof___float128" != 0;then
@@ -639,6 +638,7 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
])
PAC_FC_ALL_REAL_KINDS="`echo $PAC_FC_ALL_REAL_KINDS | sed -e 's/,[[0-9]]\+}/}/g'`"
PAC_FC_ALL_REAL_KINDS_SIZEOF="`echo $PAC_FC_ALL_REAL_KINDS_SIZEOF | sed -e 's/,[[0-9]]\+}/}/g'`"
+
fi
fi
AC_MSG_CHECKING([for Fortran interoperable KINDS with C])