* Contribute Hitachi SH5 simulator.
[deliverable/binutils-gdb.git] / sim / configure.in
index c37304990f0fc65efae890630f259906d8a2add0..52a0138aff684068f735806a1bbc6adc36976571 100644 (file)
@@ -1,5 +1,5 @@
 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
@@ -18,7 +18,6 @@ AC_SUBST(AR)
 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
@@ -47,9 +46,18 @@ extra_subdirs=common
 #  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"
+       ;;
+  xscale-*-*)
+       sim_target=arm
+       extra_subdirs="${extra_subdirs} testsuite"
+       ;;
   d10v-*-*)            sim_target=d10v ;;
   d30v-*-*)
        sim_target=d30v
@@ -61,6 +69,7 @@ case "${target}" in
   h8500-*-*)           sim_target=h8500 ;;
   i960-*-*)            sim_target=i960 ;;
   m32r-*-*)            sim_target=m32r ;;
+  m68hc11-*-*|m6811-*-*) sim_target=m68hc11 ;;
   mcore-*-*)           sim_target=mcore ;;
   mips*-*-*)
        # The MIPS simulator can only be compiled by gcc.
@@ -77,8 +86,13 @@ case "${target}" in
   mn10200*-*-*)
        sim_target=mn10200
        ;;
+  sh64-*-*)
+       sim_target=sh64
+       extra_subdirs="${extra_subdirs} testsuite"
+       ;;
   sh*-*-*)             sim_target=sh ;;
-  powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | powerpc*-*-elf* | powerpc*-*-linux* )
+  powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | \
+  powerpc*-*-elf* | powerpc*-*-linux* | powerpc*-*-netbsd* )
        # The PowerPC simulator uses the GCC extension long long as well as
        # ANSI prototypes, so don't enable it for random host compilers
        # unless asked to.
@@ -86,6 +100,11 @@ case "${target}" in
        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
@@ -131,8 +150,6 @@ case "${target}" in
 esac
 
 
-
-
 # Is there a testsuite directory for the target?
 testdir=`echo ${target} | sed -e 's/-.*-/-/'`
 if test -r ${srcdir}/testsuite/${testdir}/configure ; then
This page took 0.02947 seconds and 4 git commands to generate.