diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-02-02 14:17:21 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-02-02 14:17:21 -0200 |
commit | 608a6db5a76c3638457e40a4bae7debb5318b905 (patch) | |
tree | 503373471f476aa2e0b9e7b80eeda5ef6b19097e /configure.ac | |
parent | ae3564600219fb27e094805cc45991685d2e5504 (diff) |
Janitor: make distcheck, compiler warnings, .gitignore.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 668ec91..27736f8 100644 --- a/configure.ac +++ b/configure.ac @@ -26,19 +26,19 @@ AC_INIT(libXvMC, 1.0.4, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg AM_INIT_AUTOMAKE([dist-bzip2]) AM_MAINTAINER_MODE +# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG, XORG_WITH_LINT +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) -# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro -m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.1) - # Check for progs AC_PROG_CC AC_PROG_LIBTOOL +XORG_CWARNFLAGS # Check for dependencies PKG_CHECK_MODULES(XVMC, x11 xext xv xextproto videoproto) - +XVMC_CFLAGS="$CWARNFLAGS $XVMC_CFLAGS" AC_SUBST(XVMC_CFLAGS) AC_SUBST(XVMC_LIBS) @@ -46,6 +46,7 @@ AC_CHECK_FUNC([shmat], AC_DEFINE(HAS_SHM,1,[Has shm*() functions])) XORG_CHECK_MALLOC_ZERO XORG_RELEASE_VERSION +XORG_CHANGELOG dnl Allow checking code with lint, sparse, etc. XORG_WITH_LINT |