configure.ac revision 168023fe
16ea72052Smrg 26ea72052Smrgdnl Copyright 2005 Red Hat, Inc. 36ea72052Smrgdnl 46ea72052Smrgdnl Permission to use, copy, modify, distribute, and sell this software and its 56ea72052Smrgdnl documentation for any purpose is hereby granted without fee, provided that 66ea72052Smrgdnl the above copyright notice appear in all copies and that both that 76ea72052Smrgdnl copyright notice and this permission notice appear in supporting 86ea72052Smrgdnl documentation, and that the name of Red Hat not be used in 96ea72052Smrgdnl advertising or publicity pertaining to distribution of the software without 106ea72052Smrgdnl specific, written prior permission. Red Hat makes no 116ea72052Smrgdnl representations about the suitability of this software for any purpose. It 126ea72052Smrgdnl is provided "as is" without express or implied warranty. 136ea72052Smrgdnl 146ea72052Smrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 156ea72052Smrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 166ea72052Smrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 176ea72052Smrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 186ea72052Smrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 196ea72052Smrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 206ea72052Smrgdnl PERFORMANCE OF THIS SOFTWARE. 216ea72052Smrgdnl 226ea72052Smrgdnl Process this file with autoconf to create configure. 236ea72052Smrg 24168023feSmrgAC_PREREQ([2.60]) 25168023feSmrgAC_INIT([oclock], 26168023feSmrg [1.0.2], 27168023feSmrg [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], 28168023feSmrg [oclock]) 29168023feSmrgAM_INIT_AUTOMAKE([foreign dist-bzip2]) 306ea72052SmrgAM_MAINTAINER_MODE 316ea72052Smrg 32168023feSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 33168023feSmrgm4_ifndef([XORG_MACROS_VERSION], 34168023feSmrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 35168023feSmrgXORG_MACROS_VERSION(1.8) 36168023feSmrgXORG_DEFAULT_OPTIONS 376ea72052Smrg 38168023feSmrgAM_CONFIG_HEADER(config.h) 396ea72052Smrg 406ea72052Smrg# Checks for pkg-config packages 416ea72052SmrgPKG_CHECK_MODULES(OCLOCK, x11 xmu xext) 426ea72052Smrg 436ea72052SmrgPKG_CHECK_MODULES(APPDEFS, xt) 44168023feSmrgxt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` 45168023feSmrgAC_ARG_WITH(appdefaultdir, 46168023feSmrg AC_HELP_STRING([--with-appdefaultdir=<pathname>], 47168023feSmrg [specify directory for app-defaults files (default is autodetected)]), 48168023feSmrg [appdefaultdir="$withval"], [appdefaultdir="${xt_appdefaultdir}"]) 496ea72052SmrgAC_SUBST(appdefaultdir) 506ea72052Smrg 516ea72052Smrg 526ea72052SmrgAC_OUTPUT([Makefile]) 53