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