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:
parent
a520715f00
commit
da0172306d
@ -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],
|
||||
[
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user