configure.ac revision 1a28b98b
10ed7c580Smrg
20ed7c580Smrgdnl  Copyright 2005 Red Hat, Inc.
30ed7c580Smrgdnl
40ed7c580Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
50ed7c580Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
60ed7c580Smrgdnl  the above copyright notice appear in all copies and that both that
70ed7c580Smrgdnl  copyright notice and this permission notice appear in supporting
80ed7c580Smrgdnl  documentation, and that the name of Red Hat not be used in
90ed7c580Smrgdnl  advertising or publicity pertaining to distribution of the software without
100ed7c580Smrgdnl  specific, written prior permission.  Red Hat makes no
110ed7c580Smrgdnl  representations about the suitability of this software for any purpose.  It
120ed7c580Smrgdnl  is provided "as is" without express or implied warranty.
130ed7c580Smrgdnl
140ed7c580Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
150ed7c580Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
160ed7c580Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
170ed7c580Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
180ed7c580Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
190ed7c580Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
200ed7c580Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
210ed7c580Smrgdnl
220ed7c580Smrgdnl Process this file with autoconf to create configure.
230ed7c580Smrg
240ed7c580Smrg# Initialize Autoconf
250ed7c580SmrgAC_PREREQ([2.60])
261a28b98bSmrgAC_INIT([showfont], [1.0.6],
271a28b98bSmrg        [https://gitlab.freedesktop.org/xorg/app/showfont/-/issues], [showfont])
280ed7c580SmrgAC_CONFIG_SRCDIR([Makefile.am])
290ed7c580SmrgAC_CONFIG_HEADERS([config.h])
300ed7c580Smrg
310ed7c580Smrg# Initialize Automake
321a28b98bSmrgAM_INIT_AUTOMAKE([foreign dist-xz])
330ed7c580Smrg
340ed7c580Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
350ed7c580Smrgm4_ifndef([XORG_MACROS_VERSION],
360ed7c580Smrg          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
370ed7c580SmrgXORG_MACROS_VERSION(1.8)
380ed7c580SmrgXORG_DEFAULT_OPTIONS
390ed7c580Smrg
400ed7c580Smrg# Checks for pkg-config packages
410ed7c580SmrgPKG_CHECK_MODULES(SHOWFONT, libfs)
420ed7c580Smrg
430ed7c580SmrgAC_CONFIG_FILES([
440ed7c580Smrg	Makefile
450ed7c580Smrg	man/Makefile])
460ed7c580SmrgAC_OUTPUT
47