aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/configure
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
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')
-rwxr-xr-xsim/testsuite/configure30
1 files changed, 14 insertions, 16 deletions
diff --git a/sim/testsuite/configure b/sim/testsuite/configure
index 1b95177..1949bca 100755
--- a/sim/testsuite/configure
+++ b/sim/testsuite/configure
@@ -644,18 +644,20 @@ test "$host_alias" != "$target_alias" &&
program_prefix=${target_alias}-
-# Directories to use in all configurations.
-configdirs=""
+# Configure sub-directory for appropriate targets
+case ${target} in
+ frv-*-elf )
+ subdirs="frv-elf"
-# add test sub-directory for appropriate targets
-testdir=`echo ${target} | sed -e 's/-.*-/-/'`
-if test -r ${srcdir}/${testdir}/configure ; then
- configdirs="${configdirs} $testdir"
-fi
+ ;;
+ m32r-*-elf )
+ subdirs="frv-elf m32r-elf"
-# add any extra subdirectories
-case $target in
- *) ;;
+ ;;
+ mips64el-*-elf )
+ subdirs="frv-elf m32r-elf mips64el-elf"
+
+ ;;
esac
# Compute the target architecture.
@@ -666,10 +668,6 @@ case $target in
esac
-# configure the subdirectories too
-subdirs="$configdirs"
-
-
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
@@ -830,8 +828,8 @@ s%@build_alias@%$build_alias%g
s%@build_cpu@%$build_cpu%g
s%@build_vendor@%$build_vendor%g
s%@build_os@%$build_os%g
-s%@arch@%$arch%g
s%@subdirs@%$subdirs%g
+s%@arch@%$arch%g
CEOF
EOF
@@ -964,7 +962,7 @@ if test "$no_recursion" != yes; then
esac
done
- for ac_config_dir in $configdirs; do
+ for ac_config_dir in frv-elf m32r-elf mips64el-elf; do
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.