aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/configure
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2000-02-07 00:19:45 +0000
committerJason Molenda <jmolenda@apple.com>2000-02-07 00:19:45 +0000
commit3fc11d3e80ff4229745e2185a9ee77c780220f3d (patch)
tree9d2e895407002a577d938d47f3c5e2b57793ff60 /gdb/testsuite/configure
parentdfcd3bfb6f8a213007c20e60060b4e9ec9205205 (diff)
downloadgdb-3fc11d3e80ff4229745e2185a9ee77c780220f3d.zip
gdb-3fc11d3e80ff4229745e2185a9ee77c780220f3d.tar.gz
gdb-3fc11d3e80ff4229745e2185a9ee77c780220f3d.tar.bz2
import insight-2000-02-04 snapshot (2nd try)
Diffstat (limited to 'gdb/testsuite/configure')
-rwxr-xr-xgdb/testsuite/configure36
1 files changed, 36 insertions, 0 deletions
diff --git a/gdb/testsuite/configure b/gdb/testsuite/configure
index 19ddd89..a64d42e 100755
--- a/gdb/testsuite/configure
+++ b/gdb/testsuite/configure
@@ -709,6 +709,42 @@ if test "${shared}" = "true"; then
fi
# End stuff to support --enable-shared
+# Start stuff to support --enable-gdbtk
+# Check whether --enable-gdbtk or --disable-gdbtk was given.
+if test "${enable_gdbtk+set}" = set; then
+ enableval="$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 ;;
+ *)
+ { echo "configure: error: bad value ${enableval} given for gdbtk option" 1>&2; exit 1; } ;;
+esac
+else
+
+# Default is on for everything but go32 and windows
+case "$host" in
+ *go32* | *windows*)
+ ;;
+ *)
+ enable_gdbtk=yes ;;
+ esac
+
+fi
+
+
+if test "${enable_gdbtk}" = "yes"; then
+ configdirs="${configdirs} gdb.gdbtk"
+fi
+# End stuff to support --enable-shared
# configure the subdirectories too
subdirs="$configdirs"