1f299d47fSmrgdnl Copyright 2005 Red Hat, Inc. 21a2dd139Smrgdnl 3f299d47fSmrgdnl Permission to use, copy, modify, distribute, and sell this software and its 4f299d47fSmrgdnl documentation for any purpose is hereby granted without fee, provided that 5f299d47fSmrgdnl the above copyright notice appear in all copies and that both that 6f299d47fSmrgdnl copyright notice and this permission notice appear in supporting 7f299d47fSmrgdnl documentation, and that the name of Red Hat not be used in 8f299d47fSmrgdnl advertising or publicity pertaining to distribution of the software without 9f299d47fSmrgdnl specific, written prior permission. Red Hat makes no 10f299d47fSmrgdnl representations about the suitability of this software for any purpose. It 11f299d47fSmrgdnl is provided "as is" without express or implied warranty. 121a2dd139Smrgdnl 13f299d47fSmrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 14f299d47fSmrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 15f299d47fSmrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 16f299d47fSmrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 17f299d47fSmrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 18f299d47fSmrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 19f299d47fSmrgdnl PERFORMANCE OF THIS SOFTWARE. 20f299d47fSmrgdnl 21f299d47fSmrgdnl Process this file with autoconf to create configure. 22f299d47fSmrg 231a2dd139Smrg# Initialize Autoconf 24625f88beSmrgAC_PREREQ([2.60]) 2599999d39SmrgAC_INIT([xev], [1.2.6], 2699999d39Smrg [https://gitlab.freedesktop.org/xorg/app/xev/-/issues], [xev]) 271a2dd139SmrgAC_CONFIG_SRCDIR([Makefile.am]) 281a2dd139SmrgAC_CONFIG_HEADERS([config.h]) 291a2dd139SmrgAC_USE_SYSTEM_EXTENSIONS 301a2dd139Smrg 311a2dd139Smrg# Initialize Automake 3298d75b17SmrgAM_INIT_AUTOMAKE([foreign dist-xz]) 33f299d47fSmrg 34625f88beSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 35aa98702cSmrgm4_ifndef([XORG_MACROS_VERSION], 36625f88beSmrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 37625f88beSmrgXORG_MACROS_VERSION(1.8) 38aa98702cSmrgXORG_DEFAULT_OPTIONS 39aa98702cSmrg 40f299d47fSmrg# Checks for pkg-config packages 411a2dd139SmrgPKG_CHECK_MODULES(XEV, [xrandr >= 1.2 x11 xproto >= 7.0.17]) 42f299d47fSmrg 431a2dd139SmrgAC_CONFIG_FILES([ 441a2dd139Smrg Makefile 451a2dd139Smrg man/Makefile]) 461a2dd139SmrgAC_OUTPUT 47