X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=sim%2Fconfigure.ac;h=896791e97e766c444224ff694185b7d6f838bf62;hb=c0c3707ff46ccfb78ea175dd42d628d8c90dca8b;hp=39f9c6e179a3a5118f0b511b59357decd9db7790;hpb=8d0978fb4bf62e760e7b50e59d5c58d30c059183;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/configure.ac b/sim/configure.ac index 39f9c6e179..896791e97e 100644 --- a/sim/configure.ac +++ b/sim/configure.ac @@ -1,6 +1,5 @@ dnl Process this file with autoconf to produce a configure script. m4_include([../config/override.m4]) -AC_PREREQ(2.59)dnl AC_INIT(Makefile.in) AC_PROG_CC @@ -18,10 +17,12 @@ AC_SUBST(AR) AC_PROG_RANLIB # Put a plausible default for CC_FOR_BUILD in Makefile. -if test "x$cross_compiling" = "xno"; then - CC_FOR_BUILD='$(CC)' -else - CC_FOR_BUILD=gcc +if test -z "$CC_FOR_BUILD"; then + if test "x$cross_compiling" = "xno"; then + CC_FOR_BUILD='$(CC)' + else + CC_FOR_BUILD=gcc + fi fi AC_SUBST(CC_FOR_BUILD) CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} @@ -43,9 +44,6 @@ m4_define([SIM_ARCH], [ if test "${enable_sim}" != no; then sinclude(configure.tgt) AC_CONFIG_SUBDIRS(testsuite) - if test "$sim_common" = yes; then - AC_CONFIG_SUBDIRS(common) - fi if test "$sim_igen" = yes; then AC_CONFIG_SUBDIRS(igen) fi