Commits on Feb 19, 2009
  1. Fix sdist so that it preserves executable permissions

    Needed for ./configure scripts etc.
    dcoutts committed Feb 19, 2009
  2. Compat fixes for ghc-6.4.x

    dcoutts committed Feb 19, 2009
Commits on Feb 18, 2009
  1. Specify a temp output file for the header/lib checks

    Otherwise we litter the current dir with a.out and *.o files.
    dcoutts committed Feb 18, 2009
  2. Use more cc options when checking for header files and libs

    Use -I. to simulate the search path that gets used when we tell ghc
    to -#include something. Also use the include dirs and cc options of
    dependent packages. These two changes fix about 3 packages each.
    dcoutts committed Feb 18, 2009
Commits on Feb 13, 2009
  1. Validate the docbook xml before processing.

    Apparently xsltproc does not validate against the dtd.
    This should stop errors creaping back in.
    dcoutts committed Feb 13, 2009
  2. Folly the directions for docbook-xsl

    As it says in
      - Use the base canonical URI in combination with one of the
        pathnames below. For example, for "chunked" HTML, output:
    SamB committed Feb 13, 2009
Commits on Feb 12, 2009
  1. Make documentation validate

    SamB committed Feb 12, 2009
Commits on Feb 6, 2009
  1. Don't build ghci lib if we're not making vanilla libs

    As the .o files will not exist.
    dcoutts committed Feb 6, 2009
Commits on Feb 5, 2009
  1. Fix compat functions for setting file permissions on windows

    Spotted by Dominic Steinitz
    dcoutts committed Feb 5, 2009
Commits on Feb 3, 2009
Commits on Feb 1, 2009
Commits on Jan 31, 2009
  1. Improve the error message for missing foreign libs and make it fatal

    The check should now be accurate enough that we can make it an
    error rather than just a warning.
    dcoutts committed Jan 31, 2009
  2. Use the cc, cpp and ld options when checking foreign headers and libs

    In partiular this is needed for packages that use ./configure
    scripts to write .buildinfo files since they typically do not
    split the cpp/cc/ldoptions into the more specific fields.
    dcoutts committed Jan 31, 2009
  3. Do the check for foreign libs after running configure

    This lets us pick up build info discovered by the ./configure script
    dcoutts committed Jan 31, 2009
Commits on Jan 30, 2009
  1. #262 iterative tests for foreign dependencies

    Optimize for succesful case. First try all libs and includes in one command, 
    proceed with further tests only if the first test fails. The same goes for libs 
    and headers: look for an offending one only when overall test fails.
    alexeevg committed Jan 30, 2009
Commits on Jan 29, 2009
Commits on Jan 28, 2009
  1. Use copyOrdinaryFile and copyExecutableFile instead of copyFile

    This is a minimal patch for the Cabal-1.6 branch only.
    dcoutts committed Jan 28, 2009
  2. Add Distribution.Compat.CopyFile module

    This is to work around the file permissions problems with the
    standard System.Directory.copyFile function. When installing
    files we do not want to copy permissions or attributes from the
    source files. On unix we want to use specific permissions and
    on windows we want to inherit default permissions. On unix:
    copyOrdinaryFile   sets the permissions to -rw-r--r--
    copyExecutableFile sets the permissions to -rwxr-xr-x
    dcoutts committed Jan 28, 2009
Commits on Jan 26, 2009
  1. Warn if C dependencies not found (kind of fixes #262)

    This is just a basic check - generate a sample program and check if it compiles and links with relevant flags. Error messages (warning messages, 
    actually) could use some improvement.
    alexeevg committed Jan 26, 2009
Commits on Jan 25, 2009
  1. Check for ghc-options: -threaded in libraries

    It's totally unnecessary and messes up profiling in older ghc versions.
    dcoutts committed Jan 25, 2009
Commits on Jan 23, 2009
  1. Update changelog for

    dcoutts committed Jan 23, 2009
Commits on Jan 22, 2009
  1. Fix installIncludeFiles to create target directories properly

    Previously for 'install-includes: subdir/blah.h' we would not
    create the subdir in the target location.
    dcoutts committed Jan 22, 2009
  2. filter -threaded when profiling is on

    Fixes #317. Based on a patch by
    dcoutts committed Jan 22, 2009
  3. Fix openNewBinaryFile on Windows with ghc-6.6

    fdToHandle calls fdGetMode which does not work with ghc-6.6 on
    windows, the workaround is not to call fdToHandle, but call
    openFd directly. Bug reported by Alistair Bayley, ticket #473.
    dcoutts committed Jan 22, 2009
Commits on Jan 21, 2009
Commits on Jan 18, 2009
Commits on Jan 16, 2009
  1. Improve runE parse error message

    Only really used in parsing config files derived from command line flags.
    dcoutts committed Jan 16, 2009
Commits on Dec 23, 2008
  1. Ban ghc-options: --make

    I dunno, some people...
    dcoutts committed Dec 23, 2008
Commits on Dec 11, 2008