aboutsummaryrefslogtreecommitdiff
path: root/sim/configure.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-01 09:47:03 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-01 09:47:03 +0000
commit52352d38d6218b8c7dcc2b59e88820f702c89fd1 (patch)
treead38de9df23e2d51d7defc9efa12e05a547ac86d /sim/configure.in
parent0ffba68fdc03f68c2cf78cb16ac87464cacf8fde (diff)
downloadgdb-52352d38d6218b8c7dcc2b59e88820f702c89fd1.zip
gdb-52352d38d6218b8c7dcc2b59e88820f702c89fd1.tar.gz
gdb-52352d38d6218b8c7dcc2b59e88820f702c89fd1.tar.bz2
Test/fix pabsh, pabsw, psrlvw.
Diffstat (limited to 'sim/configure.in')
-rw-r--r--sim/configure.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/sim/configure.in b/sim/configure.in
index 99f4aed..0d4e800 100644
--- a/sim/configure.in
+++ b/sim/configure.in
@@ -53,7 +53,7 @@ case "${target}" in
d30v-*-*)
sim_target=d30v
only_if_gcc=yes
- extra_subdirs="${extra_subdirs} igen testsuite"
+ extra_subdirs="${extra_subdirs} igen"
;;
# end-sanitize-d30v
h8300*-*-*) sim_target=h8300 ;;
@@ -131,6 +131,14 @@ case "${target}" in
*) sim_target=none ;;
esac
+
+# Is there a testsuite directory for the target?
+testdir=`echo ${target} | sed -e 's/-.*-/-/'`
+if test -r ${srcdir}/testsuite/${testdir}/configure ; then
+ extra_subdirs="${extra_subdirs} testsuite"
+fi
+
+
case "${enable_sim}" in
no) sim_target=none ;;
yes)