116910e25Smrg 216910e25Smrgdnl Copyright 2005 Red Hat, Inc. 316910e25Smrgdnl 416910e25Smrgdnl Permission to use, copy, modify, distribute, and sell this software and its 516910e25Smrgdnl documentation for any purpose is hereby granted without fee, provided that 616910e25Smrgdnl the above copyright notice appear in all copies and that both that 716910e25Smrgdnl copyright notice and this permission notice appear in supporting 816910e25Smrgdnl documentation, and that the name of Red Hat not be used in 916910e25Smrgdnl advertising or publicity pertaining to distribution of the software without 1016910e25Smrgdnl specific, written prior permission. Red Hat makes no 1116910e25Smrgdnl representations about the suitability of this software for any purpose. It 1216910e25Smrgdnl is provided "as is" without express or implied warranty. 1316910e25Smrgdnl 1416910e25Smrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 1516910e25Smrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 1616910e25Smrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 1716910e25Smrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 1816910e25Smrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 1916910e25Smrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 2016910e25Smrgdnl PERFORMANCE OF THIS SOFTWARE. 2116910e25Smrgdnl 2216910e25Smrgdnl Process this file with autoconf to create configure. 2316910e25Smrg 249c125d91SmrgAC_PREREQ([2.60]) 259c125d91SmrgAC_INIT([xmore], 26ed89697eSmrg [1.0.4], 27ed89697eSmrg [https://gitlab.freedesktop.org/xorg/app/xmore/-/issues], 289c125d91Smrg [xmore]) 29ed89697eSmrgAM_INIT_AUTOMAKE([foreign dist-xz]) 3016910e25Smrg 319c125d91Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 329c125d91Smrgm4_ifndef([XORG_MACROS_VERSION], 339c125d91Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 349c125d91SmrgXORG_MACROS_VERSION(1.8) 359c125d91SmrgXORG_DEFAULT_OPTIONS 369c125d91Smrg 3776c9c3baSmrgAC_CONFIG_HEADERS([config.h]) 3816910e25Smrg 3916910e25Smrg 4016910e25Smrg# Checks for pkg-config packages 41ed89697eSmrgPKG_CHECK_MODULES(XMORE, [xaw7 xproto >= 7.0.25]) 4216910e25Smrg 4316910e25SmrgPKG_CHECK_MODULES(APPDEFS, xt) 449c125d91Smrgxt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` 459c125d91SmrgAC_ARG_WITH(appdefaultdir, 4676c9c3baSmrg AS_HELP_STRING([--with-appdefaultdir=<pathname>], 479c125d91Smrg [specify directory for app-defaults files (default is autodetected)]), 489c125d91Smrg [appdefaultdir="$withval"], [appdefaultdir="${xt_appdefaultdir}"]) 4916910e25SmrgAC_SUBST(appdefaultdir) 5016910e25Smrg 5116910e25Smrg 5276c9c3baSmrgAC_CONFIG_FILES([ 5376c9c3baSmrg Makefile 5476c9c3baSmrg man/Makefile]) 5576c9c3baSmrgAC_OUTPUT 56