12c7c4e3dSmrg
22c7c4e3dSmrgdnl  Copyright 2005 Red Hat, Inc.
32becc446Smrgdnl
42c7c4e3dSmrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
52c7c4e3dSmrgdnl  documentation for any purpose is hereby granted without fee, provided that
62c7c4e3dSmrgdnl  the above copyright notice appear in all copies and that both that
72c7c4e3dSmrgdnl  copyright notice and this permission notice appear in supporting
82c7c4e3dSmrgdnl  documentation, and that the name of Red Hat not be used in
92c7c4e3dSmrgdnl  advertising or publicity pertaining to distribution of the software without
102c7c4e3dSmrgdnl  specific, written prior permission.  Red Hat makes no
112c7c4e3dSmrgdnl  representations about the suitability of this software for any purpose.  It
122c7c4e3dSmrgdnl  is provided "as is" without express or implied warranty.
132becc446Smrgdnl
142c7c4e3dSmrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
152c7c4e3dSmrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
162c7c4e3dSmrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
172c7c4e3dSmrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
182c7c4e3dSmrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
192c7c4e3dSmrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
202c7c4e3dSmrgdnl  PERFORMANCE OF THIS SOFTWARE.
212c7c4e3dSmrgdnl
222c7c4e3dSmrgdnl Process this file with autoconf to create configure.
232c7c4e3dSmrg
242becc446Smrg# Initialize Autoconf
2516d7e2f1SmrgAC_PREREQ([2.60])
2616d7e2f1SmrgAC_INIT([xcmsdb],
27c1e8faa6Smrg	[1.0.7],
28c1e8faa6Smrg	[https://gitlab.freedesktop.org/xorg/app/xcmsdb/-/issues],
2916d7e2f1Smrg	[xcmsdb])
302becc446SmrgAC_CONFIG_HEADERS([config.h])
312becc446SmrgAC_CONFIG_SRCDIR([Makefile.am])
322becc446Smrg
332becc446Smrg# Initialize Automake
343458e6c2SmrgAM_INIT_AUTOMAKE([foreign dist-xz])
352c7c4e3dSmrg
3616d7e2f1Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
378650bb69Smrgm4_ifndef([XORG_MACROS_VERSION],
3816d7e2f1Smrg	  [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
3916d7e2f1SmrgXORG_MACROS_VERSION(1.8)
408650bb69SmrgXORG_DEFAULT_OPTIONS
418650bb69Smrg
42c1e8faa6Smrg# Checks for typedefs, structures, and compiler characteristics.
43c1e8faa6SmrgAC_SYS_LARGEFILE
44c1e8faa6Smrg
452c7c4e3dSmrg# Checks for pkg-config packages
462c7c4e3dSmrgPKG_CHECK_MODULES(XCMSDB, x11)
472c7c4e3dSmrg
4816d7e2f1SmrgAC_CONFIG_FILES([
4916d7e2f1Smrg	Makefile
5016d7e2f1Smrg	man/Makefile])
5116d7e2f1SmrgAC_OUTPUT
52