configure.ac revision 9c125d91
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], 269c125d91Smrg [1.0.2], 279c125d91Smrg [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], 289c125d91Smrg [xmore]) 299c125d91SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2]) 3016910e25SmrgAM_MAINTAINER_MODE 3116910e25Smrg 329c125d91Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 339c125d91Smrgm4_ifndef([XORG_MACROS_VERSION], 349c125d91Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 359c125d91SmrgXORG_MACROS_VERSION(1.8) 369c125d91SmrgXORG_DEFAULT_OPTIONS 379c125d91Smrg 3816910e25SmrgAM_CONFIG_HEADER(config.h) 3916910e25Smrg 4016910e25SmrgAC_PROG_INSTALL 4116910e25Smrg 4216910e25Smrg# Checks for pkg-config packages 439c125d91SmrgPKG_CHECK_MODULES(XMORE, xaw7) 4416910e25Smrg 4516910e25SmrgPKG_CHECK_MODULES(APPDEFS, xt) 469c125d91Smrgxt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` 479c125d91SmrgAC_ARG_WITH(appdefaultdir, 489c125d91Smrg AC_HELP_STRING([--with-appdefaultdir=<pathname>], 499c125d91Smrg [specify directory for app-defaults files (default is autodetected)]), 509c125d91Smrg [appdefaultdir="$withval"], [appdefaultdir="${xt_appdefaultdir}"]) 5116910e25SmrgAC_SUBST(appdefaultdir) 5216910e25Smrg 5316910e25Smrg 5416910e25SmrgAC_OUTPUT([Makefile]) 55