1 dnl Copyright 2005 Red Hat, Inc.
3 dnl Permission to use, copy, modify, distribute, and sell this software and its
4 dnl documentation for any purpose is hereby granted without fee, provided that
5 dnl the above copyright notice appear in all copies and that both that
6 dnl copyright notice and this permission notice appear in supporting
7 dnl documentation, and that the name of Red Hat not be used in
8 dnl advertising or publicity pertaining to distribution of the software without
9 dnl specific, written prior permission. Red Hat makes no
10 dnl representations about the suitability of this software for any purpose. It
11 dnl is provided "as is" without express or implied warranty.
13 dnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
14 dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
15 dnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
16 dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
17 dnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 dnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 dnl PERFORMANCE OF THIS SOFTWARE.
21 dnl Process this file with autoconf to create configure.
27 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
29 AM_INIT_AUTOMAKE([foreign dist-bzip2])
32 # Require xorg-macros: XORG_DEFAULT_OPTIONS
33 m4_ifndef([XORG_MACROS_VERSION],
34 [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
35 XORG_MACROS_VERSION(1.3)
37 AM_CONFIG_HEADER(config.h)
42 # Check for dependencies
43 PKG_CHECK_MODULES(XVMC, x11 xext xv xextproto videoproto)
45 AC_CHECK_FUNC([shmat], AC_DEFINE(HAS_SHM,1,[Has shm*() functions]))
47 XORG_CHECK_MALLOC_ZERO
49 dnl Allow checking code with lint, sparse, etc.
51 LINT_FLAGS="${LINT_FLAGS} ${XVMC_CFLAGS}"
57 include/X11/extensions/Makefile