summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure16
-rw-r--r--configure.in16
2 files changed, 9 insertions, 23 deletions
diff --git a/configure b/configure
index 06cac9e..9436ba9 100755
--- a/configure
+++ b/configure
@@ -1070,8 +1070,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-funcstack Enable the function stack tracing (for developer
+ debugging).
--enable-trace Enable API tracing capability. Default=no if debug
is disabled.
--enable-instrument Enable library instrumentation of optimization
@@ -47806,16 +47806,9 @@ if test "${enable_funcstack+set}" = set; then
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"
+ X-yes)
+ FUNCSTACK=yes
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
@@ -47825,6 +47818,7 @@ _ACEOF
;;
*)
+ FUNCSTACK=no
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
;;
diff --git a/configure.in b/configure.in
index f600b51..decdeb2 100644
--- a/configure.in
+++ b/configure.in
@@ -1822,26 +1822,18 @@ dnl
AC_MSG_CHECKING([whether function stack tracking is enabled])
AC_ARG_ENABLE([funcstack],
[AC_HELP_STRING([--enable-funcstack],
- [Enable the function stack tracing.
- Default=no if debug is disabled.])],
+ [Enable the function stack tracing (for developer debugging).])],
[FUNCSTACK=$enableval])
-dnl Default to no if debug is disabled
-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"
+ X-yes)
+ FUNCSTACK=yes
AC_MSG_RESULT([yes])
AC_DEFINE([HAVE_FUNCSTACK], [1],
[Define if the function stack tracing code is to be compiled in])
;;
*)
+ FUNCSTACK=no
AC_MSG_RESULT([no])
;;
esac