configure.ac revision 4def10e6
1a0d3b6eaSmrgdnl  Copyright 2005 Red Hat, Inc.
2a0d3b6eaSmrgdnl 
3a0d3b6eaSmrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
4a0d3b6eaSmrgdnl  documentation for any purpose is hereby granted without fee, provided that
5a0d3b6eaSmrgdnl  the above copyright notice appear in all copies and that both that
6a0d3b6eaSmrgdnl  copyright notice and this permission notice appear in supporting
7a0d3b6eaSmrgdnl  documentation, and that the name of Red Hat not be used in
8a0d3b6eaSmrgdnl  advertising or publicity pertaining to distribution of the software without
9a0d3b6eaSmrgdnl  specific, written prior permission.  Red Hat makes no
10a0d3b6eaSmrgdnl  representations about the suitability of this software for any purpose.  It
11a0d3b6eaSmrgdnl  is provided "as is" without express or implied warranty.
12a0d3b6eaSmrgdnl 
13a0d3b6eaSmrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
14a0d3b6eaSmrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
15a0d3b6eaSmrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
16a0d3b6eaSmrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
17a0d3b6eaSmrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18a0d3b6eaSmrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19a0d3b6eaSmrgdnl  PERFORMANCE OF THIS SOFTWARE.
20a0d3b6eaSmrgdnl
21a0d3b6eaSmrgdnl Process this file with autoconf to create configure.
22a0d3b6eaSmrg
234def10e6SmrgAC_PREREQ([2.60])
244def10e6SmrgAC_INIT([xrandr], [1.3.4],
254def10e6Smrg        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xrandr])
26f8a31ee4SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2])
27a0d3b6eaSmrgAM_MAINTAINER_MODE
28a0d3b6eaSmrg
294def10e6Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
30f8a31ee4Smrgm4_ifndef([XORG_MACROS_VERSION],
314def10e6Smrg          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
324def10e6SmrgXORG_MACROS_VERSION(1.8)
33f8a31ee4SmrgXORG_DEFAULT_OPTIONS
3462df5ad0Smrg
35a0d3b6eaSmrgAM_CONFIG_HEADER(config.h)
36a0d3b6eaSmrg
3762df5ad0SmrgAC_CHECK_LIB(m,floor)
384def10e6Smrg
39a0d3b6eaSmrg# Checks for pkg-config packages
4062770414SmrgPKG_CHECK_MODULES(XRANDR, xrandr >= 1.3 xrender x11)
41a0d3b6eaSmrg
42a0d3b6eaSmrgAC_OUTPUT([Makefile])
43