diff options
Diffstat (limited to 'sim/ppc/configure.ac')
-rw-r--r-- | sim/ppc/configure.ac | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sim/ppc/configure.ac b/sim/ppc/configure.ac index 290cdd1..adb4fc0 100644 --- a/sim/ppc/configure.ac +++ b/sim/ppc/configure.ac @@ -480,37 +480,6 @@ fi AC_CHECK_TYPES(long long) -# Since we run commands on the build system, we have to create a -# separate config header for the build system if build != host. -if test x$host = x$build; then - AC_CONFIG_COMMANDS([build-config.h],[cp config.h build-config.h]) -else - tempdir=build.$$ - rm -rf $tempdir - mkdir $tempdir - cd $tempdir - case ${srcdir} in - /* | [A-Za-z]:[\\/]* ) realsrcdir=${srcdir};; - *) realsrcdir=../${srcdir};; - esac - saved_CFLAGS="${CFLAGS}" - # 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 - fi - CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD-${CFLAGS}}" \ - LDFLAGS="${LDFLAGS_FOR_BUILD}" \ - ${realsrcdir}/configure \ - --enable-languages=${enable_languages-all} \ - --target=$target_alias --host=$build_alias --build=$build_alias - CFLAGS="${saved_CFLAGS}" - mv config.h ../build-config.h - cd .. - rm -rf $tempdir -fi - AC_SUBST(sim_line_nr) AC_SUBST(sim_opcode) AC_SUBST(sim_switch) |