1a1d141d5Smrg 2a1d141d5Smrgdnl Copyright 2005 Red Hat, Inc. 355074dd0Smrgdnl 4a1d141d5Smrgdnl Permission to use, copy, modify, distribute, and sell this software and its 5a1d141d5Smrgdnl documentation for any purpose is hereby granted without fee, provided that 6a1d141d5Smrgdnl the above copyright notice appear in all copies and that both that 7a1d141d5Smrgdnl copyright notice and this permission notice appear in supporting 8a1d141d5Smrgdnl documentation, and that the name of Red Hat not be used in 9a1d141d5Smrgdnl advertising or publicity pertaining to distribution of the software without 10a1d141d5Smrgdnl specific, written prior permission. Red Hat makes no 11a1d141d5Smrgdnl representations about the suitability of this software for any purpose. It 12a1d141d5Smrgdnl is provided "as is" without express or implied warranty. 1355074dd0Smrgdnl 14a1d141d5Smrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15a1d141d5Smrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16a1d141d5Smrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17a1d141d5Smrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18a1d141d5Smrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19a1d141d5Smrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20a1d141d5Smrgdnl PERFORMANCE OF THIS SOFTWARE. 21a1d141d5Smrgdnl 22a1d141d5Smrgdnl Process this file with autoconf to create configure. 23a1d141d5Smrg 2455074dd0Smrg# Initialize Autoconf 2555074dd0SmrgAC_PREREQ([2.60]) 263bee1c92SmrgAC_INIT([xeyes], [1.3.0], 273bee1c92Smrg [https://gitlab.freedesktop.org/xorg/app/xeyes/-/issues], [xeyes]) 2855074dd0SmrgAC_CONFIG_SRCDIR([Makefile.am]) 2955074dd0SmrgAC_CONFIG_HEADERS([config.h]) 3055074dd0Smrg 3155074dd0Smrg# Initialize Automake 323bee1c92SmrgAM_INIT_AUTOMAKE([foreign dist-xz]) 33a1d141d5Smrg 3455074dd0Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 352ddb6cf1Smrgm4_ifndef([XORG_MACROS_VERSION], 3655074dd0Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 3755074dd0SmrgXORG_MACROS_VERSION(1.8) 382ddb6cf1SmrgXORG_DEFAULT_OPTIONS 392ddb6cf1Smrg 40a1d141d5Smrg# Checks for pkg-config packages 4126df5c7cSmrgPKG_CHECK_MODULES(XEYES, [xi >= 1.7 x11 xt xext xmu xproto >= 7.0.17]) 42a1d141d5Smrg 432ddb6cf1Smrgdnl Optional dependencies 44054b3d00SmrgAC_ARG_WITH(xrender, AS_HELP_STRING([--with-xrender],[Use Xrender for rendering (Default is YES)]),use_xrender="$withval",use_xrender="try") 452ddb6cf1Smrgif test x$use_xrender != xno ; then 462ddb6cf1Smrg PKG_CHECK_MODULES(XRENDER, [xrender >= 0.4]) 472ddb6cf1Smrg AC_DEFINE([XRENDER],1,[Define to use X Render Extension]) 482ddb6cf1Smrgfi 49a1d141d5Smrg 5026df5c7cSmrgAC_ARG_WITH(present, AS_HELP_STRING([--with-present],[Use Present for updates (Default is AUTO)]),use_present="$withval",use_present="try") 5126df5c7cSmrgif test x$use_present != xno ; then 5226df5c7cSmrg PKG_CHECK_MODULES(PRESENT, [x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage]) 5326df5c7cSmrg AC_DEFINE([PRESENT],1,[Define to use X Present Extension]) 5426df5c7cSmrgfi 5526df5c7cSmrg 56054b3d00SmrgAC_CONFIG_FILES([ 57054b3d00Smrg Makefile 58054b3d00Smrg man/Makefile]) 59054b3d00SmrgAC_OUTPUT 60