aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-09-01 11:27:27 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-09-01 11:36:59 -0400
commitaf773654b2faf1d001fa2fa6b929a67ce7c7ca00 (patch)
treeb584eb7f1c29775aa84bdc2a0570dc58560e0a24 /configure.in
parentf34171a7ffb8b8d5a32aad46452695ccef591739 (diff)
downloade2fsprogs-af773654b2faf1d001fa2fa6b929a67ce7c7ca00.tar.gz
e2fsprogs-af773654b2faf1d001fa2fa6b929a67ce7c7ca00.tar.xz
e2fsprogs-af773654b2faf1d001fa2fa6b929a67ce7c7ca00.zip
Enable test_io debugging by default
Test I/O debugging is incredibly useful for rooting out problems, so let's enable by default, especially now that its overhead is only incurred when it is needed. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index dbec6926..fcca2acf 100644
--- a/configure.in
+++ b/configure.in
@@ -356,17 +356,22 @@ dnl
dnl handle --enable-testio-debug
dnl
AC_ARG_ENABLE([testio-debug],
-[ --enable-testio-debug enable the use of the test I/O manager for debugging],
+[ --disable-testio-debug disable the use of the test I/O manager for debugging],
if test "$enableval" = "no"
then
AC_MSG_RESULT([Disabling testio debugging])
+ TEST_IO_CMT="#"
else
+ TEST_IO_CMT=
AC_DEFINE(CONFIG_TESTIO_DEBUG)
AC_MSG_RESULT([Enabling testio debugging])
fi
,
-AC_MSG_RESULT([Disabling testio debugging by default])
+AC_MSG_RESULT([Enabling testio debugging by default])
+AC_DEFINE(CONFIG_TESTIO_DEBUG)
+TEST_IO_CMT=
)
+AC_SUBST(TEST_IO_CMT)
dnl
dnl handle --enable-debugfs
dnl