1fdb3d228Smrg
2fdb3d228Smrgdnl  Copyright 2005 Red Hat, Inc.
3fdb3d228Smrgdnl 
4fdb3d228Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
5fdb3d228Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
6fdb3d228Smrgdnl  the above copyright notice appear in all copies and that both that
7fdb3d228Smrgdnl  copyright notice and this permission notice appear in supporting
8fdb3d228Smrgdnl  documentation, and that the name of Red Hat not be used in
9fdb3d228Smrgdnl  advertising or publicity pertaining to distribution of the software without
10fdb3d228Smrgdnl  specific, written prior permission.  Red Hat makes no
11fdb3d228Smrgdnl  representations about the suitability of this software for any purpose.  It
12fdb3d228Smrgdnl  is provided "as is" without express or implied warranty.
13fdb3d228Smrgdnl 
14fdb3d228Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15fdb3d228Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16fdb3d228Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17fdb3d228Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18fdb3d228Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19fdb3d228Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20fdb3d228Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
21fdb3d228Smrgdnl
22fdb3d228Smrgdnl Process this file with autoconf to create configure.
23fdb3d228Smrg
24585aa3f7Smrg# Initialize Autoconf
257d575c90SmrgAC_PREREQ([2.60])
2674b35aa8SmrgAC_INIT(xlsatoms, [1.1.4],
2774b35aa8Smrg	[https://gitlab.freedesktop.org/xorg/app/xlsatoms/-/issues],
28f5effb2eSmrg	xlsatoms)
29585aa3f7SmrgAC_CONFIG_SRCDIR([Makefile.am])
30585aa3f7SmrgAC_CONFIG_HEADERS([config.h])
31585aa3f7Smrg
32585aa3f7Smrg# Initialize Automake
3374b35aa8SmrgAM_INIT_AUTOMAKE([foreign dist-xz])
34fdb3d228Smrg
357d575c90Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
369b41ff1aSmrgm4_ifndef([XORG_MACROS_VERSION],
377d575c90Smrg          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
387d575c90SmrgXORG_MACROS_VERSION(1.8)
399b41ff1aSmrgXORG_DEFAULT_OPTIONS
409b41ff1aSmrg
41fdb3d228Smrg# Checks for pkg-config packages
42f5effb2eSmrgPKG_CHECK_MODULES(XLSATOMS, xcb)
43fdb3d228Smrg
447d575c90SmrgAC_CONFIG_FILES([
457d575c90Smrg	Makefile
467d575c90Smrg	man/Makefile])
477d575c90SmrgAC_OUTPUT
48