aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/configure.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-07 23:37:38 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-07 23:37:38 +0000
commitd0945c9b3bba38300e691753acf44bee5bd3cc1e (patch)
tree93d0b4e0a49dbfb71c11d635ab536c4b6695748c /sim/testsuite/configure.in
parent4db6a73d176fcb2ad79d68fd90631da71806fbf6 (diff)
downloadgdb-d0945c9b3bba38300e691753acf44bee5bd3cc1e.zip
gdb-d0945c9b3bba38300e691753acf44bee5bd3cc1e.tar.gz
gdb-d0945c9b3bba38300e691753acf44bee5bd3cc1e.tar.bz2
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Pass literal subdirectories to AC_CONFIG_SUBDIRS. * configure: Re-generate.
Diffstat (limited to 'sim/testsuite/configure.in')
-rw-r--r--sim/testsuite/configure.in26
1 files changed, 11 insertions, 15 deletions
diff --git a/sim/testsuite/configure.in b/sim/testsuite/configure.in
index 0bebb7a..064f61e 100644
--- a/sim/testsuite/configure.in
+++ b/sim/testsuite/configure.in
@@ -12,18 +12,17 @@ AC_SUBST(CC)
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
AC_CANONICAL_SYSTEM
-# Directories to use in all configurations.
-configdirs=""
-
-# add test sub-directory for appropriate targets
-testdir=`echo ${target} | sed -e 's/-.*-/-/'`
-if test -r ${srcdir}/${testdir}/configure ; then
- configdirs="${configdirs} $testdir"
-fi
-
-# add any extra subdirectories
-case $target in
- *) ;;
+# Configure sub-directory for appropriate targets
+case ${target} in
+ frv-*-elf )
+ AC_CONFIG_SUBDIRS(frv-elf)
+ ;;
+ m32r-*-elf )
+ AC_CONFIG_SUBDIRS(m32r-elf)
+ ;;
+ mips64el-*-elf )
+ AC_CONFIG_SUBDIRS(mips64el-elf)
+ ;;
esac
# Compute the target architecture.
@@ -34,7 +33,4 @@ case $target in
esac
AC_SUBST(arch)
-# configure the subdirectories too
-AC_CONFIG_SUBDIRS($configdirs)
-
AC_OUTPUT(Makefile)