HP merge related changes; TUI stuff; new configs for 10.20 and 11.00; new files.

This commit is contained in:
David Taylor 1999-01-06 23:10:48 +00:00
parent 5ee261db88
commit 460845ab29
5 changed files with 371 additions and 256 deletions

View File

@ -1,3 +1,51 @@
Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com>
* configure.in: Add an --enable-tui argument. Construct
tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we
have the GUI, then we need this to process libgui.h.
(ENABLE_CFLAGS): define and export BUILD_TUI.
(AC_CHECK_HEADERS): Add check for term.h.
* configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
* config.in, configure : regenerated.
* Makefile.in: Allow the TUI code to be conditionally enabled.
(TUI_LIBRARY): New variable, value are set by the configuration
script. Set to the empty string when the TUI isn't enabled.
(gdb$(GDBEXT)): Use those, instead of referring to all-tui and
tui/libtui.a directly.
(BUILD_TUI): build the tui -- only when configured with
--enable-tui.
(YLWRAP): use ylwrap to avoid problems on systems w/o bison.
(gdb$(EXEEXT)): make it dependent on BUILD_TUI.
(all-tui): remove dependency from phony target.
(c-exp.tab.c): use ylwrap instead of bison.
(jv-exp.tab.c): ditto.
(f-exp.tab.c): ditto.
(m2-exp.tab.c): ditto.
(ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
(SFILES): remove the above files
(COMMON_OBS): remove somread.o
(SFILES): Add the tui files to this, so they get included in etags
tables.
(gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
tui/libtui.a to the link list.
(all-tui): New rule, which does a recursive make in the tui
subdir.
(tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And
don't echo the make command. This is closer to what the other
recursions do.
(HFILES_NO_SRCDIR): add hpread.h
(COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
(SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
the new files. Remove hpread.c, hpread.o
(gdb$(EXEEXT)): Depend on the actual tui library, not on a
fictitious target. Since the fictitious target never existed,
make would always relink.
(tui/libtui.a): Always recurse to make sure the library is up to
date.
Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com>
* remote.c: Pacify --enable-build-warnings, reformat code

View File

@ -120,6 +120,9 @@
/* Define if your locale.h file contains LC_MESSAGES. */
#undef HAVE_LC_MESSAGES
/* Define if you want to use the full-screen terminal user interface. */
#undef TUI
/* Define if <proc_service.h> on solaris uses int instead of
size_t, and assorted other type changes. */
#undef PROC_SERVICE_IS_OLD

546
gdb/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -41,6 +41,8 @@ c[12]-*-*) gdb_host=convex ;;
hppa*-*-bsd*) gdb_host=hppabsd ;;
hppa*-*-hiux*) gdb_host=hppahpux ;;
hppa*-*-hpux10.20) gdb_host=hpux1020 ;;
hppa*-*-hpux11.0*) gdb_host=hpux1100 ;;
hppa*-*-hpux*) gdb_host=hppahpux ;;
hppa*-*-osf*) gdb_host=hppaosf ;;

View File

@ -26,6 +26,7 @@ AC_CONFIG_HEADER(config.h:config.in)
AC_PROG_CC
AC_AIX
AC_ISC_POSIX
AM_PROG_CC_STDC
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
AC_CANONICAL_SYSTEM
@ -296,6 +297,31 @@ fi
dnl Handle optional features that can be enabled.
ENABLE_CFLAGS=
AC_ARG_ENABLE(tui,
[ --enable-tui Enable full-screen terminal user interface],
[
case "${enable_tui}" in
yes | no) ;;
"") enable_tui=yes ;;
*)
AC_MSG_ERROR(Bad value for --enable-tui: ${enableval})
;;
esac
])
case ${enable_tui} in
"yes" )
AC_DEFINE(TUI)
BUILD_TUI=all-tui
TUI_LIBRARY=tui/libtui.a
;;
* )
BUILD_TUI=
TUI_LIBRARY=
;;
esac
AC_SUBST(BUILD_TUI)
AC_SUBST(TUI_LIBRARY)
AC_ARG_ENABLE(netrom,
[ --enable-netrom Enable NetROM support],
[case "${enableval}" in
@ -874,7 +900,7 @@ dnl Check for exe extension set on certain hosts (e.g. Win32)
AM_EXEEXT
AC_CONFIG_SUBDIRS($configdirs)
AC_OUTPUT(Makefile .gdbinit:gdbinit.in,
AC_OUTPUT(Makefile tui/Makefile .gdbinit:gdbinit.in,
[
dnl Autoconf doesn't provide a mechanism for modifying definitions
dnl provided by makefile fragments.