X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=configure.ac;h=3b6cc97c2b1f82e08138c585cf25d7c5b9ac77dd;hp=da482a0d3f25a72b2a713acad4f063ed25739000;hb=c76c69c5b62f1ca4fa52d75b0dfbd37b7eddbb09;hpb=e2e80125a6d6ebe1d081713ef000ed9712bfbb05 diff --git a/configure.ac b/configure.ac index da482a0..3b6cc97 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,11 @@ dnl AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.5], [glasgow-haskell-bugs@haskell.org], [ghc]) +if test ! -f mk/config.h.in; then + echo "mk/config.h.in doesn't exist: perhaps you haven't run 'autoreconf'?" + exit 1 +fi + FP_SETUP_PROJECT_VERSION # Hmmm, we fix the RPM release number to 1 here... Is this convenient? @@ -387,6 +392,15 @@ mips-*-linux*) HostVendor_CPP='unknown' HostOS_CPP='linux' ;; +mipsel-*-linux*) + HostPlatform=mipsel-unknown-linux # hack again + TargetPlatform=mipsel-unknown-linux + BuildPlatform=mipsel-unknown-linux + HostPlatform_CPP='mipsel_unknown_linux' + HostArch_CPP='mipsel' + HostVendor_CPP='unknown' + HostOS_CPP='linux' + ;; mips-dec-ultrix*) HostPlatform_CPP='mips_dec_ultrix' HostArch_CPP='mipsel' # NB a little different