summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-10-24 11:21:13 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-10-24 11:21:13 -0700
commit7a484c1a7926ba7230bae19d501de7ddd129395c (patch)
treeffbbd8270793d8e5d47e54de11aedb450fbc2985 /configure.ac
parenta1d74793451831d7c1be4efba7738664b2264826 (diff)
downloadxrdp-proprietary-7a484c1a7926ba7230bae19d501de7ddd129395c.tar.gz
xrdp-proprietary-7a484c1a7926ba7230bae19d501de7ddd129395c.zip
when using --enable-xrdpdebug turn off compiler optimazations
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e8823350..6c0134e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,6 +92,11 @@ then
[AC_MSG_ERROR([please install libjpeg-dev or libjpeg-devel])])
fi
+if ! test -z "$enable_xrdpdebug"
+then
+ CFLAGS="-g -O0"
+fi
+
# checking for fuse
if ! test -z "$enable_fuse"
then