aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/configure.in
diff options
context:
space:
mode:
authorKeith Seitz <keiths@cygnus>1998-06-27 00:47:35 +0000
committerKeith Seitz <keiths@cygnus>1998-06-27 00:47:35 +0000
commitf35ea21826aadb993ad6deb44f781cfbf5f90bff (patch)
tree55a304aab528fb2e2338d630e5042ba2872db0f3 /gdb/testsuite/configure.in
parent7f6cb62ee6bb03d33729ca8a27e3946591efc1f1 (diff)
downloadgdb-f35ea21826aadb993ad6deb44f781cfbf5f90bff.zip
gdb-f35ea21826aadb993ad6deb44f781cfbf5f90bff.tar.gz
gdb-f35ea21826aadb993ad6deb44f781cfbf5f90bff.tar.bz2
* lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
* configure.in: Add options for gdbtk testsuite. * configure: Regenerate. * gdb.gdbtk: New directory to hold gdbtk tests. * gdb.gdbtk/console.{exp, test}: New console window tests.
Diffstat (limited to 'gdb/testsuite/configure.in')
-rw-r--r--gdb/testsuite/configure.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/gdb/testsuite/configure.in b/gdb/testsuite/configure.in
index 858db41..72e8bdb 100644
--- a/gdb/testsuite/configure.in
+++ b/gdb/testsuite/configure.in
@@ -54,6 +54,39 @@ if test "${shared}" = "true"; then
fi
AC_SUBST(RPATH_ENVVAR)
# End stuff to support --enable-shared
+AC_ARG_ENABLE(gdbtk,
+[ --enable-gdbtk ],
+[case "${enableval}" in
+ yes)
+ case "$host" in
+ *go32*)
+ enable_gdbtk=no ;;
+ *windows*)
+ enable_gdbtk=no ;;
+ *)
+ enable_gdbtk=yes ;;
+ esac ;;
+ no)
+ enable_gdbtk=no ;;
+ *)
+ AC_MSG_ERROR(bad value ${enableval} given for gdbtk option) ;;
+esac],
+[
+# Default is on for everything but go32 and windows
+case "$host" in
+ *go32* | *windows*)
+ ;;
+ *)
+ enable_gdbtk=yes ;;
+ esac
+])
+
+if test "${enable_gdbtk}" = "yes"; then
+ configdirs="${configdirs} gdb.gdbtk"
+fi
+# End stuff to suppot --enable-shared
+# start-sanitize-gdbtk
+# Begin stuff to support --enable-gdbtk
# configure the subdirectories too
AC_CONFIG_SUBDIRS($configdirs)