configure.ac revision 09113985
1a0d3b6eaSmrgdnl Copyright 2005 Red Hat, Inc. 2a0d3b6eaSmrgdnl 3a0d3b6eaSmrgdnl Permission to use, copy, modify, distribute, and sell this software and its 4a0d3b6eaSmrgdnl documentation for any purpose is hereby granted without fee, provided that 5a0d3b6eaSmrgdnl the above copyright notice appear in all copies and that both that 6a0d3b6eaSmrgdnl copyright notice and this permission notice appear in supporting 7a0d3b6eaSmrgdnl documentation, and that the name of Red Hat not be used in 8a0d3b6eaSmrgdnl advertising or publicity pertaining to distribution of the software without 9a0d3b6eaSmrgdnl specific, written prior permission. Red Hat makes no 10a0d3b6eaSmrgdnl representations about the suitability of this software for any purpose. It 11a0d3b6eaSmrgdnl is provided "as is" without express or implied warranty. 12a0d3b6eaSmrgdnl 13a0d3b6eaSmrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 14a0d3b6eaSmrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 15a0d3b6eaSmrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 16a0d3b6eaSmrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 17a0d3b6eaSmrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 18a0d3b6eaSmrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 19a0d3b6eaSmrgdnl PERFORMANCE OF THIS SOFTWARE. 20a0d3b6eaSmrgdnl 21a0d3b6eaSmrgdnl Process this file with autoconf to create configure. 22a0d3b6eaSmrg 23966b534aSmrg# Initialize Autoconf 244def10e6SmrgAC_PREREQ([2.60]) 2509113985SmrgAC_INIT([xrandr], [1.5.2], 2609113985Smrg [https://gitlab.freedesktop.org/xorg/app/xrandr/-/issues], [xrandr]) 27966b534aSmrgAC_CONFIG_SRCDIR([Makefile.am]) 28966b534aSmrgAC_CONFIG_HEADERS([config.h]) 29966b534aSmrg 30966b534aSmrg# Initialize Automake 3109113985SmrgAM_INIT_AUTOMAKE([foreign dist-xz]) 32a0d3b6eaSmrg 334def10e6Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 34f8a31ee4Smrgm4_ifndef([XORG_MACROS_VERSION], 354def10e6Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 364def10e6SmrgXORG_MACROS_VERSION(1.8) 37f8a31ee4SmrgXORG_DEFAULT_OPTIONS 3862df5ad0Smrg 3962df5ad0SmrgAC_CHECK_LIB(m,floor) 404def10e6Smrg 41a0d3b6eaSmrg# Checks for pkg-config packages 424a908991SmrgPKG_CHECK_MODULES(XRANDR, xrandr >= 1.5 xrender x11 xproto >= 7.0.17) 43a0d3b6eaSmrg 44781f9a67SmrgAC_CONFIG_FILES([ 45781f9a67Smrg Makefile 46781f9a67Smrg man/Makefile]) 47781f9a67SmrgAC_OUTPUT 48