aboutsummaryrefslogtreecommitdiff
path: root/sim/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sim/configure.ac')
-rw-r--r--sim/configure.ac8
1 files changed, 5 insertions, 3 deletions
diff --git a/sim/configure.ac b/sim/configure.ac
index 896791e..d92ca25 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -43,9 +43,11 @@ m4_define([SIM_ARCH], [
])
if test "${enable_sim}" != no; then
sinclude(configure.tgt)
- AC_CONFIG_SUBDIRS(testsuite)
- if test "$sim_igen" = yes; then
- AC_CONFIG_SUBDIRS(igen)
+ if test x"${sim_arch}" != x; then
+ AC_CONFIG_SUBDIRS(testsuite)
+ if test "$sim_igen" = yes; then
+ AC_CONFIG_SUBDIRS(igen)
+ fi
fi
fi