patch applied (cabal): Split requireProgram into two different functions
Mon Jun 1 10:48:46 PDT 2009 Duncan Coutts <duncan@haskell.org> * Split requireProgram into two different functions Now requireProgram doesn't take a version range and does not check the program version (indeed it doesn't need to have one). The new function requireProgramVersion takes a required program version range and returns the program version. Also update callers. Also fixes the check that GHC has a version number. M ./Distribution/Simple/Configure.hs -6 +17 M ./Distribution/Simple/GHC.hs -12 +12 M ./Distribution/Simple/Haddock.hs -6 +8 M ./Distribution/Simple/Hugs.hs -2 +2 M ./Distribution/Simple/JHC.hs -6 +6 M ./Distribution/Simple/LHC.hs -10 +11 M ./Distribution/Simple/NHC.hs -13 +14 M ./Distribution/Simple/Program.hs -9 +33 M ./Distribution/Simple/SrcDist.hs -2 +2 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20090601174846-adfee-072ec5491...
participants (1)
-
Duncan Coutts