diff options
author | Rob Bradford <rob@o-hand.com> | 2008-10-03 17:09:01 +0000 |
---|---|---|
committer | rob <rob@aea7fca7-3721-49c4-ace3-ac8c44b998bb> | 2008-10-03 17:09:01 +0000 |
commit | 33137a546bc750c7dc04d36543b822efe23db21c (patch) | |
tree | 2c618683c40286cf7eb2be8e6afa11f8f521c12f | |
parent | a318e484d318f2b9445edfba7c08645877b7784e (diff) | |
download | anjuta-poky-33137a546bc750c7dc04d36543b822efe23db21c.tar.gz anjuta-poky-33137a546bc750c7dc04d36543b822efe23db21c.tar.bz2 anjuta-poky-33137a546bc750c7dc04d36543b822efe23db21c.zip |
2008-10-02 Rob Bradford <rob@linux.intel.com>
* configure.ac:
* src/plugin.c (anjuta_plugin_sdk_activate):
Make the GDB integration conditional with --enable-gdb-integration.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | src/plugin.c | 5 |
3 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2008-10-02 Rob Bradford <rob@linux.intel.com> + + * configure.ac: + * src/plugin.c (anjuta_plugin_sdk_activate): + Make the GDB integration conditional with --enable-gdb-integration. + 2008-09-26 Rob Bradford <rob@linux.intel.com> * src/beaver-util.h: diff --git a/configure.ac b/configure.ac index 5766e67..a1ad7ee 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,14 @@ PKG_CHECK_MODULES(LIBANJUTA, [libanjuta-1.0]) AC_SUBST(LIBANJUTA_CFLAGS) AC_SUBST(LIBANJUTA_LIBS) +AC_ARG_ENABLE(gdb_integration, + AS_HELP_STRING([--enable-gdb-integration], + ["Enable experimental gdb integration"]), + [if test "x$enableval" = "xyes"; then + AC_DEFINE(GDB_INTEGRATION, 1, Enable experimental GDB integration) + fi]) + + dnl Setup Plugin directories dnl ------------------------ anjutalibdir=`pkg-config --variable=libdir libanjuta-1.0` diff --git a/src/plugin.c b/src/plugin.c index fda61e0..4536e40 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -1500,6 +1500,11 @@ anjuta_plugin_sdk_activate (AnjutaPlugin *plugin) sp->remote_stop_action = anjuta_ui_get_action (ui, "ActionGroupSdk", "ActionStopRemote"); +#ifndef GDB_INTEGRATION + gtk_action_set_visible (sp->remote_debug_action, FALSE); + gtk_action_set_visible (sp->remote_debug_stop_action, FALSE); +#endif + gtk_action_set_sensitive (sp->qemu_start_action, FALSE); gtk_action_set_sensitive (sp->qemu_shutdown_action, FALSE); gtk_action_set_sensitive (sp->deploy_action, FALSE); |