Commit de147e65 authored by Lynn Garren's avatar Lynn Garren
Browse files

adding Exceptions (disabled by default)

parent 2ccda0e8
Thu Nov 06 2003 Lynn Garren <garren@fnal.gov>
* adding ZOOM Exceptions package for FNAL
* adding supporting RefCount and Cast packages
Thu Oct 23 2003 Lynn Garren <garren@fnal.gov>
* tagged for CLHEP 1.9.0.0
......
......@@ -2,7 +2,9 @@
includedir = $(prefix)/include/CLHEP
SUBDIRS = Vector Evaluator GenericFunctions Geometry Matrix Random RandomObjects Units Utilities HepPDT HepMC StdHep
SUBDIRS = Vector Evaluator GenericFunctions Geometry Matrix Random \
RandomObjects Units Utilities HepPDT HepMC StdHep \
RefCount Cast Exceptions
bin_SCRIPTS = clheplib
......
......@@ -19,7 +19,21 @@ AC_PROG_LIBTOOL
# subpackages
# ----------------------------------------------------------------------
AC_CONFIG_SUBDIRS(Vector Evaluator GenericFunctions Geometry Matrix Random RandomObjects Units Utilities HepPDT HepMC StdHep)
AC_CONFIG_SUBDIRS(Vector Evaluator GenericFunctions Geometry Matrix Random RandomObjects Units Utilities HepPDT HepMC StdHep RefCount Cast Exceptions)
# ----------------------------------------------------------------------
# --enable-exceptions or --disable-exceptions
# --disable-exceptions is the default
# ----------------------------------------------------------------------
AC_ARG_ENABLE(exceptions,
AC_HELP_STRING([--enable-exceptions],[use CLHEP/Exceptions (off by default)]),
[case "${enableval}" in
yes) AC_SUBST(use_exceptions,["#define ENABLE_ZOOM_EXCEPTIONS"]) ;;
no) AC_SUBST(use_exceptions,["#undef ENABLE_ZOOM_EXCEPTIONS"]) ;;
*) AC_SUBST(use_exceptions,["#define ENABLE_ZOOM_EXCEPTIONS"]) ;;
esac],
[AC_SUBST(use_exceptions,["#undef ENABLE_ZOOM_EXCEPTIONS"])])
# ----------------------------------------------------------------------
# Identify the files that 'configure' is to produce:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment