[cvs-nhc98] Cygwin fixes for hmake-config.
Malcolm Wallace
malcolm@sparud.net
Fri, 5 Apr 2002 18:59:39 +0200 (CEST)
malcolm: Fri Apr 5 18:59:38 CEST 2002
Update of /usr/src/master/nhc/src/hmake
In directory hinken:/tmp/cvs-serv14013
Modified Files:
Makefile MkConfig.hs
Log Message:
Cygwin fixes for hmake-config.
* Eliminate the use of ghc -package posix by using the FFI direct.
* Force lazy readFile to read its input fully, so we can remove the file
safely under Windows.
* Change the import-detection method for ghc. There is no shell script
driver in Windows, so use ghc -v on all systems instead.