configure.ac revision c75e344a
10e20ee16Smrg
20e20ee16Smrgdnl  Copyright 2005 Red Hat, Inc.
30e20ee16Smrgdnl 
40e20ee16Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
50e20ee16Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
60e20ee16Smrgdnl  the above copyright notice appear in all copies and that both that
70e20ee16Smrgdnl  copyright notice and this permission notice appear in supporting
80e20ee16Smrgdnl  documentation, and that the name of Red Hat not be used in
90e20ee16Smrgdnl  advertising or publicity pertaining to distribution of the software without
100e20ee16Smrgdnl  specific, written prior permission.  Red Hat makes no
110e20ee16Smrgdnl  representations about the suitability of this software for any purpose.  It
120e20ee16Smrgdnl  is provided "as is" without express or implied warranty.
130e20ee16Smrgdnl 
140e20ee16Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
150e20ee16Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
160e20ee16Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
170e20ee16Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
180e20ee16Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
190e20ee16Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
200e20ee16Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
210e20ee16Smrgdnl
220e20ee16Smrgdnl Process this file with autoconf to create configure.
230e20ee16Smrg
24c75e344aSmrg# Initialize Autoconf
25c75e344aSmrgAC_PREREQ([2.60])
26c75e344aSmrgAC_INIT([xkbprint], [1.0.3],
27c75e344aSmrg        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xkbprint])
28c75e344aSmrgAC_CONFIG_SRCDIR([Makefile.am])
29c75e344aSmrgAC_CONFIG_HEADERS([config.h])
30c75e344aSmrg
31c75e344aSmrg# Initialize Automake
32c75e344aSmrgAM_INIT_AUTOMAKE([foreign dist-bzip2])
330e20ee16SmrgAM_MAINTAINER_MODE
340e20ee16Smrg
35c75e344aSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
363e6697d4Smrgm4_ifndef([XORG_MACROS_VERSION],
37c75e344aSmrg          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
38c75e344aSmrgXORG_MACROS_VERSION(1.8)
393e6697d4SmrgXORG_DEFAULT_OPTIONS
403e6697d4Smrg
410e20ee16Smrg# Checks for pkg-config packages
420e20ee16SmrgPKG_CHECK_MODULES(XKBPRINT, xkbfile x11)
430e20ee16Smrg
440e20ee16SmrgAC_OUTPUT([Makefile])
45