configure.ac revision 62df5ad0
11.1Sglassdnl  Copyright 2005 Red Hat, Inc.
21.78Spookadnl 
31.9Scgddnl  Permission to use, copy, modify, distribute, and sell this software and its
41.37Scgddnl  documentation for any purpose is hereby granted without fee, provided that
51.12Scgddnl  the above copyright notice appear in all copies and that both that
61.12Scgddnl  copyright notice and this permission notice appear in supporting
71.12Scgddnl  documentation, and that the name of Red Hat not be used in
81.12Scgddnl  advertising or publicity pertaining to distribution of the software without
91.12Scgddnl  specific, written prior permission.  Red Hat makes no
101.12Scgddnl  representations about the suitability of this software for any purpose.  It
111.12Scgddnl  is provided "as is" without express or implied warranty.
121.12Scgddnl 
131.12Scgddnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
141.12Scgddnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
151.12Scgddnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
161.12Scgddnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
171.12Scgddnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
181.12Scgddnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
191.12Scgddnl  PERFORMANCE OF THIS SOFTWARE.
201.12Scgddnl
211.12Scgddnl Process this file with autoconf to create configure.
221.12Scgd
231.12ScgdAC_PREREQ([2.57])
241.12ScgdAC_INIT(xrandr,[1.3.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xrandr)
251.12ScgdAM_INIT_AUTOMAKE([dist-bzip2])
261.12ScgdAM_MAINTAINER_MODE
271.12Scgd
281.12Scgd# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG
291.12Scgdm4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])])
301.12ScgdXORG_MACROS_VERSION(1.2)
311.12Scgd
321.14ScgdAM_CONFIG_HEADER(config.h)
331.14Scgd
341.1SglassAC_PROG_CC
351.1SglassAC_PROG_INSTALL
361.1SglassXORG_CWARNFLAGS
371.11Scgd
381.11ScgdAC_CHECK_LIB(m,floor)
391.11Scgd# Checks for pkg-config packages
401.11ScgdPKG_CHECK_MODULES(XRANDR, xrandr >= 1.2.99.3 xrender x11)
411.11ScgdXRANDR_CFLAGS="$CWARNFLAGS $XRANDR_CFLAGS"
421.11ScgdAC_SUBST(XRANDR_CFLAGS)
431.11ScgdAC_SUBST(XRANDR_LIBS)
441.11Scgd
451.68SchristosXORG_MANPAGE_SECTIONS
461.11ScgdXORG_RELEASE_VERSION
471.11ScgdXORG_CHANGELOG
481.11Scgd
491.11ScgdAC_OUTPUT([Makefile])
501.11Scgd