configure.ac revision fef5d1ff
1cdbfa18aSmrg# 2cdbfa18aSmrg# Copyright 2005 Red Hat, Inc. 3cdbfa18aSmrg# 4cdbfa18aSmrg# Permission to use, copy, modify, distribute, and sell this software and its 5cdbfa18aSmrg# documentation for any purpose is hereby granted without fee, provided that 6cdbfa18aSmrg# the above copyright notice appear in all copies and that both that 7cdbfa18aSmrg# copyright notice and this permission notice appear in supporting 8cdbfa18aSmrg# documentation, and that the name of Red Hat not be used in 9cdbfa18aSmrg# advertising or publicity pertaining to distribution of the software without 10cdbfa18aSmrg# specific, written prior permission. Red Hat makes no 11cdbfa18aSmrg# representations about the suitability of this software for any purpose. It 12cdbfa18aSmrg# is provided "as is" without express or implied warranty. 13cdbfa18aSmrg# 14cdbfa18aSmrg# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15cdbfa18aSmrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16cdbfa18aSmrg# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17cdbfa18aSmrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18cdbfa18aSmrg# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19cdbfa18aSmrg# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20cdbfa18aSmrg# PERFORMANCE OF THIS SOFTWARE. 21cdbfa18aSmrg# 22cdbfa18aSmrg 23cdbfa18aSmrg# Initialize Autoconf 24d5c3dbf1SmrgAC_PREREQ([2.60]) 25fef5d1ffSmrgAC_INIT([libXv], [1.0.10], 26d5c3dbf1Smrg [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXv]) 27cdbfa18aSmrgAC_CONFIG_SRCDIR([Makefile.am]) 28cdbfa18aSmrgAC_CONFIG_HEADERS([config.h]) 29cdbfa18aSmrg 30cdbfa18aSmrg# Initialize Automake 31d5c3dbf1SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2]) 329f606849Smrg 33cdbfa18aSmrg# Initialize libtool 34cdbfa18aSmrgAC_PROG_LIBTOOL 359f606849Smrg 36d5c3dbf1Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 37d5c3dbf1Smrgm4_ifndef([XORG_MACROS_VERSION], 38d5c3dbf1Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 39d5c3dbf1SmrgXORG_MACROS_VERSION(1.8) 40d5c3dbf1SmrgXORG_DEFAULT_OPTIONS 41cdbfa18aSmrgXORG_CHECK_MALLOC_ZERO 429f606849Smrg 43cdbfa18aSmrg# Obtain compiler/linker options for depedencies 44fef5d1ffSmrgPKG_CHECK_MODULES(XV, [x11 >= 1.6 xext xextproto videoproto]) 459f606849Smrg 46cdbfa18aSmrg# Allow checking code with lint, sparse, etc. 479f606849SmrgXORG_WITH_LINT 489f606849SmrgXORG_LINT_LIBRARY([Xv]) 499f606849Smrg 50cdbfa18aSmrgAC_CONFIG_FILES([Makefile 51cdbfa18aSmrg include/Makefile 52cdbfa18aSmrg include/X11/Makefile 53cdbfa18aSmrg include/X11/extensions/Makefile 54cdbfa18aSmrg src/Makefile 55cdbfa18aSmrg man/Makefile 56cdbfa18aSmrg xv.pc]) 57cdbfa18aSmrgAC_OUTPUT 58