From 7d5048dcb46585fd4328ad1c2a4942aee02a22a0 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 1 Oct 2019 13:11:03 +0200 Subject: Set compiler debug flags using MATE_DEBUG_CHECK and update configure summary test: $ ./autogen.sh --enable-debug=profile --prefix=/usr Configuration: Source code location: . Compiler: gcc Compiler flags: -g -pg Warning flags: -Wall -Wmissing-prototypes Linker flags: -pg Caja support: yes PackageKit support: yes Run in place no Use libmagic: no JSON support: yes Now type `make' to compile engrampa $ ./autogen.sh --enable-debug --prefix=/usr Configuration: Source code location: . Compiler: gcc Compiler flags: -g -O0 Warning flags: -Wall -Wmissing-prototypes Linker flags: Caja support: yes PackageKit support: yes Run in place no Use libmagic: no JSON support: yes Now type `make' to compile engrampa $ grep MATE_ENABLE_DEBUG config.h --- src/fr-archive.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fr-archive.c') diff --git a/src/fr-archive.c b/src/fr-archive.c index 2bbf4fa..cb7b168 100644 --- a/src/fr-archive.c +++ b/src/fr-archive.c @@ -693,8 +693,8 @@ action_started (FrCommand *command, FrAction action, FrArchive *archive) { -#ifdef DEBUG - debug (DEBUG_INFO, "%s [START] (FR::Archive)\n", action_names[action]); +#ifdef MATE_ENABLE_DEBUG + debug (DEBUG_INFO, "%s [START] (FR::Archive)\n", get_action_name (action)); #endif g_signal_emit (G_OBJECT (archive), @@ -930,8 +930,8 @@ action_performed (FrCommand *command, FrProcError *error, FrArchive *archive) { -#ifdef DEBUG - debug (DEBUG_INFO, "%s [DONE] (FR::Archive)\n", action_names[action]); +#ifdef MATE_ENABLE_DEBUG + debug (DEBUG_INFO, "%s [DONE] (FR::Archive)\n", get_action_name (action)); #endif switch (action) { -- cgit v1.2.1