17da8b7e3Smrg 27da8b7e3Smrgdnl Copyright 2005 Red Hat, Inc. 37da8b7e3Smrgdnl 47da8b7e3Smrgdnl Permission to use, copy, modify, distribute, and sell this software and its 57da8b7e3Smrgdnl documentation for any purpose is hereby granted without fee, provided that 67da8b7e3Smrgdnl the above copyright notice appear in all copies and that both that 77da8b7e3Smrgdnl copyright notice and this permission notice appear in supporting 87da8b7e3Smrgdnl documentation, and that the name of Red Hat not be used in 97da8b7e3Smrgdnl advertising or publicity pertaining to distribution of the software without 107da8b7e3Smrgdnl specific, written prior permission. Red Hat makes no 117da8b7e3Smrgdnl representations about the suitability of this software for any purpose. It 127da8b7e3Smrgdnl is provided "as is" without express or implied warranty. 137da8b7e3Smrgdnl 147da8b7e3Smrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 157da8b7e3Smrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 167da8b7e3Smrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 177da8b7e3Smrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 187da8b7e3Smrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 197da8b7e3Smrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 207da8b7e3Smrgdnl PERFORMANCE OF THIS SOFTWARE. 217da8b7e3Smrgdnl 227da8b7e3Smrgdnl Process this file with autoconf to create configure. 237da8b7e3Smrg 24bded5d25Smrg# Initialize Autoconf 25bded5d25SmrgAC_PREREQ([2.60]) 26e4efb0bcSmrgAC_INIT([xrefresh], [1.1.0], 27e4efb0bcSmrg [https://gitlab.freedesktop.org/xorg/app/xrefresh/-/issues], [xrefresh]) 28bded5d25SmrgAC_CONFIG_SRCDIR([Makefile.am]) 29bded5d25SmrgAC_CONFIG_HEADERS([config.h]) 30c3d5982aSmrgAC_USE_SYSTEM_EXTENSIONS 31bded5d25Smrg 32bded5d25Smrg# Initialize Automake 33e4b60806SmrgAM_INIT_AUTOMAKE([foreign dist-xz]) 347da8b7e3Smrg 35bded5d25Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 36123e2cc7Smrgm4_ifndef([XORG_MACROS_VERSION], 37bded5d25Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 38bded5d25SmrgXORG_MACROS_VERSION(1.8) 39123e2cc7SmrgXORG_DEFAULT_OPTIONS 40123e2cc7Smrg 41c3d5982aSmrgAC_CHECK_FUNCS([strcasecmp]) 42c3d5982aSmrg 437da8b7e3Smrg# Checks for pkg-config packages 44ff143803SmrgPKG_CHECK_MODULES(XREFRESH, [x11 xproto >= 7.0.25]) 457da8b7e3Smrg 46c3d5982aSmrgAC_CONFIG_FILES([ 47c3d5982aSmrg Makefile 48c3d5982aSmrg man/Makefile]) 49c3d5982aSmrgAC_OUTPUT 50