diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-04-16 18:36:34 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-04-16 18:36:34 (GMT) |
commit | 0cc9b0c79f9cc2df7d6101896effc53ca70c637a (patch) | |
tree | d09f664a9f155663b8c964ab2a5d5995bca32234 /configure | |
parent | 7984de553e8ad2bbafa0840b207e762e2ed68f58 (diff) | |
download | hdf5-0cc9b0c79f9cc2df7d6101896effc53ca70c637a.zip hdf5-0cc9b0c79f9cc2df7d6101896effc53ca70c637a.tar.gz hdf5-0cc9b0c79f9cc2df7d6101896effc53ca70c637a.tar.bz2 |
[svn-r26825] Added include for preprocessing fortran files with configure definitions
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -5165,6 +5165,13 @@ fi if test "X$HDF_FORTRAN" = "Xyes"; then +## We will output an include file for Fortran, H5config_f.inc which +## contains various configure definitions used by the Fortran Library. +## Prepend H5_ to all macro names. This avoids name conflict between HDF5 macro +## names and those generated by another software package that uses the HDF5 library. + ac_config_headers="$ac_config_headers fortran/src/H5config_f.inc" + + HDF_FORTRAN=yes @@ -31338,6 +31345,7 @@ do "src/H5config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/H5config.h" ;; "pubconf") CONFIG_COMMANDS="$CONFIG_COMMANDS pubconf" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "fortran/src/H5config_f.inc") CONFIG_HEADERS="$CONFIG_HEADERS fortran/src/H5config_f.inc" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "src/libhdf5.settings") CONFIG_FILES="$CONFIG_FILES src/libhdf5.settings" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; @@ -32120,6 +32128,7 @@ $as_echo X"$file" | done } ;; + "fortran/src/H5config_f.inc":H) sed -i '1d;s%^/\* \(.*\) \*/%\1%;s/#define /#define H5_/;s/#undef /#undef H5_/' fortran/src/H5config_f.inc ;; "libtool":C) # See if we are running on zsh, and set the options which allow our |