GDB_AC_DEFINE_RELOCATABLE(ICONV_BIN, iconv, ${iconv_bin})
])
-# On alpha-osf, it appears that libtermcap and libcurses are not compatible.
-# There is a very specific comment in /usr/include/curses.h explaining that
-# termcap routines built into libcurses must not be used.
-#
-# The symptoms we observed so far is GDB unexpectedly changing
-# the terminal settings when tgetent is called - this is particularly
-# visible as the output is missing carriage returns, and so rapidly
-# becomes very hard to read.
-#
-# The readline configure script has already decided that libtermcap
-# was enough for its purposes, and so decided to build readline using
-# libtermcap. Since the TUI mode requires curses, building GDB with
-# TUI enabled results in both libraries to be used at the same time,
-# which is not allowed. This basically means that GDB with TUI is
-# broken on alpha-osf.
-
-case $host_os in
- osf* )
- if test x"$enable_tui" = xyes; then
- AC_MSG_ERROR([Building GDB with TUI mode is not supported on this host])
- fi
- if test x"$enable_tui" = xauto; then
- enable_tui=no
- fi
- ;;
-esac
-
# For the TUI, we need enhanced curses functionality.
if test x"$enable_tui" != xno; then
prefer_curses=yes