summaryrefslogtreecommitdiffstats
path: root/config/commence.am
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-09-16 21:26:17 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-09-16 21:26:17 (GMT)
commitae2a313b5ba03538120f5ebd6512096e509a3ae0 (patch)
tree4a8839579a705684513083f1932bea74b9543a2c /config/commence.am
parentb656c90c8a86eb7cb2d14baaadcc23fd8f22fbad (diff)
downloadhdf5-ae2a313b5ba03538120f5ebd6512096e509a3ae0.zip
hdf5-ae2a313b5ba03538120f5ebd6512096e509a3ae0.tar.gz
hdf5-ae2a313b5ba03538120f5ebd6512096e509a3ae0.tar.bz2
[svn-r11421] Purpose:
Feature Description: Added H5_CFLAGS, etc. to 1.7 branch. Now compilation flags can be put in H5_*FLAGS and they'll be used when building hdf5 but not in h5cc. Platforms tested: mir, sleipnir, modi4 Misc. update:
Diffstat (limited to 'config/commence.am')
-rw-r--r--config/commence.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/commence.am b/config/commence.am
index 84eb1ba..518aa13 100644
--- a/config/commence.am
+++ b/config/commence.am
@@ -42,6 +42,13 @@ H5CC_PP=$(bindir)/h5pcc
H5FC=$(bindir)/h5fc
H5FC_PP=$(bindir)/h5pfc
+# H5_CFLAGS holds flags that should be used as CFLAGS when building hdf5,
+# but which shouldn't be exported to h5cc for building other programs.
+CFLAGS=@CFLAGS@ @H5_CFLAGS@
+CPPFLAGS=@CPPFLAGS@ @H5_CPPFLAGS@
+FFLAGS=@FFLAGS@ @H5_FFLAGS@
+CXXFLAGS=@CXXFLAGS@ @H5_CXXFLAGS@
+
# Make sure that these variables are exported to the Makefiles
F9XMODEXT=@F9XMODEXT@
F9XMODFLAG=@F9XMODFLAG@