configure.ac revision fc89c0fb
1fc89c0fbSmrg
2fc89c0fbSmrgdnl  Copyright 2005 Red Hat, Inc.
3fc89c0fbSmrgdnl 
4fc89c0fbSmrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
5fc89c0fbSmrgdnl  documentation for any purpose is hereby granted without fee, provided that
6fc89c0fbSmrgdnl  the above copyright notice appear in all copies and that both that
7fc89c0fbSmrgdnl  copyright notice and this permission notice appear in supporting
8fc89c0fbSmrgdnl  documentation, and that the name of Red Hat not be used in
9fc89c0fbSmrgdnl  advertising or publicity pertaining to distribution of the software without
10fc89c0fbSmrgdnl  specific, written prior permission.  Red Hat makes no
11fc89c0fbSmrgdnl  representations about the suitability of this software for any purpose.  It
12fc89c0fbSmrgdnl  is provided "as is" without express or implied warranty.
13fc89c0fbSmrgdnl 
14fc89c0fbSmrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15fc89c0fbSmrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16fc89c0fbSmrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17fc89c0fbSmrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18fc89c0fbSmrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19fc89c0fbSmrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20fc89c0fbSmrgdnl  PERFORMANCE OF THIS SOFTWARE.
21fc89c0fbSmrgdnl
22fc89c0fbSmrgdnl Process this file with autoconf to create configure.
23fc89c0fbSmrg
24fc89c0fbSmrgAC_PREREQ([2.57])
25fc89c0fbSmrgAC_INIT(xprop,[1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xprop)
26fc89c0fbSmrgAM_INIT_AUTOMAKE([dist-bzip2])
27fc89c0fbSmrgAM_MAINTAINER_MODE
28fc89c0fbSmrg
29fc89c0fbSmrgAM_CONFIG_HEADER(config.h)
30fc89c0fbSmrg
31fc89c0fbSmrg# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
32fc89c0fbSmrgm4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1 or later before running autoconf/autogen])])
33fc89c0fbSmrgXORG_MACROS_VERSION(1.1)
34fc89c0fbSmrg
35fc89c0fbSmrgAC_PROG_CC
36fc89c0fbSmrgAC_PROG_INSTALL
37fc89c0fbSmrg
38fc89c0fbSmrgAC_CHECK_HEADERS_ONCE([wchar.h wctype.h])
39fc89c0fbSmrg
40fc89c0fbSmrg# Checks for pkg-config packages
41fc89c0fbSmrgPKG_CHECK_MODULES(XPROP, xmuu x11)
42fc89c0fbSmrgAC_SUBST(XPROP_CFLAGS)
43fc89c0fbSmrgAC_SUBST(XPROP_LIBS)
44fc89c0fbSmrg
45fc89c0fbSmrgXORG_WITH_LINT
46fc89c0fbSmrgXORG_MANPAGE_SECTIONS
47fc89c0fbSmrgXORG_RELEASE_VERSION
48fc89c0fbSmrg
49fc89c0fbSmrgAC_OUTPUT([Makefile])
50