* configure.ac (--enable-tui): AC_MSG_ERROR for explicit --enable-tui.
* configure: Regenerated.
This commit is contained in:
parent
28e9494986
commit
3ca64bd3bd
3 changed files with 23 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* configure.ac (--enable-tui): AC_MSG_ERROR for explicit --enable-tui.
|
||||||
|
* configure: Regenerated.
|
||||||
|
|
||||||
2008-06-26 Joel Brobecker <brobecker@adacore.com>
|
2008-06-26 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* dwarf2read.c (read_attribute_value): Treat size attribute
|
* dwarf2read.c (read_attribute_value): Treat size attribute
|
||||||
|
|
14
gdb/configure
vendored
14
gdb/configure
vendored
|
@ -7573,7 +7573,7 @@ fi
|
||||||
if test "${enable_tui+set}" = set; then
|
if test "${enable_tui+set}" = set; then
|
||||||
enableval="$enable_tui"
|
enableval="$enable_tui"
|
||||||
case $enableval in
|
case $enableval in
|
||||||
yes | no)
|
yes | no | auto)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
{ { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
|
{ { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
|
||||||
|
@ -7581,7 +7581,7 @@ echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
|
||||||
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
enable_tui=yes
|
enable_tui=auto
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
# Enable gdbtk.
|
# Enable gdbtk.
|
||||||
|
@ -25292,7 +25292,7 @@ fi
|
||||||
|
|
||||||
# Check whether we should enable the TUI, but only do so if we really
|
# Check whether we should enable the TUI, but only do so if we really
|
||||||
# can.
|
# can.
|
||||||
if test x"$enable_tui" = xyes; then
|
if test x"$enable_tui" != xno; then
|
||||||
if test -d $srcdir/tui; then
|
if test -d $srcdir/tui; then
|
||||||
if test "$ac_cv_search_waddstr" != no; then
|
if test "$ac_cv_search_waddstr" != no; then
|
||||||
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
|
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
|
||||||
|
@ -25305,8 +25305,14 @@ if test x"$enable_tui" = xyes; then
|
||||||
CONFIG_INSTALL="${CONFIG_INSTALL} install-tui"
|
CONFIG_INSTALL="${CONFIG_INSTALL} install-tui"
|
||||||
CONFIG_UNINSTALL="${CONFIG_UNINSTALL} uninstall-tui"
|
CONFIG_UNINSTALL="${CONFIG_UNINSTALL} uninstall-tui"
|
||||||
else
|
else
|
||||||
{ echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
|
if test x"$enable_tui" = xyes; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: no enhanced curses library found; disable TUI" >&5
|
||||||
|
echo "$as_me: error: no enhanced curses library found; disable TUI" >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
else
|
||||||
|
{ echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
|
||||||
echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
|
echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -267,11 +267,11 @@ fi
|
||||||
AC_ARG_ENABLE(tui,
|
AC_ARG_ENABLE(tui,
|
||||||
[ --enable-tui enable full-screen terminal user interface (TUI)],
|
[ --enable-tui enable full-screen terminal user interface (TUI)],
|
||||||
[case $enableval in
|
[case $enableval in
|
||||||
yes | no)
|
yes | no | auto)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_ERROR([bad value $enableval for --enable-tui]) ;;
|
AC_MSG_ERROR([bad value $enableval for --enable-tui]) ;;
|
||||||
esac],enable_tui=yes)
|
esac],enable_tui=auto)
|
||||||
|
|
||||||
# Enable gdbtk.
|
# Enable gdbtk.
|
||||||
AC_ARG_ENABLE(gdbtk,
|
AC_ARG_ENABLE(gdbtk,
|
||||||
|
@ -1578,7 +1578,7 @@ AC_PATH_X
|
||||||
|
|
||||||
# Check whether we should enable the TUI, but only do so if we really
|
# Check whether we should enable the TUI, but only do so if we really
|
||||||
# can.
|
# can.
|
||||||
if test x"$enable_tui" = xyes; then
|
if test x"$enable_tui" != xno; then
|
||||||
if test -d $srcdir/tui; then
|
if test -d $srcdir/tui; then
|
||||||
if test "$ac_cv_search_waddstr" != no; then
|
if test "$ac_cv_search_waddstr" != no; then
|
||||||
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
|
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
|
||||||
|
@ -1591,7 +1591,11 @@ if test x"$enable_tui" = xyes; then
|
||||||
CONFIG_INSTALL="${CONFIG_INSTALL} install-tui"
|
CONFIG_INSTALL="${CONFIG_INSTALL} install-tui"
|
||||||
CONFIG_UNINSTALL="${CONFIG_UNINSTALL} uninstall-tui"
|
CONFIG_UNINSTALL="${CONFIG_UNINSTALL} uninstall-tui"
|
||||||
else
|
else
|
||||||
AC_MSG_WARN([no enhanced curses library found; disabling TUI])
|
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
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue