fix build with --enable-xrdpdebug=yes

master
volth 8 years ago
parent 37b4a14b54
commit 26a26ef906

@ -20,8 +20,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
AM_CFLAGS = $(OPENSSL_CFLAGS)

@ -22,7 +22,6 @@
#include <pthread.h>
#include "arch.h"
#include "defines.h"
/* logging buffer size */
#define LOG_BUFFER_SIZE 1024
@ -58,7 +57,7 @@ enum logReturns
/* enable threading */
/*#define LOG_ENABLE_THREAD*/
#ifdef DEBUG
#ifdef XRDP_DEBUG
#define LOG_DBG(args...) log_message(LOG_LEVEL_DEBUG, args);
#else
#define LOG_DBG(args...)

@ -79,7 +79,7 @@
#define GOOD_RECT(rect) ((rect)->x1 < (rect)->x2 && (rect)->y1 < (rect)->y2)
#define BAD_RECT(rect) ((rect)->x1 > (rect)->x2 || (rect)->y1 > (rect)->y2)
#ifdef DEBUG
#ifdef XRDP_DEBUG
#define GOOD(reg) \
do \

@ -14,8 +14,6 @@ LIBXRDP_EXTRA_LIBS =
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
if XRDP_NEUTRINORDP

@ -7,8 +7,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \

@ -8,8 +8,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \

@ -7,8 +7,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \

@ -11,8 +11,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
if SESMAN_NOPAM

@ -13,8 +13,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
CHANSRV_EXTRA_LIBS =

@ -7,8 +7,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \

@ -9,8 +9,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
AM_CFLAGS = $(X_CFLAGS)

@ -7,8 +7,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \

@ -17,8 +17,6 @@ XRDP_EXTRA_LIBS =
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
if XRDP_RFXCODEC

@ -7,8 +7,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \

Loading…
Cancel
Save