configure.ac revision 576bbdfc
1fc89c0fbSmrgdnl  Copyright 2005 Red Hat, Inc.
2fc89c0fbSmrgdnl 
3fc89c0fbSmrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
4fc89c0fbSmrgdnl  documentation for any purpose is hereby granted without fee, provided that
5fc89c0fbSmrgdnl  the above copyright notice appear in all copies and that both that
6fc89c0fbSmrgdnl  copyright notice and this permission notice appear in supporting
7fc89c0fbSmrgdnl  documentation, and that the name of Red Hat not be used in
8fc89c0fbSmrgdnl  advertising or publicity pertaining to distribution of the software without
9fc89c0fbSmrgdnl  specific, written prior permission.  Red Hat makes no
10fc89c0fbSmrgdnl  representations about the suitability of this software for any purpose.  It
11fc89c0fbSmrgdnl  is provided "as is" without express or implied warranty.
12fc89c0fbSmrgdnl 
13fc89c0fbSmrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
14fc89c0fbSmrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
15fc89c0fbSmrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
16fc89c0fbSmrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
17fc89c0fbSmrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18fc89c0fbSmrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19fc89c0fbSmrgdnl  PERFORMANCE OF THIS SOFTWARE.
20fc89c0fbSmrgdnl
21fc89c0fbSmrgdnl Process this file with autoconf to create configure.
22fc89c0fbSmrg
23576bbdfcSmrg# Initialize Autoconf
24a0996ce0SmrgAC_PREREQ([2.60])
25576bbdfcSmrgAC_INIT([xprop], [1.2.2],
26a0996ce0Smrg        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xprop])
27576bbdfcSmrgAC_CONFIG_SRCDIR([Makefile.am])
28576bbdfcSmrgAC_CONFIG_HEADERS([config.h])
29576bbdfcSmrg
30576bbdfcSmrg# Initialize Automake
31a0996ce0SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2])
32fc89c0fbSmrgAM_MAINTAINER_MODE
33fc89c0fbSmrg
34a0996ce0Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
3591ec45ceSmrgm4_ifndef([XORG_MACROS_VERSION],
36a0996ce0Smrg	  [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
37a0996ce0SmrgXORG_MACROS_VERSION(1.8)
3891ec45ceSmrgXORG_DEFAULT_OPTIONS
3991ec45ceSmrg
4091ec45ceSmrgAC_CHECK_HEADERS([wchar.h wctype.h langinfo.h])
41fc89c0fbSmrg
42fc89c0fbSmrg# Checks for pkg-config packages
43f4a95042SmrgPKG_CHECK_MODULES(XPROP, [x11 xproto >= 7.0.17])
44fc89c0fbSmrg
45fc89c0fbSmrgXORG_WITH_LINT
46fc89c0fbSmrg
47f4a95042SmrgAC_CONFIG_FILES([
48f4a95042Smrg	Makefile
49f4a95042Smrg	man/Makefile])
50f4a95042SmrgAC_OUTPUT
51