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)