summaryrefslogtreecommitdiff
path: root/driver/xf86-input-fpit/configure.ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-03 13:40:36 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-03 13:40:36 +0000
commit482b84a2dc27a50146f4ac0e290497fc7bac2ada (patch)
treea2eaba5718db41f4551dafca8d14fb7540ab3fec /driver/xf86-input-fpit/configure.ac
parent974fd3e08105504312c273ade44b281e7658daaa (diff)
update to xf86-input-fpit 1.3.0
Diffstat (limited to 'driver/xf86-input-fpit/configure.ac')
-rw-r--r--driver/xf86-input-fpit/configure.ac17
1 files changed, 10 insertions, 7 deletions
diff --git a/driver/xf86-input-fpit/configure.ac b/driver/xf86-input-fpit/configure.ac
index 7ba075efe..41cd92ed8 100644
--- a/driver/xf86-input-fpit/configure.ac
+++ b/driver/xf86-input-fpit/configure.ac
@@ -22,7 +22,7 @@
AC_PREREQ(2.57)
AC_INIT([xf86-input-fpit],
- 1.2.0,
+ 1.3.0,
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
xf86-input-fpit)
@@ -32,15 +32,16 @@ AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
-DRIVER_NAME=fpit
-AC_SUBST([DRIVER_NAME])
-
+# 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])
# Checks for programs.
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_PROG_CC
+XORG_CWARNFLAGS
AH_TOP([#include "xorg-server.h"])
@@ -77,16 +78,18 @@ XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)
# Checks for pkg-config packages
PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto $REQUIRED_MODULES)
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
-
-CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
-AC_SUBST([CFLAGS])
+XORG_CFLAGS="$CWARNFLAGS $XORG_CFLAGS"
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
+DRIVER_NAME=fpit
+AC_SUBST([DRIVER_NAME])
+
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
+XORG_CHANGELOG
AC_OUTPUT([Makefile src/Makefile man/Makefile])