diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2014-01-31 22:29:08 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2014-02-03 17:26:45 -0500 |
commit | 9c45c1919b68330bab44b4c1a0984f644bd66110 (patch) | |
tree | 045f0ca156cabc782f71087d85b141cf413c18bc /configure.ac | |
parent | 01b94c100022ce8dd3a44e319c42c57c6e2a5849 (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.
Reviewed-by: Arnaud Fontaine <arnau@debian.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
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 5262b91..621f15a 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,7 @@ dnl XCB_UTIL_M4_WITH_INCLUDE_PATH requires Autoconf >= 2.62 AC_PREREQ(2.62) AC_INIT([xcb-util-wm],0.4.0,[xcb@lists.freedesktop.org]) AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE |