Add a debugging knob (WITH_RDESKTOP_DEBUG) to help folks figure out any

problems they may have.   [parts derived from the PR]

PR:		123720
Submitted-by:	Alexander Logvinov <ports@logvinov.com>
This commit is contained in:
David E. O'Brien 2008-05-21 06:44:36 +00:00
parent e54edb727e
commit add734a62b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213446

View file

@ -22,10 +22,23 @@ GNU_CONFIGURE= yes
DOCS= doc/AUTHORS doc/TODO doc/*.txt
MAN1= rdesktop.1
.if !defined(WITHOUT_IPV6)
.if !defined(WITHOUT_RDESKTOP_IPV6) && !defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --with-ipv6
.endif
.if defined(WITH_RDESKTOP_DEBUG)
CONFIGURE_ARGS+= --with-debug\
--with-debug-kbd\
--with-debug-rdp5\
--with-debug-clipboard\
--with-debug-sound\
--with-debug-channel\
--with-debug-seamless
post-configure:
${ECHO} "#define WITH_DEBUG_SERIAL 1" >> ${WRKSRC}/rdesktop.h
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rdesktop ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/rdesktop.1 ${MAN1PREFIX}/man/man1