1 dnl Process this file with autoconf to produce a configure script.
5 AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
15 # Put a plausible default for CC_FOR_BUILD in Makefile.
17 if test "x$cross_compiling" = "xno"; then
22 AC_SUBST(CC_FOR_BUILD)
24 # WHEN ADDING ENTRIES TO THIS MATRIX:
25 # Make sure that the left side always has two dashes. Otherwise you
26 # can get spurious matches. Even for unambiguous cases, do this as a
27 # convention, else the table becomes a real mess to understand and maintain.
30 arm*-*-*) sim_target=arm ;;
31 h8300*-*-*) sim_target=h8300 ;;
32 h8500-*-*) sim_target=h8500 ;;
33 mips*-*-*) sim_target=mips ;;
34 sh*-*-*) sim_target=sh ;;
35 powerpc*-*-eabi*) if test x$GCC != x""; then sim_target=ppc; fi ;;
36 w65-*-*) sim_target=w65 ;;
37 z8k*-*-*) sim_target=z8k ;;
41 configdirs=${sim_target}
42 AC_CONFIG_SUBDIRS($configdirs)