summaryrefslogtreecommitdiffstats
path: root/fortran/configure
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-06-20 00:41:08 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-06-20 00:41:08 (GMT)
commit381d6eb5fb98f8b6e30bac2238da81504ce22c47 (patch)
tree27c8efb369eab9bc0f2871894162d0a8a35b231a /fortran/configure
parent0489e2726c123fec73de733f551cd59b91891ef9 (diff)
downloadhdf5-381d6eb5fb98f8b6e30bac2238da81504ce22c47.zip
hdf5-381d6eb5fb98f8b6e30bac2238da81504ce22c47.tar.gz
hdf5-381d6eb5fb98f8b6e30bac2238da81504ce22c47.tar.bz2
[svn-r7065] Purpose:
Bug Fix Description: On Copper, the redefinition of the PACKAGE_* #defined macros in H5pubconf_fortran.h was causing havoc with the compiler now that we specify ANSI C with it. Solution: Renamed the PACKAGE_* variables to FORTRAN_PACKAGE_* instead. Platforms tested: Copper (small fix...needed to determine the sed command worked). Misc. update:
Diffstat (limited to 'fortran/configure')
-rwxr-xr-xfortran/configure3
1 files changed, 2 insertions, 1 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