* gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
[deliverable/binutils-gdb.git] / gdb / testsuite / configure.in
index 83356a9e0d15c85daa1abb2f4a0396bc3c338219..446c8d1429f86a2896fee092d0ddfb148ab03b71 100644 (file)
@@ -13,7 +13,16 @@ AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
 AC_CANONICAL_SYSTEM
 
 # Directories to use in all configurations.
-configdirs="gdb.asm gdb.base gdb.c++ gdb.disasm gdb.chill gdb.threads gdb.trace"
+configdirs="gdb.asm \
+            gdb.base \
+            gdb.c++ \
+            gdb.java \
+            gdb.disasm \
+            gdb.chill \
+            gdb.mi \
+            gdb.threads \
+            gdb.trace"
+
 
 # Directories to use for a configuration which uses stabs.
 stabsdirs="gdb.stabs"
@@ -64,6 +73,41 @@ if test "${shared}" = "true"; then
 fi
 AC_SUBST(RPATH_ENVVAR)
 # End stuff to support --enable-shared
+# Start stuff to support --enable-gdbtk
+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 support --enable-shared
+
+dnl Check for exe extension set on certain hosts (e.g. Win32)
+AC_EXEEXT
 
 # configure the subdirectories too
 AC_CONFIG_SUBDIRS($configdirs)
This page took 0.023199 seconds and 4 git commands to generate.