mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
* configure.in: Make sure that the wborder function is available.
Otherwise, search for it in the cur_colr library. * configure: Regenerate.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2004-02-25 J. Brobecker <brobecker@gnat.com>
|
||||||
|
|
||||||
|
* configure.in: Make sure that the wborder function is available.
|
||||||
|
Otherwise, search for it in the cur_colr library.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2004-02-25 Andrew Cagney <cagney@redhat.com>
|
2004-02-25 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
|
* hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
|
||||||
|
973
gdb/configure
vendored
973
gdb/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -146,6 +146,16 @@ fi
|
|||||||
AC_SEARCH_LIBS(initscr, [ncurses Hcurses curses pdcurses], [],
|
AC_SEARCH_LIBS(initscr, [ncurses Hcurses curses pdcurses], [],
|
||||||
[AC_MSG_WARN([no curses library found])])
|
[AC_MSG_WARN([no curses library found])])
|
||||||
|
|
||||||
|
# Check whether the wborder function is provided by the curses
|
||||||
|
# library detected above. In certain implementations such as
|
||||||
|
# the HP/UX Hcurses for instance, this function is provided by an
|
||||||
|
# additional library. So if we did not find this function inside
|
||||||
|
# the curses library, try some alternate libraries we know might
|
||||||
|
# provide it.
|
||||||
|
AC_CHECK_FUNC(wborder, [wborder_available=yes],
|
||||||
|
[AC_SEARCH_LIBS(wborder, [cur_colr], [wborder_available=yes],
|
||||||
|
[AC_MSG_WARN([no wborder function found])])])
|
||||||
|
|
||||||
# Enable TUI.
|
# Enable TUI.
|
||||||
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)],
|
||||||
@ -157,7 +167,7 @@ AC_ARG_ENABLE(tui,
|
|||||||
esac],enable_tui=yes)
|
esac],enable_tui=yes)
|
||||||
if test x"$enable_tui" = xyes; then
|
if test x"$enable_tui" = xyes; then
|
||||||
if test -d $srcdir/tui; then
|
if test -d $srcdir/tui; then
|
||||||
if test "$ac_cv_search_initscr" != no; then
|
if test "$ac_cv_search_initscr" != no -a "$wborder_available" = "yes"; then
|
||||||
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
|
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
|
||||||
CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
|
CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
|
||||||
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
|
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
|
||||||
|
Reference in New Issue
Block a user