summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-03-29 17:38:17 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-03-29 17:38:17 (GMT)
commit7acf3f1b12cb743850f2ae4a13d67a080fc26793 (patch)
tree76ff86178b02b6329483b0975862032e73d1a991 /configure.in
parent9e4b79ad482c7fe41e893dac8f52b101fcdc38c3 (diff)
downloadhdf5-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 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f44dc2b..efd40d3 100644
--- a/configure.in
+++ b/configure.in
@@ -1264,6 +1264,8 @@ if test -n "$SRB"; then
AC_DEFINE([HAVE_SRB], [1], [Define if the SRB is defined])
fi
+AM_CONDITIONAL([BUILD_SRB_CONDITIONAL], [test -n "$SRB"])
+
dnl ----------------------------------------------------------------------
dnl Is LLNL's PDB present? If so then we'll compile the PDB-to-HDF5
dnl translator.