summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-06-10 15:57:27 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-06-10 15:57:27 (GMT)
commit7a496037323aae440087a2d9aec726b41d1b5125 (patch)
tree0d6d117cdd2773c448a94c4f3c2cdba3f50bf6df /configure.ac
parent48741994ac625bf13d0aaa8906ac0e4bfe9e20f7 (diff)
downloadhdf5-7a496037323aae440087a2d9aec726b41d1b5125.zip
hdf5-7a496037323aae440087a2d9aec726b41d1b5125.tar.gz
hdf5-7a496037323aae440087a2d9aec726b41d1b5125.tar.bz2
[svn-r27183] removed the use of -i in sed, used mv instead from a temporary file.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2baa0a4..937b32c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -369,7 +369,7 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
## Prepend H5_ to all macro names. This avoids name conflict between HDF5 macro
## names and those generated by another software package that uses the HDF5 library.
AC_CONFIG_HEADERS([fortran/src/H5config_f.inc],
- [sed -i '1d;s%^/\* \(.*\) \*/%\1%;s/#define /#define H5_/;s/#undef /#undef H5_/' fortran/src/H5config_f.inc])
+ [cat fortran/src/H5config_f.inc | sed '1d;s%^/\* \(.*\) \*/%\1%;s/#define /#define H5_/;s/#undef /#undef H5_/' >fortran/src/H5config_f.inc.tmp; mv -f fortran/src/H5config_f.inc.tmp fortran/src/H5config_f.inc])
AC_SUBST([FC]) HDF_FORTRAN=yes