From 5aa62bb376608cd0350e46263dec74f861019431 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 3 Oct 2009 01:53:56 -0700 Subject: Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS Signed-off-by: Alan Coopersmith --- configure.ac | 13 +++++-------- man/Makefile.am | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index 084b3ce..ffe318f 100644 --- a/configure.ac +++ b/configure.ac @@ -29,24 +29,21 @@ AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) -# 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) +# Require xorg-macros: XORG_DEFAULT_OPTIONS, XORG_WITH_LINT +m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.3) # Check for progs AC_PROG_CC AC_PROG_LIBTOOL -XORG_CWARNFLAGS +XORG_DEFAULT_OPTIONS # Check for dependencies PKG_CHECK_MODULES(XV, x11 xext xextproto videoproto) AC_SUBST(XV_CFLAGS) AC_SUBST(XV_LIBS) - + XORG_CHECK_MALLOC_ZERO -XORG_MANPAGE_SECTIONS -XORG_RELEASE_VERSION -XORG_CHANGELOG dnl Allow checking code with lint, sparse, etc. XORG_WITH_LINT diff --git a/man/Makefile.am b/man/Makefile.am index 4a3e969..9100048 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -76,4 +76,4 @@ MAN_SUBSTS = \ SUFFIXES = .$(LIB_MAN_SUFFIX) .man .man.$(LIB_MAN_SUFFIX): - sed $(MAN_SUBSTS) < $< > $@ + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ -- cgit v1.2.3