mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
This commit is contained in:
parent
0489e2726c
commit
381d6eb5fb
3
fortran/configure
vendored
3
fortran/configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user