11fb077a1Smrg 21fb077a1Smrgdnl Copyright 2005 Red Hat, Inc. 31fb077a1Smrgdnl 41fb077a1Smrgdnl Permission to use, copy, modify, distribute, and sell this software and its 51fb077a1Smrgdnl documentation for any purpose is hereby granted without fee, provided that 61fb077a1Smrgdnl the above copyright notice appear in all copies and that both that 71fb077a1Smrgdnl copyright notice and this permission notice appear in supporting 81fb077a1Smrgdnl documentation, and that the name of Red Hat not be used in 91fb077a1Smrgdnl advertising or publicity pertaining to distribution of the software without 101fb077a1Smrgdnl specific, written prior permission. Red Hat makes no 111fb077a1Smrgdnl representations about the suitability of this software for any purpose. It 121fb077a1Smrgdnl is provided "as is" without express or implied warranty. 131fb077a1Smrgdnl 141fb077a1Smrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 151fb077a1Smrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 161fb077a1Smrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 171fb077a1Smrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 181fb077a1Smrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 191fb077a1Smrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 201fb077a1Smrgdnl PERFORMANCE OF THIS SOFTWARE. 211fb077a1Smrgdnl 221fb077a1Smrgdnl Process this file with autoconf to create configure. 231fb077a1Smrg 24ae51dfb6Smrg# Initialize Autoconf 25a5a92c01SmrgAC_PREREQ([2.60]) 26ebcdf611SmrgAC_INIT([ico], [1.0.6], 27ebcdf611Smrg [https://gitlab.freedesktop.org/xorg/app/ico/issues], [ico]) 28ae51dfb6SmrgAC_CONFIG_SRCDIR([Makefile.am]) 29ae51dfb6SmrgAC_CONFIG_HEADERS([config.h]) 30ae51dfb6Smrg 31ae51dfb6Smrg# Initialize Automake 32ebcdf611SmrgAM_INIT_AUTOMAKE([foreign dist-xz]) 331fb077a1Smrg 34a5a92c01Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 35a5a92c01Smrgm4_ifndef([XORG_MACROS_VERSION], 36a5a92c01Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 37a5a92c01SmrgXORG_MACROS_VERSION(1.8) 38a5a92c01SmrgXORG_DEFAULT_OPTIONS 391fb077a1Smrg 401fb077a1Smrg# Checks for pkg-config packages 411d05b0c9SmrgPKG_CHECK_MODULES(ICO, [x11 >= 0.99.1 xproto >= 7.0.22]) 42a5a92c01Smrg 431fb077a1SmrgXTHREADLIB=`$PKG_CONFIG --variable=xthreadlib x11` 441fb077a1SmrgAC_SUBST(XTHREADLIB) 451fb077a1Smrg 461fb077a1Smrg 471d05b0c9SmrgAC_CONFIG_FILES([ 481d05b0c9Smrg Makefile 491d05b0c9Smrg man/Makefile]) 501d05b0c9SmrgAC_OUTPUT 51