1 dnl Process this file with autoconf to produce a configure script.
8 AC_CHECK_TOOL(RANLIB, ranlib, :)
10 AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
20 # Put a plausible default for CC_FOR_BUILD in Makefile.
21 if test "x$cross_compiling" = "xno"; then
26 AC_SUBST(CC_FOR_BUILD)
28 # If a cpu ever has more than one simulator to choose from, use
29 # --enable-sim=... to choose.
32 [case "${enableval}" in
34 *) AC_MSG_ERROR(bad value ${enableval} given for --enable-sim option) ;;
37 # WHEN ADDING ENTRIES TO THIS MATRIX:
39 # Make sure that the left side always has two dashes. Otherwise you
40 # can get spurious matches. Even for unambiguous cases, do this as a
41 # convention, else the table becomes a real mess to understand and
44 if test "${enable_sim}" != no; then
49 arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
50 AC_CONFIG_SUBDIRS(arm)
55 AC_CONFIG_SUBDIRS(d10v)
58 AC_CONFIG_SUBDIRS(frv)
63 AC_CONFIG_SUBDIRS(h8300)
68 AC_CONFIG_SUBDIRS(m32r)
72 m68hc11-*-*|m6811-*-*)
73 AC_CONFIG_SUBDIRS(m68hc11)
78 AC_CONFIG_SUBDIRS(mcore)
83 AC_CONFIG_SUBDIRS(mips)
88 AC_CONFIG_SUBDIRS(mn10300)
97 AC_CONFIG_SUBDIRS(ppc)
101 AC_CONFIG_SUBDIRS(v850)
105 AC_CONFIG_SUBDIRS(erc32)
108 if test "$testsuite" = yes; then
109 AC_CONFIG_SUBDIRS(testsuite)
111 if test "$common" = yes; then
112 AC_CONFIG_SUBDIRS(common)
114 if test "$igen" = yes; then
115 AC_CONFIG_SUBDIRS(igen)