diff options
author | Romain Bouvier <skunnyk@alteroot.org> | 2020-12-10 00:50:14 +0100 |
---|---|---|
committer | Romain Bouvier <skunnyk@alteroot.org> | 2020-12-10 00:56:57 +0100 |
commit | 9099ca4cfaf5a0dd7fa22b3969ed0baa4beb9523 (patch) | |
tree | 5e38c24a07fe91993a10cac1912bcdc2f3655718 /configure.ac.in | |
parent | 9a4be9ba143e138c31c44d1d428e459cf5ac258d (diff) | |
download | xfwm4-9099ca4cfaf5a0dd7fa22b3969ed0baa4beb9523.tar.gz |
Use --enable-debug=yes when compiling from git
Diffstat (limited to 'configure.ac.in')
-rw-r--r-- | configure.ac.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac.in b/configure.ac.in index a58dceafb..699a48851 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -24,6 +24,10 @@ m4_define([libepoxy_minimum_version], [1.0]) m4_define([xpresent_minimum_version], [1.0]) m4_define([presentproto_minimum_version], [1.1]) +dnl debugging support for git snapshots +m4_define([xfwm4_debug_default], [ifelse(xfwm4_version_tag(), [git], [yes], [minimum])]) + + dnl init autoconf AC_COPYRIGHT([Copyright (c) 2002-2020 The Xfce development team. All rights reserved. @@ -301,7 +305,7 @@ fi AC_SUBST(ENABLE_KDE_SYSTRAY) dnl Check for debugging support -XDT_FEATURE_DEBUG +XDT_FEATURE_DEBUG([xfwm4_debug_default]) REVISION=unknown if test x"@REVISION@" != x""; then |