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]) 25dc088bc7SmrgAC_INIT([libXv], [1.0.13], 26949d0342Smrg [https://gitlab.freedesktop.org/xorg/lib/libxv/-/issues], [libXv]) 27cdbfa18aSmrgAC_CONFIG_SRCDIR([Makefile.am]) 28cdbfa18aSmrgAC_CONFIG_HEADERS([config.h]) 29dc088bc7SmrgAC_CONFIG_MACRO_DIRS([m4]) 30cdbfa18aSmrg 31cdbfa18aSmrg# Initialize Automake 32949d0342SmrgAM_INIT_AUTOMAKE([foreign dist-xz]) 339f606849Smrg 34cdbfa18aSmrg# Initialize libtool 35dc088bc7SmrgLT_INIT 369f606849Smrg 37d5c3dbf1Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 38d5c3dbf1Smrgm4_ifndef([XORG_MACROS_VERSION], 39d5c3dbf1Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 40d5c3dbf1SmrgXORG_MACROS_VERSION(1.8) 41d5c3dbf1SmrgXORG_DEFAULT_OPTIONS 42cdbfa18aSmrgXORG_CHECK_MALLOC_ZERO 439f606849Smrg 44949d0342Smrg# Obtain compiler/linker options for dependencies 45fef5d1ffSmrgPKG_CHECK_MODULES(XV, [x11 >= 1.6 xext xextproto videoproto]) 469f606849Smrg 47cdbfa18aSmrg# Allow checking code with lint, sparse, etc. 489f606849SmrgXORG_WITH_LINT 499f606849SmrgXORG_LINT_LIBRARY([Xv]) 509f606849Smrg 51cdbfa18aSmrgAC_CONFIG_FILES([Makefile 52cdbfa18aSmrg include/Makefile 53cdbfa18aSmrg include/X11/Makefile 54cdbfa18aSmrg include/X11/extensions/Makefile 55cdbfa18aSmrg src/Makefile 56cdbfa18aSmrg man/Makefile 57cdbfa18aSmrg xv.pc]) 58cdbfa18aSmrgAC_OUTPUT 59