aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/configure.ac
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-03-03 16:57:58 +0000
committerTom Tromey <tromey@redhat.com>2011-03-03 16:57:58 +0000
commit30e6268931a753d2ee577177ce0ae6032470874d (patch)
tree37d40ffb847bf787a3dd26340c47e2ba0d3a6462 /gdb/testsuite/configure.ac
parent505f141243bc0d34cda55cb2e5f6cd3697367e0d (diff)
downloadgdb-30e6268931a753d2ee577177ce0ae6032470874d.zip
gdb-30e6268931a753d2ee577177ce0ae6032470874d.tar.gz
gdb-30e6268931a753d2ee577177ce0ae6032470874d.tar.bz2
* gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
* gdb.hp/gdb.aCC/configure (Makefile): Remove. * gdb.hp/gdb.aCC/configure.ac: Remove. * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove. * gdb.hp/gdb.base-hp/configure (Makefile): Remove. * gdb.hp/gdb.base-hp/configure.ac: Remove. * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove. * gdb.hp/gdb.compat/configure (Makefile): Remove. * gdb.hp/gdb.compat/configure.ac: Remove. * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove. * gdb.hp/gdb.defects/configure (Makefile): Remove. * gdb.hp/gdb.defects/configure.ac: Remove. * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove. * gdb.hp/gdb.objdbg/configure (Makefile): Remove. * gdb.hp/gdb.objdbg/configure.ac: Remove. * gdb.hp/configure.ac: Remove. * gdb.hp/configure: Remove. * gdb.hp/Makefile.in (SUBDIRS): No longer a configure substitution. (Makefile): Remove rule. * gdb.cell/configure.ac: Remove. * gdb.cell/configure: Remove. * gdb.stabs/Makefile.in (Makefile): Remove. (distclean): Don't remove config.status or config.log. * gdb.stabs/configure (Makefile): Remove. * gdb.stabs/configure.ac: Remove. * configure: Rebuild. * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs. Remove stabs- and cell-specific logic. Test for existence of ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp subdirectories, gdb.cell, and and gdb.stabs. * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
Diffstat (limited to 'gdb/testsuite/configure.ac')
-rw-r--r--gdb/testsuite/configure.ac59
1 files changed, 6 insertions, 53 deletions
diff --git a/gdb/testsuite/configure.ac b/gdb/testsuite/configure.ac
index 9f96f95..8631442 100644
--- a/gdb/testsuite/configure.ac
+++ b/gdb/testsuite/configure.ac
@@ -37,60 +37,10 @@ esac
AM_CONDITIONAL(GMAKE, test "$MAKE_IS_GNU" = yes)
AC_PROG_MAKE_SET
-# Add HP-specific tests when appropriate.
-case $target in
- hppa*-*-hpux*)
- 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],,
-[# We enable stabs tests by default on selected targets.
-case $target in
- powerpc-*-aix* \
- | rs6000-*-aix* \
- | *-*-*bsd* \
- | *-*-go32* \
- | *-*-linux* \
- | *-*-lynxos* \
- | *-sun-* \
- | hppa*-*-* \
- | *-*-elf* \
- | *-*-cygwin* \
- | *-*-mingw* \
- )
- with_stabs=yes ;;
- *)
- with_stabs=no ;;
-esac])
-
-# Add stabs tests when appropriate.
-if test $with_stabs = yes; then
- AC_CONFIG_SUBDIRS(gdb.stabs)
-fi
-
# Enable gdbtk.
AC_ARG_ENABLE(gdbtk,
[ --enable-gtk enable gdbtk graphical user interface (GUI)],,
- [if test -d $srcdir/gdb.gdbtk; then
+ [if test -d $srcdir/../gdbtk && test -d $srcdir/gdb.gdbtk; then
enable_gdbtk=yes
else
enable_gdbtk=no
@@ -141,9 +91,12 @@ AC_EXEEXT
AC_OUTPUT([Makefile \
gdb.ada/Makefile \
gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile \
- gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile \
+ gdb.cell/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile \
gdb.fortran/Makefile gdb.server/Makefile gdb.java/Makefile \
+ gdb.hp/Makefile gdb.hp/gdb.objdbg/Makefile gdb.hp/gdb.base-hp/Makefile \
+ gdb.hp/gdb.aCC/Makefile gdb.hp/gdb.compat/Makefile \
+ gdb.hp/gdb.defects/Makefile \
gdb.mi/Makefile gdb.modula2/Makefile gdb.multi/Makefile \
gdb.objc/Makefile gdb.opencl/Makefile gdb.opt/Makefile gdb.pascal/Makefile \
- gdb.python/Makefile gdb.reverse/Makefile \
+ gdb.python/Makefile gdb.reverse/Makefile gdb.stabs/Makefile \
gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile])