Add configure flag for sound debug messages.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1335 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Pierre Ossman 2006-12-06 12:12:37 +00:00
parent a520715f00
commit da0172306d
2 changed files with 15 additions and 0 deletions

View File

@ -812,6 +812,15 @@ AC_ARG_WITH(debug-clipboard,
fi
])
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],
[

View File

@ -57,6 +57,12 @@
#define DEBUG_CLIPBOARD(args)
#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;
#else