aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/configure.ac')
-rw-r--r--gdb/testsuite/configure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/testsuite/configure.ac b/gdb/testsuite/configure.ac
index 80d89aa..a9d63cb 100644
--- a/gdb/testsuite/configure.ac
+++ b/gdb/testsuite/configure.ac
@@ -43,6 +43,23 @@ case $target in
AC_CONFIG_SUBDIRS(gdb.hp) ;;
esac
+# Add Cell/B.E. specific tests when appropriate.
+# We need support for both PowerPC and SPU targets configured in.
+case $target in
+ powerpc*-*-linux*)
+ have_spu_target=no
+ for targ in `echo $enable_targets | sed 's/,/ /g'`
+ do
+ case "${targ}" in
+ spu*|all) have_spu_target=yes ;;
+ esac
+ done
+ if test x$have_spu_target = xyes; then
+ AC_CONFIG_SUBDIRS(gdb.cell)
+ fi
+ ;;
+esac
+
# With stabs.
AC_ARG_WITH(stabs,
[ --with-stabs arrange to use stabs instead of host debug format],,