configure.ac revision f66e55a2
129459361Smrg
229459361Smrgdnl  Copyright 2005 Red Hat, Inc.
329459361Smrgdnl 
429459361Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
529459361Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
629459361Smrgdnl  the above copyright notice appear in all copies and that both that
729459361Smrgdnl  copyright notice and this permission notice appear in supporting
829459361Smrgdnl  documentation, and that the name of Red Hat not be used in
929459361Smrgdnl  advertising or publicity pertaining to distribution of the software without
1029459361Smrgdnl  specific, written prior permission.  Red Hat makes no
1129459361Smrgdnl  representations about the suitability of this software for any purpose.  It
1229459361Smrgdnl  is provided "as is" without express or implied warranty.
1329459361Smrgdnl 
1429459361Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1529459361Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1629459361Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1729459361Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1829459361Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1929459361Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2029459361Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
2129459361Smrgdnl
2229459361Smrgdnl Process this file with autoconf to create configure.
2329459361Smrg
24c3c9b392Smrg# Initialize Autoconf
25c3c9b392SmrgAC_PREREQ([2.60])
26f66e55a2SmrgAC_INIT([appres], [1.0.4],
27c3c9b392Smrg        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [appres])
28c3c9b392SmrgAC_CONFIG_SRCDIR([Makefile.am])
29c3c9b392SmrgAC_CONFIG_HEADERS([config.h])
30c3c9b392Smrg
31c3c9b392Smrg# Initialize Automake
32c3c9b392SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2])
3329459361SmrgAM_MAINTAINER_MODE
3429459361Smrg
35c3c9b392Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
36c3c9b392Smrgm4_ifndef([XORG_MACROS_VERSION],
37c3c9b392Smrg          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
38c3c9b392SmrgXORG_MACROS_VERSION(1.8)
395715adc0SmrgXORG_DEFAULT_OPTIONS
405715adc0Smrg
4129459361Smrg# Checks for pkg-config packages
42f66e55a2SmrgPKG_CHECK_MODULES(APPRES, [x11 xt xproto >= 7.0.17])
4329459361Smrg
44f66e55a2SmrgAC_CONFIG_FILES([
45f66e55a2Smrg	Makefile
46f66e55a2Smrg	man/Makefile])
47f66e55a2SmrgAC_OUTPUT
48