diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-03-29 17:38:17 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-03-29 17:38:17 (GMT) |
commit | 7acf3f1b12cb743850f2ae4a13d67a080fc26793 (patch) | |
tree | 76ff86178b02b6329483b0975862032e73d1a991 /c++/examples | |
parent | 9e4b79ad482c7fe41e893dac8f52b101fcdc38c3 (diff) | |
download | hdf5-7acf3f1b12cb743850f2ae4a13d67a080fc26793.zip hdf5-7acf3f1b12cb743850f2ae4a13d67a080fc26793.tar.gz hdf5-7acf3f1b12cb743850f2ae4a13d67a080fc26793.tar.bz2 |
[svn-r10475] Purpose:
Feature - conditional compilation
Description:
SRB file driver and tests are now compiled only when SRB is enabled
(using --with-srb during configure).
Solution:
Added an automake conditional in configure.in, altered Makefiles.am in
src and test directories to depend on that conditional.
This should make a nice example for posterity to add conditionally
compiled sources.
Platforms tested:
heping (only configure change)
Diffstat (limited to 'c++/examples')
-rw-r--r-- | c++/examples/Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in index cbfa6ef..4fb336c 100644 --- a/c++/examples/Makefile.in +++ b/c++/examples/Makefile.in @@ -92,6 +92,8 @@ BUILD_PARALLEL_CONDITIONAL_TRUE = @BUILD_PARALLEL_CONDITIONAL_TRUE@ BUILD_PDB2HDF = @BUILD_PDB2HDF@ BUILD_PDB2HDF_CONDITIONAL_FALSE = @BUILD_PDB2HDF_CONDITIONAL_FALSE@ BUILD_PDB2HDF_CONDITIONAL_TRUE = @BUILD_PDB2HDF_CONDITIONAL_TRUE@ +BUILD_SRB_CONDITIONAL_FALSE = @BUILD_SRB_CONDITIONAL_FALSE@ +BUILD_SRB_CONDITIONAL_TRUE = @BUILD_SRB_CONDITIONAL_TRUE@ BYTESEX = @BYTESEX@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ |