14fb28925Smrg
24fb28925Smrgdnl  Copyright 2005 Red Hat, Inc.
34fb28925Smrgdnl 
44fb28925Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
54fb28925Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
64fb28925Smrgdnl  the above copyright notice appear in all copies and that both that
74fb28925Smrgdnl  copyright notice and this permission notice appear in supporting
84fb28925Smrgdnl  documentation, and that the name of Red Hat not be used in
94fb28925Smrgdnl  advertising or publicity pertaining to distribution of the software without
104fb28925Smrgdnl  specific, written prior permission.  Red Hat makes no
114fb28925Smrgdnl  representations about the suitability of this software for any purpose.  It
124fb28925Smrgdnl  is provided "as is" without express or implied warranty.
134fb28925Smrgdnl 
144fb28925Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
154fb28925Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
164fb28925Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
174fb28925Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
184fb28925Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
194fb28925Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
204fb28925Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
214fb28925Smrgdnl
224fb28925Smrgdnl Process this file with autoconf to create configure.
234fb28925Smrg
24df58931aSmrg# Initialize Autoconf
25df58931aSmrgAC_PREREQ([2.60])
261c145c9fSmrgAC_INIT([xkill], [1.0.6],
271c145c9fSmrg        [https://gitlab.freedesktop.org/xorg/app/xkill/-/issues], [xkill])
28df58931aSmrgAC_CONFIG_SRCDIR([Makefile.am])
29df58931aSmrgAC_CONFIG_HEADERS([config.h])
30df58931aSmrg
31df58931aSmrg# Initialize Automake
321c145c9fSmrgAM_INIT_AUTOMAKE([foreign dist-xz])
334fb28925Smrg
34df58931aSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
35b66d1acbSmrgm4_ifndef([XORG_MACROS_VERSION],
36df58931aSmrg	  [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
37df58931aSmrgXORG_MACROS_VERSION(1.8)
38b66d1acbSmrgXORG_DEFAULT_OPTIONS
39b66d1acbSmrg
404fb28925Smrg# Checks for pkg-config packages
41df58931aSmrgPKG_CHECK_MODULES(XKILL, [x11 xmuu xproto >= 7.0.22])
424fb28925Smrg
43df58931aSmrgAC_CONFIG_FILES([
44df58931aSmrg	Makefile
45df58931aSmrg	man/Makefile])
46df58931aSmrgAC_OUTPUT
47