diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-15 18:18:52 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-15 18:18:52 -0200 |
commit | 7f1a66ecbe983e83e91941706218cde705b6cc0b (patch) | |
tree | 4e2e044e097600f10e91fd15033d2ec596ff7b97 /configure.ac | |
parent | 74541609dccff6e8405286b3f27661e2f4a00b29 (diff) |
Ansification and compile warning fixes.
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects
make distcheck. There weren't any gcc 4.3 or sparse warnings.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9031672..3eca14c 100644 --- a/configure.ac +++ b/configure.ac @@ -27,20 +27,24 @@ AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) -# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro +# Require xorg-macros: XORG_WITH_LINT, XORG_CWARNFLAGS, XORG_CHANGELOG m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.1) +XORG_MACROS_VERSION(1.2) AC_PROG_CC AC_PROG_INSTALL +XORG_CWARNFLAGS + # Checks for pkg-config packages PKG_CHECK_MODULES(BDFTOPCF, xfont) +BDFTOPCF_CFLAGS="$CWARNFLAGS $BDFTOPCF_CFLAGS" AC_SUBST(BDFTOPCF_CFLAGS) AC_SUBST(BDFTOPCF_LIBS) XORG_WITH_LINT XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION +XORG_CHANGELOG AC_OUTPUT([Makefile]) |