1cacd992dSmrg 2cacd992dSmrgdnl Copyright 2005 Red Hat, Inc. 3cacd992dSmrgdnl 4cacd992dSmrgdnl Permission to use, copy, modify, distribute, and sell this software and its 5cacd992dSmrgdnl documentation for any purpose is hereby granted without fee, provided that 6cacd992dSmrgdnl the above copyright notice appear in all copies and that both that 7cacd992dSmrgdnl copyright notice and this permission notice appear in supporting 8cacd992dSmrgdnl documentation, and that the name of Red Hat not be used in 9cacd992dSmrgdnl advertising or publicity pertaining to distribution of the software without 10cacd992dSmrgdnl specific, written prior permission. Red Hat makes no 11cacd992dSmrgdnl representations about the suitability of this software for any purpose. It 12cacd992dSmrgdnl is provided "as is" without express or implied warranty. 13cacd992dSmrgdnl 14cacd992dSmrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15cacd992dSmrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16cacd992dSmrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17cacd992dSmrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18cacd992dSmrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19cacd992dSmrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20cacd992dSmrgdnl PERFORMANCE OF THIS SOFTWARE. 21cacd992dSmrgdnl 22cacd992dSmrgdnl Process this file with autoconf to create configure. 23cacd992dSmrg 246758a055Smrg# Initialize Autoconf 256758a055SmrgAC_PREREQ([2.60]) 266758a055SmrgAC_INIT(xvidtune, [1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xvidtune) 276758a055SmrgAC_CONFIG_SRCDIR([Makefile.am]) 286758a055SmrgAC_CONFIG_HEADERS([config.h]) 296758a055Smrg 306758a055Smrg# Initialize Automake 3114ddf674SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2]) 32cacd992dSmrgAM_MAINTAINER_MODE 33cacd992dSmrg 346758a055Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 3514ddf674Smrgm4_ifndef([XORG_MACROS_VERSION], 366758a055Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 376758a055SmrgXORG_MACROS_VERSION(1.8) 3814ddf674SmrgXORG_DEFAULT_OPTIONS 39cacd992dSmrg 40cacd992dSmrg# Checks for pkg-config packages 4114ddf674SmrgPKG_CHECK_MODULES(XVIDTUNE, xxf86vm xt xaw7 xmu x11) 4214ddf674Smrgxt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` 4314ddf674SmrgAC_ARG_WITH(appdefaultdir, 446758a055Smrg AS_HELP_STRING([--with-appdefaultdir=<pathname>], 4514ddf674Smrg [specify directory for app-defaults files (default is autodetected)]), 4614ddf674Smrg [appdefaultdir="$withval"], [appdefaultdir="${xt_appdefaultdir}"]) 47cacd992dSmrgAC_SUBST(appdefaultdir) 48cacd992dSmrg 49cacd992dSmrg 506758a055SmrgAC_CONFIG_FILES([ 516758a055Smrg Makefile 526758a055Smrg man/Makefile]) 536758a055SmrgAC_OUTPUT 54