1 dnl Process this file with autoconf to produce a configure script.
8 AC_CHECK_TOOL(RANLIB, ranlib, :)
19 # Put a plausible default for CC_FOR_BUILD in Makefile.
20 if test "x$cross_compiling" = "xno"; then
25 AC_SUBST(CC_FOR_BUILD)
27 # If a cpu ever has more than one simulator to choose from, use
28 # --enable-sim=... to choose.
31 [case "${enableval}" in
33 *) AC_MSG_ERROR(bad value ${enableval} given for --enable-sim option) ;;
36 # WHEN ADDING ENTRIES TO THIS MATRIX:
38 # Make sure that the left side always has two dashes. Otherwise you
39 # can get spurious matches. Even for unambiguous cases, do this as a
40 # convention, else the table becomes a real mess to understand and
43 if test "${enable_sim}" != no; then
48 arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
49 AC_CONFIG_SUBDIRS(arm)
54 AC_CONFIG_SUBDIRS(d10v)
57 AC_CONFIG_SUBDIRS(frv)
62 AC_CONFIG_SUBDIRS(h8300)
67 AC_CONFIG_SUBDIRS(m32r)
71 m68hc11-*-*|m6811-*-*)
72 AC_CONFIG_SUBDIRS(m68hc11)
77 AC_CONFIG_SUBDIRS(mcore)
82 AC_CONFIG_SUBDIRS(mips)
88 AC_CONFIG_SUBDIRS(mn10300)
98 AC_CONFIG_SUBDIRS(ppc)
102 AC_CONFIG_SUBDIRS(v850)
106 if test "$testsuite" = yes; then
107 AC_CONFIG_SUBDIRS(testsuite)
109 if test "$common" = yes; then
110 AC_CONFIG_SUBDIRS(common)
112 if test "$igen" = yes; then
113 AC_CONFIG_SUBDIRS(igen)