summaryrefslogtreecommitdiff
path: root/src/fr-command.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-10-01 13:11:03 +0200
committerraveit65 <[email protected]>2019-10-03 11:27:14 +0200
commit7d5048dcb46585fd4328ad1c2a4942aee02a22a0 (patch)
treeefe058b2ce2d06b47b111d0623f1dbbc30615126 /src/fr-command.h
parentf10463c3de365ebdeb073892f79331c35de4c601 (diff)
downloadengrampa-7d5048dcb46585fd4328ad1c2a4942aee02a22a0.tar.bz2
engrampa-7d5048dcb46585fd4328ad1c2a4942aee02a22a0.tar.xz
Set compiler debug flags using MATE_DEBUG_CHECK and update configure summary
test: $ ./autogen.sh --enable-debug=profile --prefix=/usr <cut> 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 <cut> 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
Diffstat (limited to 'src/fr-command.h')
-rw-r--r--src/fr-command.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fr-command.h b/src/fr-command.h
index 772189b..2924a5d 100644
--- a/src/fr-command.h
+++ b/src/fr-command.h
@@ -23,6 +23,7 @@
#ifndef FR_COMMAND_H
#define FR_COMMAND_H
+#include <config.h>
#include <glib.h>
#include "file-data.h"
#include "fr-process.h"
@@ -59,8 +60,8 @@ typedef enum {
FR_ACTION_SAVING_REMOTE_ARCHIVE /* copying the archive to a remote location */
} FrAction;
-#ifdef DEBUG
-extern char *action_names[];
+#if MATE_ENABLE_DEBUG
+const char * get_action_name (FrAction action);
#endif
struct _FrCommand