[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:
Bill Wendling 2003-06-19 19:41:08 -05:00
parent 0489e2726c
commit 381d6eb5fb
2 changed files with 4 additions and 2 deletions

3
fortran/configure vendored
View File

@ -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

View File

@ -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