From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8508 invoked by alias); 6 Jul 2015 10:52:41 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 8480 invoked by uid 48); 6 Jul 2015 10:52:40 -0000 From: "dilyan.palauzov at aegee dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/18626] New: 'show configuration' and --enable-tui Date: Mon, 06 Jul 2015 10:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dilyan.palauzov at aegee dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q3/txt/msg00040.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18626 Bug ID: 18626 Summary: 'show configuration' and --enable-tui Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: dilyan.palauzov at aegee dot org Target Milestone: --- 'show configuration' shall print information where TUIis compiled in. Just add an AC_DEFINE(HAVE_TUI, 1, [Define if TUI support is enabled]) in configure.ac, line 2508: # Check whether we should enable the TUI, but only do so if we really # can. if test x"$enable_tui" != xno; then if test -d $srcdir/tui; then if test "$curses_found" != no; then CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)" CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)" CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)" ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)" AC_DEFINE(HAVE_TUI, 1, [Define if TUI support is enabled]) else if test x"$enable_tui" = xyes; then AC_MSG_ERROR([no enhanced curses library found; disable TUI]) else AC_MSG_WARN([no enhanced curses library found; disabling TUI]) fi fi fi fi and then in gdb/top.c:gdb_print_configuration() insert #if HAVE_TUI fprintf_filtered (stream, _("\ --enable-tui\n\ ")); #else fprintf_filtered (stream, _("\ --disable-tui\n\ ")); #endif between the --with-auto-load and -with-expat segments. Then move the --with-babeltrace snippet right after --with-auto-load-dir and reorder --with-guile, to keep the alphabetical order of the shown directives. -- You are receiving this mail because: You are on the CC list for the bug.