1d1333322Smrg 2d1333322Smrgdnl Copyright 2005 Red Hat, Inc. 3d1333322Smrgdnl 4d1333322Smrgdnl Permission to use, copy, modify, distribute, and sell this software and its 5d1333322Smrgdnl documentation for any purpose is hereby granted without fee, provided that 6d1333322Smrgdnl the above copyright notice appear in all copies and that both that 7d1333322Smrgdnl copyright notice and this permission notice appear in supporting 8d1333322Smrgdnl documentation, and that the name of Red Hat not be used in 9d1333322Smrgdnl advertising or publicity pertaining to distribution of the software without 10d1333322Smrgdnl specific, written prior permission. Red Hat makes no 11d1333322Smrgdnl representations about the suitability of this software for any purpose. It 12d1333322Smrgdnl is provided "as is" without express or implied warranty. 13d1333322Smrgdnl 14d1333322Smrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15d1333322Smrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16d1333322Smrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17d1333322Smrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18d1333322Smrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19d1333322Smrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20d1333322Smrgdnl PERFORMANCE OF THIS SOFTWARE. 21d1333322Smrgdnl 22d1333322Smrgdnl Process this file with autoconf to create configure. 23d1333322Smrg 2469ef5f27Smrg# Initialize Autoconf 25742aa962SmrgAC_PREREQ([2.70]) 26742aa962SmrgAC_INIT([fslsfonts], [1.0.7], 27d04472e1Smrg [https://gitlab.freedesktop.org/xorg/app/fslsfonts/-/issues], 28d04472e1Smrg [fslsfonts]) 2969ef5f27SmrgAC_CONFIG_SRCDIR([Makefile.am]) 3069ef5f27SmrgAC_CONFIG_HEADERS([config.h]) 31d04472e1SmrgAC_USE_SYSTEM_EXTENSIONS 3269ef5f27Smrg 3369ef5f27Smrg# Initialize Automake 34d04472e1SmrgAM_INIT_AUTOMAKE([foreign dist-xz]) 35d1333322Smrg 364f9ac78aSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 374f9ac78aSmrgm4_ifndef([XORG_MACROS_VERSION], 384f9ac78aSmrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 394f9ac78aSmrgXORG_MACROS_VERSION(1.8) 404f9ac78aSmrgXORG_DEFAULT_OPTIONS 41d1333322Smrg 42d1333322Smrg# Checks for pkg-config packages 4369ef5f27SmrgPKG_CHECK_MODULES(FSLSFONTS, [xproto >= 7.0.25 libfs]) 44d1333322Smrg 45d04472e1Smrg# Checks for library functions 46d04472e1SmrgAC_SEARCH_LIBS([reallocarray], [bsd]) 47d04472e1SmrgAS_IF([test "x$ac_cv_search_reallocarray" = "x-lbsd"], 48d04472e1Smrg [AC_CHECK_HEADERS([bsd/stdlib.h])]) 49d04472e1SmrgAC_CHECK_FUNCS([reallocarray]) 50d04472e1Smrg 51c27291ebSmrgAC_CONFIG_FILES([ 52c27291ebSmrg Makefile 53c27291ebSmrg man/Makefile]) 54c27291ebSmrgAC_OUTPUT 55