fix build with --enable-xrdpdebug=yes

This commit is contained in:
volth
2017-01-04 19:13:49 +00:00
parent 37b4a14b54
commit 26a26ef906
14 changed files with 2 additions and 27 deletions
-2
View File
@@ -20,8 +20,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
AM_CFLAGS = $(OPENSSL_CFLAGS)
+1 -2
View File
@@ -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...)
+1 -1
View File
@@ -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 \
-2
View File
@@ -14,8 +14,6 @@ LIBXRDP_EXTRA_LIBS =
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
if XRDP_NEUTRINORDP
-2
View File
@@ -7,8 +7,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \
-2
View File
@@ -8,8 +8,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \
-2
View File
@@ -7,8 +7,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \
-2
View File
@@ -11,8 +11,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
if SESMAN_NOPAM
-2
View File
@@ -13,8 +13,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
CHANSRV_EXTRA_LIBS =
-2
View File
@@ -7,8 +7,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \
-2
View File
@@ -9,8 +9,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
AM_CFLAGS = $(X_CFLAGS)
-2
View File
@@ -7,8 +7,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \
-2
View File
@@ -17,8 +17,6 @@ XRDP_EXTRA_LIBS =
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
if XRDP_RFXCODEC
-2
View File
@@ -7,8 +7,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif
module_LTLIBRARIES = \