Massive patch for the first months work adding System FC to GHC #15
[ghc-hetmet.git] / configure.ac
index d565073..3b6cc97 100644 (file)
@@ -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
@@ -962,12 +976,6 @@ AC_SUBST(GhcLibsWithReadline)
 dnl ** check if it is safe to include both <time.h> and <sys/time.h>
 AC_HEADER_TIME
 
-dnl ** how do we get a timezone name, and UTC offset ?
-AC_STRUCT_TIMEZONE
-
-dnl ** do we have altzone?
-FP_DECL_ALTZONE
-
 dnl ** do we have long longs?
 AC_CHECK_TYPES([long long])