configure.ac revision df58931a
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])
26df58931aSmrgAC_INIT([xkill], [1.0.4],
27df58931aSmrg        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xkill])
28df58931aSmrgAC_CONFIG_SRCDIR([Makefile.am])
29df58931aSmrgAC_CONFIG_HEADERS([config.h])
30df58931aSmrg
31df58931aSmrg# Initialize Automake
32df58931aSmrgAM_INIT_AUTOMAKE([foreign dist-bzip2])
334fb28925SmrgAM_MAINTAINER_MODE
344fb28925Smrg
35df58931aSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
36b66d1acbSmrgm4_ifndef([XORG_MACROS_VERSION],
37df58931aSmrg	  [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
38df58931aSmrgXORG_MACROS_VERSION(1.8)
39b66d1acbSmrgXORG_DEFAULT_OPTIONS
40b66d1acbSmrg
414fb28925Smrg# Checks for pkg-config packages
42df58931aSmrgPKG_CHECK_MODULES(XKILL, [x11 xmuu xproto >= 7.0.22])
434fb28925Smrg
44df58931aSmrgAC_CONFIG_FILES([
45df58931aSmrg	Makefile
46df58931aSmrg	man/Makefile])
47df58931aSmrgAC_OUTPUT
48