summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfortran/configure3
-rw-r--r--fortran/configure.in3
2 files changed, 4 insertions, 2 deletions
diff --git a/fortran/configure b/fortran/configure
index 21f6918..fe7bec5 100755
--- a/fortran/configure
+++ b/fortran/configure
@@ -11056,7 +11056,8 @@ echo "$as_me: executing $ac_dest commands" >&6;}
case $ac_dest in
default-1 )
echo "creating src/H5pubconf_fortran.h"
- sed 's/#define /#define H5_/' < src/H5config_fortran.h |\
+ sed 's/PACKAGE/FORTRAN_PACKAGE/' < src/H5config_fortran.h |\
+ sed 's/#define /#define H5_/' |\
sed 's/#undef /#undef H5_/' > pubconf_fortran
if test ! -f src/H5pubconf_fortran.h; then
diff --git a/fortran/configure.in b/fortran/configure.in
index 6ae5d4f..14c42cc 100644
--- a/fortran/configure.in
+++ b/fortran/configure.in
@@ -32,7 +32,8 @@ AC_CONFIG_AUX_DIR([../bin])
AC_OUTPUT_COMMANDS([
echo "creating src/H5pubconf_fortran.h"
- sed 's/#define /#define H5_/' < src/H5config_fortran.h |\
+ sed 's/PACKAGE/FORTRAN_PACKAGE/' < src/H5config_fortran.h |\
+ sed 's/#define /#define H5_/' |\
sed 's/#undef /#undef H5_/' > pubconf_fortran
if test ! -f src/H5pubconf_fortran.h; then