diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-06-20 00:41:08 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-06-20 00:41:08 (GMT) |
commit | 381d6eb5fb98f8b6e30bac2238da81504ce22c47 (patch) | |
tree | 27c8efb369eab9bc0f2871894162d0a8a35b231a /fortran/configure.in | |
parent | 0489e2726c123fec73de733f551cd59b91891ef9 (diff) | |
download | hdf5-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.in')
-rw-r--r-- | fortran/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
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 |