2003-10-10 Dave Brolley <brolley@redhat.com>
[platform/upstream/binutils.git] / sim / testsuite / configure.in
index 7c1b73e..0bebb7a 100644 (file)
@@ -21,6 +21,19 @@ if test -r ${srcdir}/${testdir}/configure ; then
   configdirs="${configdirs} $testdir"
 fi
 
+# add any extra subdirectories
+case $target in
+  *) ;;
+esac
+
+# Compute the target architecture.
+# FIXME: Will need to canonicalize some values.
+# FIXME: Should be in generally accessable place.
+case $target in
+  *) arch=${target_cpu} ;;
+esac
+AC_SUBST(arch)
+
 # configure the subdirectories too
 AC_CONFIG_SUBDIRS($configdirs)