configure.ac revision fba89afe
19f606849Smrgdnl 29f606849Smrgdnl Copyright 2005 Red Hat, Inc. 39f606849Smrgdnl 49f606849Smrgdnl Permission to use, copy, modify, distribute, and sell this software and its 59f606849Smrgdnl documentation for any purpose is hereby granted without fee, provided that 69f606849Smrgdnl the above copyright notice appear in all copies and that both that 79f606849Smrgdnl copyright notice and this permission notice appear in supporting 89f606849Smrgdnl documentation, and that the name of Red Hat not be used in 99f606849Smrgdnl advertising or publicity pertaining to distribution of the software without 109f606849Smrgdnl specific, written prior permission. Red Hat makes no 119f606849Smrgdnl representations about the suitability of this software for any purpose. It 129f606849Smrgdnl is provided "as is" without express or implied warranty. 139f606849Smrgdnl 149f606849Smrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 159f606849Smrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 169f606849Smrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 179f606849Smrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 189f606849Smrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 199f606849Smrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 209f606849Smrgdnl PERFORMANCE OF THIS SOFTWARE. 219f606849Smrgdnl 229f606849Smrgdnl Process this file with autoconf to create configure. 239f606849Smrg 249f606849SmrgAC_PREREQ([2.57]) 259f606849Smrg 26fba89afeSmrgAC_INIT(libXv, 1.0.5, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXv) 279f606849SmrgAM_INIT_AUTOMAKE([dist-bzip2]) 289f606849SmrgAM_MAINTAINER_MODE 299f606849Smrg 309f606849SmrgAM_CONFIG_HEADER(config.h) 319f606849Smrg 32fba89afeSmrg# Require xorg-macros: XORG_DEFAULT_OPTIONS, XORG_WITH_LINT 33fba89afeSmrgm4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])]) 34fba89afeSmrgXORG_MACROS_VERSION(1.3) 359f606849Smrg 369f606849Smrg# Check for progs 379f606849SmrgAC_PROG_CC 389f606849SmrgAC_PROG_LIBTOOL 39fba89afeSmrgXORG_DEFAULT_OPTIONS 409f606849Smrg 419f606849Smrg# Check for dependencies 429f606849SmrgPKG_CHECK_MODULES(XV, x11 xext xextproto videoproto) 439f606849SmrgAC_SUBST(XV_CFLAGS) 449f606849SmrgAC_SUBST(XV_LIBS) 45fba89afeSmrg 469f606849SmrgXORG_CHECK_MALLOC_ZERO 479f606849Smrg 489f606849Smrgdnl Allow checking code with lint, sparse, etc. 499f606849SmrgXORG_WITH_LINT 509f606849SmrgXORG_LINT_LIBRARY([Xv]) 519f606849Smrg 529f606849SmrgAC_OUTPUT([Makefile 539f606849Smrg include/Makefile 549f606849Smrg include/X11/Makefile 559f606849Smrg include/X11/extensions/Makefile 569f606849Smrg src/Makefile 579f606849Smrg man/Makefile 589f606849Smrg xv.pc]) 59