aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-03-24 17:01:34 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-03-24 17:01:34 +0000
commit76a39ba7a1ba8d1ed51482ac5fb0091c98e02c2f (patch)
treee46073fb1b1295b7f8b31dfc45c00f30a66889d0 /gdb
parentbd8a8e1b9c78376a86a015ac071042c4d52cb9e8 (diff)
downloadgdb-76a39ba7a1ba8d1ed51482ac5fb0091c98e02c2f.zip
gdb-76a39ba7a1ba8d1ed51482ac5fb0091c98e02c2f.tar.gz
gdb-76a39ba7a1ba8d1ed51482ac5fb0091c98e02c2f.tar.bz2
* configure.ac: Initialize the variable $PREFER_CURSES.
* configure: Regenerated.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rwxr-xr-xgdb/configure3
-rw-r--r--gdb/configure.ac3
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 526e72a..a88bc6b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2009-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * configure.ac: Initialize the variable $PREFER_CURSES.
+ * configure: Regenerated.
+
+2009-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
* configure.ac: Enable $PREFER_CURSES even with default $ENABLE_TUI.
* configure: Regenerated.
diff --git a/gdb/configure b/gdb/configure
index c765145..e0bf786 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 f8d2fd0..e8102a9 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.