darcs patch: If "Setup configure" can't satisfy deps set buildable=...

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Apr 30 16:48:18 EDT 2007

After talking to Ian we decided to do this differently. setup configure
should just fail if the package cannot build, and furthermore any
autoconf ./configure scripts should also fail if they detect situations
where the package will not be buildable.

GHC's libraries build system can just use setup configure failing as an
indication that the package should be skipped.


On Wed, 2007-04-25 at 12:56 +0100, Ian Lynagh wrote:
> Wed Apr 25 12:33:09 BST 2007  Ian Lynagh <igloo at earth.li>
>   * If "Setup configure" can't satisfy deps set buildable=False rather than failing
>   Before there was an odd inconsistency, where ./configure scripts would
>   (on failure) set buildable=False in <package>.buildinfo and return
>   successfully, but if "Setup configure" itself failed due to missing
>   build-deps then it would just exit unsuccessfully.
>   This patch, based on a suggestion from Claus Reinke, makes "Setup configure"
>   behave like ./configure.
>   writeHookedBuildInfo is a bit of a misnomer for this use, but it'll do what
>   we need.

More information about the cabal-devel mailing list