summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2007-04-27 14:56:33 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2007-04-27 14:56:33 (GMT)
commit2b807f7fddc631d32bf324df654eb4db6c795233 (patch)
tree5b9c629fa06b31a7d0c142d8c876e45bcb771666 /configure
parent71c29a007fb7ee0cb9218255cdf4e393c1d22a6b (diff)
downloadhdf5-2b807f7fddc631d32bf324df654eb4db6c795233.zip
hdf5-2b807f7fddc631d32bf324df654eb4db6c795233.tar.gz
hdf5-2b807f7fddc631d32bf324df654eb4db6c795233.tar.bz2
[svn-r13703] Feature:
Change --enable-debug default to no if producton is enabled. Platform tested: kagiso just doing configure with various combinations of option and varified the output.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 10 insertions, 2 deletions
diff --git a/configure b/configure
index 10f7cbb..4881c84 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Id: configure.in 13685 2007-04-18 20:36:56Z koziol .
+# From configure.in Id: configure.in 13692 2007-04-23 14:55:02Z hdftest .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for HDF5 1.8.0-beta1post1.
#
@@ -48137,10 +48137,18 @@ if test "${enable_debug+set}" = set; then
fi
+if test "X-$DEBUG_PKG" = X- ; then
+ if test "$enable_production" = yes ; then
+ DEBUG_PKG=no
+ else
+ DEBUG_PKG=yes
+ fi
+fi
+
all_packages="ac,b,b2,d,e,f,g,hg,hl,i,mf,mm,o,p,s,t,v,z"
case "X-$DEBUG_PKG" in
- X-|X-yes)
+ X-yes)
DEBUG_PKG="d,e,f,g,hg,i,mm,o,p,s,t,v,z"
H5_CPPFLAGS="$H5_CPPFLAGS -UNDEBUG"
{ echo "$as_me:$LINENO: result: default ($DEBUG_PKG)" >&5