Changes by: flatcap
Update of /cvsroot/linux-ntfs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv407
Modified Files:
configure.ac
Log Message:
centralised logging system
Index: configure.ac
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/configure.ac,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -p -r1.89 -r1.90
--- configure.ac 15 Oct 2005 22:30:20 -0000 1.89
+++ configure.ac 16 Oct 2005 21:57:00 -0000 1.90
@@ -139,6 +139,16 @@ if test "$enable_test" = "yes"; then
CFLAGS="$CFLAGS -DNTFS_TEST"
fi
+AH_TEMPLATE([NTFS_DISABLE_DEBUG_LOGGING],
+ [Define this if you want to compile out the debug log messages.
+ This will reduce the size of the binaries.])
+AC_ARG_ENABLE(debug-logging,
+ AS_HELP_STRING(--disable-debug-logging,Remove debug logging from the code),
+ if test "$enable_debug_logging" == "no"; then
+ AC_DEFINE(NTFS_DISABLE_DEBUG_LOGGING)
+ fi,
+)
+
# Use GNU extensions if available.
AC_GNU_SOURCE
|