diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2014-02-04 14:25:50 -0500 |
---|---|---|
committer | Arnaud Fontaine <arnau@debian.org> | 2014-02-17 17:38:36 +0900 |
commit | b7135cab6d3a5eb391fb7d381a74b1ee470c7eea (patch) | |
tree | 54527d6df566530cfa30549df8810557281a3c02 /configure.ac | |
parent | 38d6ba170d0e174871e56fad2762055cfc0189cc (diff) |
config: use AC_CONFIG_HEADERS to create a config.h file
This file contains C preprocessor #define statements which replace
the current -Ds added to each compilation invocation.
This makes the gcc output command easier to read and prevents exceeding
the max line limits on some computers. This is the preferred method
in al the xorg modules.
Note that cache.c already had #include config.h" which was incorrect
and misleading.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Reviewed-by: Arnaud Fontaine <arnau@debian.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6dea1c9..555a8b7 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,7 @@ AC_INIT([xcb-util-renderutil],[0.3.8], [https://bugs.freedesktop.org/enter_bug.cgi?product=xcb&component=Utils], [xcb-util-renderutil]) AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE |