X-Git-Url: https://diplodocus.org/git/xorg-xinput/blobdiff_plain/7d930a42e6c294ecaaf42585e37b8dc24be8a805..afad669f560387105570bc5de7466898ecf57f08:/configure.ac?ds=sidebyside diff --git a/configure.ac b/configure.ac index 2521f3e..915d55f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,21 +1,20 @@ dnl Copyright 2007 Peter Hutterer dnl Process this file with autoconf to create configure. -AC_PREREQ([2.57]) -AC_INIT(xinput,[1.4.99.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xinput) -AM_INIT_AUTOMAKE([dist-bzip2]) +AC_PREREQ([2.60]) +AC_INIT(xinput,[1.5.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xinput) +AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE -# Require xorg-macros: XORG_DEFAULT_OPTIONS -m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.3) +# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS +m4_ifndef([XORG_MACROS_VERSION], + [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.8) +XORG_DEFAULT_OPTIONS -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) -AC_PROG_CC -AC_PROG_INSTALL -XORG_DEFAULT_OPTIONS # Checks for pkg-config packages PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.2] [inputproto >= 1.5]) @@ -26,8 +25,6 @@ PKG_CHECK_MODULES(XI2, [xi >= 1.2.99.2] [inputproto >= 1.9.99.15], HAVE_XI2="no"); AM_CONDITIONAL(HAVE_XI2, [ test "$HAVE_XI2" = "yes" ]) -AC_SUBST(XINPUT_CFLAGS) -AC_SUBST(XINPUT_LIBS) AC_SUBST(HAVE_XI2) AC_SUBST(VERSION)