summaryrefslogtreecommitdiff
path: root/app/xrandr/configure.ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-02 15:21:25 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-02 15:21:25 +0000
commit97c0f94f2fa0c7516104af6d0bc44471c9c77325 (patch)
treec6ea626952ba4b8f972abd98f224f12299f70998 /app/xrandr/configure.ac
parentd72ccec682feb2f78fc982ae552ef37d46152283 (diff)
update to xrandr 1.3.0
Diffstat (limited to 'app/xrandr/configure.ac')
-rw-r--r--app/xrandr/configure.ac12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/xrandr/configure.ac b/app/xrandr/configure.ac
index 126a51b63..95d6cdacb 100644
--- a/app/xrandr/configure.ac
+++ b/app/xrandr/configure.ac
@@ -21,21 +21,29 @@ dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
-AC_INIT(xrandr,[1.2.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xrandr)
+AC_INIT(xrandr,[1.3.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xrandr)
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
AC_PROG_INSTALL
+XORG_CWARNFLAGS
+AC_CHECK_LIB(m,floor)
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XRANDR, xrandr >= 1.2.0 xrender x11)
+PKG_CHECK_MODULES(XRANDR, xrandr >= 1.2.99.3 xrender x11)
+XRANDR_CFLAGS="$CWARNFLAGS $XRANDR_CFLAGS"
AC_SUBST(XRANDR_CFLAGS)
AC_SUBST(XRANDR_LIBS)
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
+XORG_CHANGELOG
AC_OUTPUT([Makefile])