From 76a39ba7a1ba8d1ed51482ac5fb0091c98e02c2f Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 24 Mar 2009 17:01:34 +0000 Subject: [PATCH] * configure.ac: Initialize the variable $PREFER_CURSES. * configure: Regenerated. --- gdb/ChangeLog | 5 +++++ gdb/configure | 3 ++- gdb/configure.ac | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 526e72aa913..a88bc6b7d76 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-03-24 Jan Kratochvil + + * configure.ac: Initialize the variable $PREFER_CURSES. + * configure: Regenerated. + 2009-03-24 Jan Kratochvil * configure.ac: Enable $PREFER_CURSES even with default $ENABLE_TUI. diff --git a/gdb/configure b/gdb/configure index c7651453859..e0bf7866ffd 100755 --- a/gdb/configure +++ b/gdb/configure @@ -8125,8 +8125,9 @@ if test "${with_curses+set}" = set; then opt_curses=$withval fi; +prefer_curses=no if test "$opt_curses" = "yes"; then - prefer_curses=yes + prefer_curses=yes fi # Profiling support. diff --git a/gdb/configure.ac b/gdb/configure.ac index f8d2fd0f762..e8102a934f1 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -334,8 +334,9 @@ fi opt_curses=no AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses library instead of the termcap library]), opt_curses=$withval) +prefer_curses=no if test "$opt_curses" = "yes"; then - prefer_curses=yes + prefer_curses=yes fi # Profiling support. -- 2.30.2