1 dnl Process this file with autoconf to produce a configure script.
2 m4_include([../config/override.m4])
9 AC_CHECK_TOOL(RANLIB, ranlib, :)
20 # Put a plausible default for CC_FOR_BUILD in Makefile.
21 if test -z "$CC_FOR_BUILD"; then
22 if test "x$cross_compiling" = "xno"; then
28 AC_SUBST(CC_FOR_BUILD)
29 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
30 AC_SUBST(CFLAGS_FOR_BUILD)
32 # If a cpu ever has more than one simulator to choose from, use
33 # --enable-sim=... to choose.
35 [AS_HELP_STRING([--enable-sim], [Enable the GNU simulator])],
36 [case "${enableval}" in
38 *) AC_MSG_ERROR(bad value ${enableval} given for --enable-sim option) ;;
41 m4_define([SIM_ARCH], [
45 if test "${enable_sim}" != no; then
46 sinclude(configure.tgt)
47 AC_CONFIG_SUBDIRS(testsuite)
48 if test "$sim_igen" = yes; then
49 AC_CONFIG_SUBDIRS(igen)