Add Outputable.blankLine and use it
[ghc-hetmet.git] / configure.ac
index 2ca1735..f5d4fc8 100644 (file)
@@ -18,8 +18,6 @@ AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.13], [glasgow-hask
 # Set this to YES for a released version, otherwise NO
 : ${RELEASE=NO}
 
-set -e
-
 # The primary version (e.g. 6.7, 6.6.1) is set in the AC_INIT line
 # above.  If this is not a released version, then we will append the
 # date to the version number (e.g. 6.7.20070204).  The date is
@@ -400,14 +398,17 @@ then
         rm -rf inplace/mingw
         mkdir inplace
         mkdir inplace/mingw
-        cd inplace/mingw
-        tar -zxf ../../ghc-tarballs/mingw/binutils*.tar.gz
-        tar -zxf ../../ghc-tarballs/mingw/gcc-core*.tar.gz
-        tar -jxf ../../ghc-tarballs/mingw/libcrypt*.tar.bz2
-        tar -zxf ../../ghc-tarballs/mingw/mingw-runtime*.tar.gz
-        tar -jxf ../../ghc-tarballs/mingw/perl*.tar.bz2
-        tar -zxf ../../ghc-tarballs/mingw/w32api*.tar.gz
-        cd ../..
+        (
+            cd inplace/mingw &&
+            tar -zxf ../../ghc-tarballs/mingw/binutils*.tar.gz &&
+            tar -zxf ../../ghc-tarballs/mingw/gcc-core*.tar.gz &&
+            tar -jxf ../../ghc-tarballs/mingw/libcrypt*.tar.bz2 &&
+            tar -zxf ../../ghc-tarballs/mingw/mingw-runtime*.tar.gz &&
+            tar -jxf ../../ghc-tarballs/mingw/perl*.tar.bz2 &&
+            tar -zxf ../../ghc-tarballs/mingw/w32api*.tar.gz &&
+            mv bin/gcc.exe bin/realgcc.exe
+        )
+        inplace/mingw/bin/realgcc.exe driver/gcc/gcc.c driver/utils/getLocation.c -Idriver/utils -o inplace/mingw/bin/gcc.exe
         AC_MSG_NOTICE([In-tree mingw tree created])
     fi
 fi