diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-21 19:11:50 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-21 19:11:50 -0200 |
commit | 2e313cc7b5f0353e545a874ade80ab568687473f (patch) | |
tree | 28b8aba8d4391836baf056aae78aa08405b175ff /configure.ac | |
parent | 1ab923fdd812a35dd46fe663780f8c8271aa5d89 (diff) |
Correct make distcheck and sparse warnings.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3338041..7a7167c 100644 --- a/configure.ac +++ b/configure.ac @@ -5,6 +5,10 @@ AC_INIT(xhost,[1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg] AM_INIT_AUTOMAKE([dist-bzip2]) AM_MAINTAINER_MODE +# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG +m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.2) + AM_CONFIG_HEADER(config.h) AC_PROG_CC @@ -12,8 +16,11 @@ AC_PROG_INSTALL AC_TYPE_SIGNAL +XORG_CWARNFLAGS + # Checks for pkg-config packages PKG_CHECK_MODULES(XHOST, x11 xmuu xau) +XHOST_CFLAGS="$CWARNFLAGS $XHOST_CFLAGS" AC_SUBST(XHOST_CFLAGS) AC_SUBST(XHOST_LIBS) @@ -25,5 +32,6 @@ XTRANS_SECURE_RPC_FLAGS XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION +XORG_CHANGELOG AC_OUTPUT([Makefile]) |