patch applied (cabal): Rewrite the Program abstraction and the ProgramConfiguration database
Thu Aug 16 20:38:41 PDT 2007 Duncan Coutts <duncan@haskell.org> * Rewrite the Program abstraction and the ProgramConfiguration database Also make the follow on changes to everything that uses Program. The notion of a program is now split into the abstract notion of a program that we know about and might be able to configure, and a configured program that we can actually run. The ProgramConfiguration database is similarly split. We still keep user-supplied loation and arguments and use them when we configure programs. The abstract Program now has functions to search for the program on the system and for finding the version number. This allows for more generic configuration of programs. M ./Distribution/Compiler.hs -2 +2 M ./Distribution/PreProcess.hs -13 +16 M ./Distribution/Program.hs -282 +461 M ./Distribution/Setup.hs -15 +19 M ./Distribution/Simple.hs -7 +4 M ./Distribution/Simple/Configure.hs -66 +30 M ./Distribution/Simple/GHC.hs -70 +52 M ./Distribution/Simple/Haddock.hs -18 +8 M ./Distribution/Simple/Hugs.hs -11 +13 M ./Distribution/Simple/JHC.hs -11 +12 M ./Distribution/Simple/NHC.hs -11 +12 M ./Distribution/Simple/Register.hs -1 +1 M ./Distribution/Simple/SetupWrapper.hs -3 +4 M ./Distribution/Simple/SrcDist.hs -13 +9
participants (1)
-
Duncan Coutts