configure.ac revision e0963ede
1e0963edeSmrgdnl Copyright 2005 Red Hat, Inc. 2e0963edeSmrgdnl 3e0963edeSmrgdnl Permission to use, copy, modify, distribute, and sell this software and its 4e0963edeSmrgdnl documentation for any purpose is hereby granted without fee, provided that 5e0963edeSmrgdnl the above copyright notice appear in all copies and that both that 6e0963edeSmrgdnl copyright notice and this permission notice appear in supporting 7e0963edeSmrgdnl documentation, and that the name of Red Hat not be used in 8e0963edeSmrgdnl advertising or publicity pertaining to distribution of the software without 9e0963edeSmrgdnl specific, written prior permission. Red Hat makes no 10e0963edeSmrgdnl representations about the suitability of this software for any purpose. It 11e0963edeSmrgdnl is provided "as is" without express or implied warranty. 12e0963edeSmrgdnl 13e0963edeSmrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 14e0963edeSmrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 15e0963edeSmrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 16e0963edeSmrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 17e0963edeSmrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 18e0963edeSmrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 19e0963edeSmrgdnl PERFORMANCE OF THIS SOFTWARE. 20e0963edeSmrgdnl 21e0963edeSmrgdnl Process this file with autoconf to create configure. 22e0963edeSmrg 23e0963edeSmrgAC_PREREQ([2.57]) 24e0963edeSmrg 25e0963edeSmrgAC_INIT(libXinerama, 1.0.3, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXinerama) 26e0963edeSmrgAM_INIT_AUTOMAKE([dist-bzip2]) 27e0963edeSmrgAM_MAINTAINER_MODE 28e0963edeSmrg 29e0963edeSmrgAM_CONFIG_HEADER(config.h) 30e0963edeSmrg 31e0963edeSmrg# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro 32e0963edeSmrgm4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1 or later])]) 33e0963edeSmrgXORG_MACROS_VERSION(1.1) 34e0963edeSmrg 35e0963edeSmrg# Check for progs 36e0963edeSmrgAC_PROG_CC 37e0963edeSmrgAC_PROG_LIBTOOL 38e0963edeSmrg 39e0963edeSmrg# Check for dependencies 40e0963edeSmrgPKG_CHECK_MODULES(XINERAMA, x11 xext xextproto xineramaproto) 41e0963edeSmrg 42e0963edeSmrgAC_SUBST(XINERAMA_CFLAGS) 43e0963edeSmrgAC_SUBST(XINERAMA_LIBS) 44e0963edeSmrg 45e0963edeSmrgdnl Allow checking code with lint, sparse, etc. 46e0963edeSmrgXORG_WITH_LINT 47e0963edeSmrgLINT_FLAGS="${LINT_FLAGS} ${XINERAMA_CFLAGS}" 48e0963edeSmrg 49e0963edeSmrgXORG_CHECK_MALLOC_ZERO 50e0963edeSmrgXORG_MANPAGE_SECTIONS 51e0963edeSmrgXORG_RELEASE_VERSION 52e0963edeSmrg 53e0963edeSmrgAC_OUTPUT([Makefile 54e0963edeSmrg src/Makefile 55e0963edeSmrg man/Makefile 56e0963edeSmrg xinerama.pc]) 57