[Pcsclite-cvs-commit] PCSC configure.in,1.55,1.56

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/PCSC
In directory haydn:/tmp/cvs-serv22503

Modified Files:
	configure.in 
Log Message:
define NO_PCSC_DEBUG and NO_MSC_DEBUG if debug is set to NO instead of
defining PCSC_DEBUG and MSC_DEBUG when debug is selected.
The debug messages are now displayed by default.


Index: configure.in
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/configure.in,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- configure.in	16 Jul 2004 14:03:27 -0000	1.55
+++ configure.in	29 Jul 2004 20:42:31 -0000	1.56
@@ -200,9 +200,9 @@
 
 AC_MSG_RESULT([enable debug messages         : $debug])
 
-if test x${debug} = xtrue ; then
-  AC_DEFINE(PCSC_DEBUG, 1, [enable full PCSC debug messaging.])
-  AC_DEFINE(MSC_DEBUG, 1, [enable full MuscleCard debug messaging.])
+if test x${debug} = xfalse ; then
+  AC_DEFINE(NO_PCSC_DEBUG, 1, [disable PCSC debug messaging.])
+  AC_DEFINE(NO_MSC_DEBUG, 1, [disable MuscleCard debug messaging.])
 fi
 
 dnl --enable-debugatr