summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure37
1 files changed, 33 insertions, 4 deletions
diff --git a/configure b/configure
index 34ca1c4..c0a7674 100755
--- a/configure
+++ b/configure
@@ -1008,6 +1008,7 @@ 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]
@@ -4107,7 +4108,7 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4110 "configure"' > conftest.$ac_ext
+ echo '#line 4111 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -4648,7 +4649,7 @@ chmod -w .
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
-if { (eval echo configure:4651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:4652: \"$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
@@ -6459,7 +6460,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 6462 "configure"
+#line 6463 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -6557,7 +6558,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 6560 "configure"
+#line 6561 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -27777,6 +27778,31 @@ _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.
@@ -32010,5 +32036,8 @@ IF_ENABLED_DISABLED "$STREAM_VFD"
PRINT_N " Threadsafety"
IF_ENABLED_DISABLED "$THREADSAFE"
+PRINT_N " Function Stack Tracing"
+IF_ENABLED_DISABLED "$FUNCSTACK"
+
PRINT_N " Zlib-compression"
IF_YES_NO "$HAVE_ZLIB"