From cd426a67e73290741f46af24b62d794535d8e4a9 Mon Sep 17 00:00:00 2001 From: hsn <> Date: Sat, 3 Jan 2004 15:47:42 +0000 Subject: [PATCH] added --enable-debug configure switch --- ChangeLog | 2 ++ TODO | 1 + configure.ac | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a445543..42a4542 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ Version NEXT sven has added fspget URL command to setup.sh. fixed case for mklargefile.py in tests/Makefile.am + added --enable-debug switch to configure for enabling extra + debuging code in client library Version 2.8.1b18 - 25 Nov 24 2003 This is MINIMUM REQUIRED VERSION for applications which are using diff --git a/TODO b/TODO index 17add38..bf1e851 100644 --- a/TODO +++ b/TODO @@ -88,6 +88,7 @@ libraries and support for FSP protocol ====================================== DONE: FSP library for Java +DONE: FSP over HTTP WIP: new small,light fsplib for C. FSP backend for APT FSP plugin do Netscape/MSIE diff --git a/configure.ac b/configure.ac index 58e1f30..8abbb70 100644 --- a/configure.ac +++ b/configure.ac @@ -77,7 +77,9 @@ AC_SYS_LARGEFILE if test "${enable_maintainer_mode+set}" = set; then CFLAGS="-g3 $ac_cv_prog_gcc_flags" AC_CHECK_LIB(efence,EF_Abort) -fi +fi +AC_MSG_CHECKING([if enable extra debug code]) +AC_ARG_ENABLE(debug,[Enable client library debuging],AC_DEFINE(DEBUG,1,[Define if you want more debug messages]) AC_MSG_RESULT(YES),AC_MSG_RESULT(NO)) AC_HEADER_STDC AC_CHECK_HEADERS(limits.h sys/syslimits.h errno.h) AC_CHECK_HEADERS(string.h memory.h strings.h unistd.h sys/resource.h utime.h)