xenocara/app/xinput/configure.ac

40 lines
1.0 KiB
Plaintext
Raw Normal View History

dnl Copyright 2007 Peter Hutterer <peter@cs.unisa.edu.au>
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
2012-05-14 23:59:28 -06:00
AC_INIT(xinput,[1.5.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xinput)
2010-03-28 07:08:54 -06:00
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
2009-10-24 08:17:46 -06:00
# Require xorg-macros: XORG_DEFAULT_OPTIONS
2010-03-28 07:08:54 -06:00
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
2009-10-24 08:17:46 -06:00
XORG_MACROS_VERSION(1.3)
2010-03-28 07:08:54 -06:00
XORG_DEFAULT_OPTIONS
2009-05-02 09:24:13 -06:00
AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL
2010-11-11 04:11:47 -07:00
AC_PROG_SED
2009-05-02 09:24:13 -06:00
# Checks for pkg-config packages
2009-05-02 09:24:13 -06:00
PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.2] [inputproto >= 1.5])
2009-10-24 08:17:46 -06:00
# XI2 support
PKG_CHECK_MODULES(XI2, [xi >= 1.2.99.2] [inputproto >= 1.9.99.15],
HAVE_XI2="yes"; AC_DEFINE(HAVE_XI2, 1, [XI2 available]),
HAVE_XI2="no");
AM_CONDITIONAL(HAVE_XI2, [ test "$HAVE_XI2" = "yes" ])
2009-05-02 09:24:13 -06:00
AC_SUBST(XINPUT_CFLAGS)
AC_SUBST(XINPUT_LIBS)
2009-05-02 09:24:13 -06:00
AC_SUBST(HAVE_XI2)
AC_SUBST(VERSION)
AC_OUTPUT([Makefile
src/Makefile
man/Makefile])