summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-01-02 19:42:10 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-01-22 13:16:43 +0000
commita1809fde56e45639556a44fd3c3ef9213204c5a9 (patch)
tree2d90b83d4df3aa334be6bda74998ba0a4dac4cc4 /.gitignore
parent214132d470ef98b5d3cdc71662cb586025746bb5 (diff)
Cache the results of checking compiler flag support in XORG_TESTSET_CFLAG
Since checking all those warning flags takes an amount of time I find irritating, here is an attempt at caching the results of checking compiler warning flag support A couple of aspects which need definitely need review or testing: * I've tried to get things right when not the first flag in the list of alternates is supported, but this really needs testing with a compiler other than gcc * The cache variable naming policy is a bit opaque me, so the names used may need corecting * I've tried to be careful, but who knows what portability sins I have committed :-) This change reduces the time to run the ./configure script produced from a configure.ac containing just AC_INIT([test], 1.0) XORG_COMPILER_FLAGS XORG_CWARNFLAGS XORG_STRICT_OPTION AC_OUTPUT() from ~60s to ~20s on my cygwin machine, and from ~15s to ~9s on a linux VM running on the same hardware v2: AS_TR_SH transforms characters which are invalid in shell variable names, so we don't have to use sed to transform spaces ourself Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions