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

@@ -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.