]> granicus.if.org Git - libevent/commitdiff
do not undefine USE_DEBUG in header file; allow CFLAGS specification; from
authorNiels Provos <provos@gmail.com>
Sat, 17 Dec 2005 20:18:10 +0000 (20:18 +0000)
committerNiels Provos <provos@gmail.com>
Sat, 17 Dec 2005 20:18:10 +0000 (20:18 +0000)
Stas Bekman

svn:r191

README
log.h

diff --git a/README b/README
index b8f69cdee419993c7bee34784f2f385747118c2b..bd4a84ca325b7f7a12aa0d42a1d4db3d81c98ae2 100644 (file)
--- a/README
+++ b/README
@@ -12,6 +12,10 @@ $ make verify
 
 Before, reporting any problems, please run the regression tests.
 
+To enable the low-level tracing build the library as:
+
+CFLAGS=-DUSE_DEBUG ./configure [...]
 Acknowledgements:
 -----------------
 
@@ -25,5 +29,7 @@ fixing bugs:
   William Ahern
   Alexander von Gernler
   Artur Grabowski
+  Stas Bekman
+  Tassilo von Parseval
 
 If I have forgotten your name, please contact me.
diff --git a/log.h b/log.h
index e19d8a06ea5e7b7f03a1e4e3d55e8a75fbfac72b..6ec56b425b247bd62684e02a27abc83eb64cd2bf 100644 (file)
--- a/log.h
+++ b/log.h
@@ -33,7 +33,7 @@ void event_errx(int eval, const char *fmt, ...);
 void event_warnx(const char *fmt, ...);
 void event_msgx(const char *fmt, ...);
 void _event_debugx(const char *fmt, ...);
-#undef USE_DEBUG
+
 #ifdef USE_DEBUG
 #define event_debug(x) _event_debugx x
 #else