From d201361d533b73fc1384203168a7d2be4f8c90ab Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 13 Jun 2007 14:53:32 +0000 Subject: [PATCH] Control seamless debug output via configure. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1409 423420c4-83ab-492f-b58f-81f9feb106b5 --- configure.ac | 8 ++++++++ seamless.c | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0085725..148c91b 100644 --- a/configure.ac +++ b/configure.ac @@ -830,6 +830,14 @@ AC_ARG_WITH(debug-channel, fi ]) +AC_ARG_WITH(debug-seamless, + [ --with-debug-seamless enable debugging of SeamlessRDP code], + [ + if test $withval != "no"; + then + AC_DEFINE(WITH_DEBUG_SEAMLESS,1) + fi + ]) AC_ARG_WITH(debug-smartcard, [ --with-debug-smartcard enable debugging of smart-card code], diff --git a/seamless.c b/seamless.c index b90d9ba..65864c2 100644 --- a/seamless.c +++ b/seamless.c @@ -22,8 +22,6 @@ #include #include -/* #define WITH_DEBUG_SEAMLESS */ - #ifdef WITH_DEBUG_SEAMLESS #define DEBUG_SEAMLESS(args) printf args; #else