GNOME Bugzilla – Bug 729403
Deprecate GNOME_DEBUG_CHECK
Last modified: 2014-11-20 23:03:06 UTC
As discussed with David at the developer hackfest, we should deprecate and remove GNOME_DEBUG_CHECK. • It’s really small. • It has the benefit that it forces a consistent --enable-debug argument across all modules. • It has the downside that the origin of the GNOME_ENABLE_DEBUG #define in code is not clear. I suggest we move it to the autoconf-archive[1] and remove the GNOME-specific references from it. Modules should then be ported to use the new macro. Alternatively, we could deprecate it and suggest modules just inline the code. [1]: http://www.gnu.org/software/autoconf-archive/
Macro upstreamed at: http://savannah.gnu.org/patch/index.php?8452
There's some discussion in the upstream bug about possible feature extensions to the macro which look interesting.
Created attachment 284459 [details] [review] macros2: Deprecate GNOME_DEBUG_CHECK The autoconf-archive AX_DEBUG_CHECK macro should be used instead, or the macro contents should just be substituted into configure.ac directly, since it’s so simple.
Review of attachment 284459 [details] [review]: Looks good to me.
Attachment 284459 [details] pushed as f9073d5 - macros2: Deprecate GNOME_DEBUG_CHECK
This change caused gnome-common to try to install ax_check_enable_debug.m4 to the same place that the autoconf-archive package installs the macro file, which can cause the autoconf-archive and gnome-common packages to conflict in various package management systems (I've experienced the conflict with at least MacPorts and Homebrew so far; I would assume it exists for others as well though). For confirmation, here is a downstream bug report of this conflict: https://trac.macports.org/ticket/45427