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 "x$cross_compiling" = "xno"; then
26 AC_SUBST(CC_FOR_BUILD)
27 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
28 AC_SUBST(CFLAGS_FOR_BUILD)
30 # If a cpu ever has more than one simulator to choose from, use
31 # --enable-sim=... to choose.
34 [case "${enableval}" in
36 *) AC_MSG_ERROR(bad value ${enableval} given for --enable-sim option) ;;
39 m4_define([SIM_ARCH], [
43 if test "${enable_sim}" != no; then
44 sinclude(configure.tgt)
45 if test "$sim_testsuite" = yes; then
46 AC_CONFIG_SUBDIRS(testsuite)
48 if test "$sim_common" = yes; then
49 AC_CONFIG_SUBDIRS(common)
51 if test "$sim_igen" = yes; then
52 AC_CONFIG_SUBDIRS(igen)