[PATCH] configure: Always define XINPUT.

Dan Nicholson dbn.lists at gmail.com
Mon Mar 22 06:03:15 PDT 2010


On Sun, Mar 21, 2010 at 4:40 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> This define was removed in e251c9e75afdc "Remove all traces of #ifdef XINPUT
> and the matching bits from the configure.ac". Drivers that support multiple
> server versions and still check for ifdef XINPUT now always build without
> XINPUT support if they're calling XORG_DRIVER_CHECK_EXT(XINPUT, inputproto).
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  configure.ac |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 3e8ea10..6a4beb0 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1122,6 +1122,7 @@ MIEXT_DAMAGE_LIB='$(top_builddir)/miext/damage/libdamage.la'
>  MIEXT_DAMAGE_INC='-I$(top_srcdir)/miext/damage'
>
>  # XINPUT extension is integral part of the server
> +AC_DEFINE(XINPUT, 1, [Support X Input extension])
>  XI_LIB='$(top_builddir)/Xi/libXi.la'
>  XI_INC='-I$(top_srcdir)/Xi'

The matching #undef XINPUT is still in include/xorg-server.h.in right? If so,

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>


More information about the xorg-devel mailing list