aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1999-01-06 23:10:48 +0000
committerDavid Taylor <taylor@redhat.com>1999-01-06 23:10:48 +0000
commit460845ab29f7ad9fed59073a2b53d690ca0d9eb9 (patch)
tree3adc3c5e11437bbcf28d1d50ba85094836df0824 /gdb/configure.in
parent5ee261db889d2e0781cac6e50d79d8e1726809cf (diff)
downloadgdb-460845ab29f7ad9fed59073a2b53d690ca0d9eb9.zip
gdb-460845ab29f7ad9fed59073a2b53d690ca0d9eb9.tar.gz
gdb-460845ab29f7ad9fed59073a2b53d690ca0d9eb9.tar.bz2
HP merge related changes; TUI stuff; new configs for 10.20 and 11.00; new files.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in28
1 files changed, 27 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 96c2e3c..f120a3d 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -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.