1dnl  Copyright 2005 Red Hat, Inc.
2dnl 
3dnl  Permission to use, copy, modify, distribute, and sell this software
4dnl  and its documentation for any purpose is hereby granted without fee,
5dnl  provided that the above copyright notice appear in all copies and
6dnl  that both that copyright notice and this permission notice appear in
7dnl  supporting documentation, and that the name of Red Hat not be used in
8dnl  advertising or publicity pertaining to distribution of the software
9dnl  without specific, written prior permission.  Red Hat makes no
10dnl  representations about the suitability of this software for any
11dnl  purpose.  It is provided "as is" without express or implied warranty.
12dnl 
13dnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
14dnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
15dnl  NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
16dnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
17dnl  OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
18dnl  OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
19dnl  USE OR PERFORMANCE OF THIS SOFTWARE.
20dnl
21dnl Process this file with autoconf to create configure.
22
23# Initialize Autoconf
24AC_PREREQ([2.60])
25AC_INIT([bdftopcf], [1.1.2],
26        [https://gitlab.freedesktop.org/xorg/util/bdftopcf/-/issues], [bdftopcf])
27AC_CONFIG_SRCDIR([Makefile.am])
28AC_CONFIG_HEADERS([config.h])
29
30# Initialize Automake
31AM_INIT_AUTOMAKE([foreign dist-xz])
32
33# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
34m4_ifndef([XORG_MACROS_VERSION],
35          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
36XORG_MACROS_VERSION(1.8)
37XORG_DEFAULT_OPTIONS
38
39XORG_WITH_LINT
40
41PKG_CHECK_MODULES(BDFTOPCF, [xproto >= 7.0.22 fontsproto >= 2.1.3])
42
43AC_CONFIG_FILES([
44	Makefile
45	man/Makefile])
46AC_OUTPUT
47