1bccedf53Smrg
2bccedf53Smrgdnl  Copyright 2005 Red Hat, Inc.
3bccedf53Smrgdnl 
4bccedf53Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
5bccedf53Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
6bccedf53Smrgdnl  the above copyright notice appear in all copies and that both that
7bccedf53Smrgdnl  copyright notice and this permission notice appear in supporting
8bccedf53Smrgdnl  documentation, and that the name of Red Hat not be used in
9bccedf53Smrgdnl  advertising or publicity pertaining to distribution of the software without
10bccedf53Smrgdnl  specific, written prior permission.  Red Hat makes no
11bccedf53Smrgdnl  representations about the suitability of this software for any purpose.  It
12bccedf53Smrgdnl  is provided "as is" without express or implied warranty.
13bccedf53Smrgdnl 
14bccedf53Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15bccedf53Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16bccedf53Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17bccedf53Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18bccedf53Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19bccedf53Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20bccedf53Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
21bccedf53Smrgdnl
22bccedf53Smrgdnl Process this file with autoconf to create configure.
23bccedf53Smrg
24f7ada8ddSmrg# Initialize Autoconf
25f7ada8ddSmrgAC_PREREQ([2.60])
26a2394c98SmrgAC_INIT([xwud], [1.0.7],
27a2394c98Smrg        [https://gitlab.freedesktop.org/xorg/app/xwud/-/issues], [xwud])
28f7ada8ddSmrgAC_CONFIG_SRCDIR([Makefile.am])
29f7ada8ddSmrgAC_CONFIG_HEADERS([config.h])
30f7ada8ddSmrg
31f7ada8ddSmrg# Initialize Automake
32ec318dbfSmrgAM_INIT_AUTOMAKE([foreign dist-xz])
33bccedf53Smrg
34f7ada8ddSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
357c5f6000Smrgm4_ifndef([XORG_MACROS_VERSION],
36f7ada8ddSmrg	  [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
37f7ada8ddSmrgXORG_MACROS_VERSION(1.8)
387c5f6000SmrgXORG_DEFAULT_OPTIONS
397c5f6000Smrg
40bccedf53Smrg# Checks for pkg-config packages
4189afc689SmrgPKG_CHECK_MODULES(XWUD, [x11 xproto >= 7.0.25])
42bccedf53Smrg
431b1389eeSmrgAC_CONFIG_FILES([
441b1389eeSmrg	Makefile
451b1389eeSmrg	man/Makefile])
461b1389eeSmrgAC_OUTPUT
47