gdb: remove newlines from some linux_nat_debug_printf calls
[binutils-gdb.git] / sim / configure.ac
index 00d1e8d4b91dcf3d6c194210abcaf048b7cbbcc3..0c14b1da79e24ef44afb59bb11802c91949b3a6b 100644 (file)
@@ -103,6 +103,7 @@ m4_define([SIM_TARGET], [dnl
       $4
       ;;
   esac
+  SIM_AC_TOOLCHAIN_FOR_TARGET($2)
   AM_CONDITIONAL([SIM_ENABLE_ARCH_$2], [${sim_enable_arch_$2}])
 ])
 
@@ -151,10 +152,12 @@ if test "${enable_sim}" != no; then
   done
 
   if test "x${enable_example_sims}" = xyes; then
+    SIM_AC_TOOLCHAIN_FOR_TARGET(example-synacor)
     SIM_BUILD_TARGET([example-synacor])
   fi
 fi
 AM_CONDITIONAL([SIM_ENABLE_IGEN], [test "$sim_igen" = "yes"])
+AM_CONDITIONAL([ENABLE_SIM], [test -n "$SIM_SUBDIRS"])
 
 dnl Standard (and optional) simulator options.
 dnl Eventually all simulators will support these.