summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-26 23:10:37 +0200
committerraveit65 <[email protected]>2019-10-01 16:24:53 +0200
commit8c048c2f6d50c5fe1fbc75d55272b23add539c25 (patch)
tree0c5db26fbaf15f582db9c77082b2a5be0f5ae584 /configure.ac
parent7ff2e5f10e8b0d15a1e75b29312e2afb4256fbb0 (diff)
downloadmarco-8c048c2f6d50c5fe1fbc75d55272b23add539c25.tar.bz2
marco-8c048c2f6d50c5fe1fbc75d55272b23add539c25.tar.xz
Set compiler debug flags using MATE_DEBUG_CHECK
--enable-debug=yes/info/profile/no By default, compiler debug flags are disabled. Test: $ ./autogen.sh && grep "^CFLAGS" config.log CFLAGS=' -Wall -Wcast-align -Wchar-subscripts -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Wshadow' $ ./autogen.sh --enable-debug && grep "^CFLAGS" config.log CFLAGS=' -g -O0 -Wall -Wcast-align -Wchar-subscripts -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Wshadow'
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index aebb17a0..58101770 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@ AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([subdir-objects no-dist-gzip dist-xz check-news])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AM_MAINTAINER_MODE
-AX_CHECK_ENABLE_DEBUG()
+MATE_DEBUG_CHECK([no])
MATE_COMPILE_WARNINGS([yes])
dnl **************************************************************************