dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.12.1)dnl
+AC_PREREQ(2.13)dnl
AC_INIT(Makefile.in)
AC_PROG_CC
AC_PROG_RANLIB
# Put a plausible default for CC_FOR_BUILD in Makefile.
-AC_C_CROSS
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
# convention, else the table becomes a real mess to understand and maintain.
case "${target}" in
- arm*-*-*) sim_target=arm ;;
- strongarm*-*-*) sim_target=arm ;;
- thumb*-*-*) sim_target=arm ;;
+ arm*-*-* | thumb*-*-*)
+ sim_target=arm
+ extra_subdirs="${extra_subdirs} testsuite"
+ ;;
+ strongarm*-*-*)
+ sim_target=arm
+ extra_subdirs="${extra_subdirs} testsuite"
+ ;;
d10v-*-*) sim_target=d10v ;;
d30v-*-*)
sim_target=d30v
only_if_gcc=yes
#extra_subdirs="${extra_subdirs}"
;;
+ tic80-*-*)
+ sim_target=tic80
+ only_if_gcc=yes
+ extra_subdirs="${extra_subdirs} igen"
+ ;;
v850-*-*)
# The V850 simulator can only be compiled by gcc.
sim_target=v850
esac
-
-
# Is there a testsuite directory for the target?
testdir=`echo ${target} | sed -e 's/-.*-/-/'`
if test -r ${srcdir}/testsuite/${testdir}/configure ; then