X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=a8539fb1669033aebbfb090ccc37370bbe7510d2;hb=a51fe79ebcdcb8285573a18f12cade2101533419;hp=e10555ec2c4c4b74ba00566ce09e5325fa7b11ad;hpb=9578f9b01c153d1e5b9d560c688ca18f8b73f1ba;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index e10555e..a8539fb 100644 --- a/configure.ac +++ b/configure.ac @@ -453,7 +453,11 @@ then tar --lzma -xf ../../ghc-tarballs/mingw/w32api*.tar.lzma && mv bin/gcc.exe bin/realgcc.exe ) - inplace/mingw/bin/realgcc.exe driver/gcc/gcc.c driver/utils/cwrapper.c driver/utils/getLocation.c -Idriver/utils -o inplace/mingw/bin/gcc.exe + PATH=`pwd`/inplace/mingw/bin:$PATH inplace/mingw/bin/realgcc.exe driver/gcc/gcc.c driver/utils/cwrapper.c driver/utils/getLocation.c -Idriver/utils -o inplace/mingw/bin/gcc.exe + if ! test -e inplace/mingw/bin/gcc.exe + then + AC_MSG_ERROR([GHC is required unless bootstrapping from .hc files.]) + fi AC_MSG_NOTICE([In-tree mingw tree created]) fi if ! test -d inplace/perl ||