|
Distribution.Simple.Configure | Portability | portable | Stability | alpha | Maintainer | Isaac Jones <ijones@syntaxpolice.org> |
|
|
|
Description |
Explanation: Perform the "./setup configure" action.
Outputs the dist/setup-config file.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Perform the "./setup configure" action.
Returns the .setup-config file.
|
|
|
After running configure, output the LocalBuildInfo to the
localBuildInfoFile.
|
|
|
Read the localBuildInfoFile. Error if it doesn't exist. Also
fail if the file containing LocalBuildInfo is older than the .cabal
file, indicating that a re-configure is required.
|
|
|
Check that localBuildInfoFile is up-to-date with respect to the
.cabal file.
|
|
|
Try to read the localBuildInfoFile.
|
|
|
dist/setup-config |
|
|
|
|
Test for a package dependency and record the version we have installed.
|
|
|
|
|
|
|
Makes a BuildInfo from C compiler and linker flags.
This can be used with the output from configuration programs like pkg-config
and similar package-specific programs like mysql-config, freealut-config etc.
For example:
ccflags <- rawSystemProgramStdoutConf verbosity prog conf ["--cflags"]
ldflags <- rawSystemProgramStdoutConf verbosity prog conf ["--libs"]
return (ccldOptionsBuildInfo (words ccflags) (words ldflags))
|
|
|
|
Produced by Haddock version 2.3.0 |