CVS: rdesktop configure.ac, 1.37, 1.38 rdesktop.h, 1.35, 1.36

Pierre Ossman <[email protected]> Wed, 06 Dec 2006 04:12:39 -0800
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv16601

Modified Files:
	configure.ac rdesktop.h 
Log Message:
Add configure flag for sound debug messages.


Index: configure.ac
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/configure.ac,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** configure.ac	15 Nov 2006 09:15:36 -0000	1.37
--- configure.ac	6 Dec 2006 12:12:37 -0000	1.38
***************
*** 813,816 ****
--- 813,825 ----
      ])
  
+ AC_ARG_WITH(debug-sound,
+     [  --with-debug-sound  enable debugging of sound code],
+     [
+         if test $withval != "no";
+         then 
+             AC_DEFINE(WITH_DEBUG_SOUND,1)
+ 	fi
+     ])
+ 
  AC_ARG_WITH(debug-channel,
      [  --with-debug-channel  enable debugging of virtual channel code],

Index: rdesktop.h
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdesktop.h,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** rdesktop.h	2 Nov 2006 20:48:28 -0000	1.35
--- rdesktop.h	6 Dec 2006 12:12:37 -0000	1.36
***************
*** 58,61 ****
--- 58,67 ----
  #endif
  
+ #ifdef WITH_DEBUG_SOUND
+ #define DEBUG_SOUND(args) printf args;
+ #else
+ #define DEBUG_SOUND(args)
+ #endif
+ 
  #ifdef WITH_DEBUG_CHANNEL
  #define DEBUG_CHANNEL(args) printf args;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV