summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-26 02:08:36 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-26 02:08:36 (GMT)
commitcb57304e9a603b9f7212e0c8c49ad7f85bca1e49 (patch)
tree543fab14b74874857f32a5bbf867db471a31ae68 /configure
parentf67be1d2dc5ed9e4cb1505fcb78b3233e8970d8e (diff)
downloadhdf5-cb57304e9a603b9f7212e0c8c49ad7f85bca1e49.zip
hdf5-cb57304e9a603b9f7212e0c8c49ad7f85bca1e49.tar.gz
hdf5-cb57304e9a603b9f7212e0c8c49ad7f85bca1e49.tar.bz2
[svn-r7108] Purpose:
Code cleanup Description: Make the default for the function stack work like the default for the API tracing: when debug is enabled, the function stack defaults to on and when debug is disabled, the function stack defaults to off. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure68
1 files changed, 38 insertions, 30 deletions
diff --git a/configure b/configure
index e8321ea..b5fd153 100755
--- a/configure
+++ b/configure
@@ -1025,7 +1025,6 @@ Optional Features:
--enable-linux-lfs Enable support for large (64-bit) files on Linux.
[default=check]
--enable-threadsafe Enable thread safe capability
- --enable-funcstack Enable the function stack tracing [default=yes]
--enable-hdf5v1_4 Compile the HDF5 v1.4 compatibility interface
[default=no]
--enable-stream-vfd Build the Stream Virtual File Driver [default=no]
@@ -1035,6 +1034,8 @@ Optional Features:
specify a comma-separated list of package names
without the leading H5 or the word no. The default
is most packages.
+ --enable-funcstack Enable the function stack tracing. Default=no if
+ debug is disabled.
--enable-trace Enable API tracing capability. Default=no if debug
is disabled.
--enable-parallel Search for MPI-IO and MPI support files
@@ -4400,7 +4401,7 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4403 "configure"' > conftest.$ac_ext
+ echo '#line 4404 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -4938,7 +4939,7 @@ chmod -w .
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
-if { (eval echo configure:4941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:4942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s out/conftest.err; then
@@ -6763,7 +6764,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 6766 "configure"
+#line 6767 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -6861,7 +6862,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 6864 "configure"
+#line 6865 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -29108,31 +29109,6 @@ _ACEOF
fi
-echo "$as_me:$LINENO: checking whether function stack tracking is enabled" >&5
-echo $ECHO_N "checking whether function stack tracking is enabled... $ECHO_C" >&6
-# Check whether --enable-funcstack or --disable-funcstack was given.
-if test "${enable_funcstack+set}" = set; then
- enableval="$enable_funcstack"
- FUNCSTACK=$enableval
-fi;
-
-case "X-$FUNCSTACK" in
- X-|X-yes)
- FUNCSTACK="yes"
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_FUNCSTACK 1
-_ACEOF
-
- ;;
- *)
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
- ;;
-esac
-
echo "$as_me:$LINENO: checking whether HDF5 v1.4 compatibility functions enabled" >&5
echo $ECHO_N "checking whether HDF5 v1.4 compatibility functions enabled... $ECHO_C" >&6
# Check whether --enable-hdf5v1_4 or --disable-hdf5v1_4 was given.
@@ -31159,6 +31135,38 @@ if test -n "$DEBUG_PKG"; then
done
fi
+echo "$as_me:$LINENO: checking whether function stack tracking is enabled" >&5
+echo $ECHO_N "checking whether function stack tracking is enabled... $ECHO_C" >&6
+# Check whether --enable-funcstack or --disable-funcstack was given.
+if test "${enable_funcstack+set}" = set; then
+ enableval="$enable_funcstack"
+ FUNCSTACK=$enableval
+fi;
+
+if test "X-$FUNCSTACK" = X- ; then
+ if test -z "$DEBUG_PKG" ; then
+ FUNCSTACK=no
+ else
+ FUNCSTACK=yes
+ fi
+fi
+case "X-$FUNCSTACK" in
+ X-|X-yes)
+ FUNCSTACK="yes"
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_FUNCSTACK 1
+_ACEOF
+
+ ;;
+ *)
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ ;;
+esac
+
echo "$as_me:$LINENO: checking for API tracing" >&5
echo $ECHO_N "checking for API tracing... $ECHO_C" >&6;
# Check whether --enable-trace or --disable-trace was given.