configure.ac revision 549e21da
1dnl 2dnl Copyright © 2003 Keith Packard, Noah Levitt 3dnl 4dnl Permission to use, copy, modify, distribute, and sell this software and its 5dnl documentation for any purpose is hereby granted without fee, provided that 6dnl the above copyright notice appear in all copies and that both that 7dnl copyright notice and this permission notice appear in supporting 8dnl documentation, and that the name of Keith Packard not be used in 9dnl advertising or publicity pertaining to distribution of the software without 10dnl specific, written prior permission. Keith Packard makes no 11dnl representations about the suitability of this software for any purpose. It 12dnl is provided "as is" without express or implied warranty. 13dnl 14dnl KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16dnl EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18dnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19dnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20dnl PERFORMANCE OF THIS SOFTWARE. 21dnl 22dnl Process this file with autoconf to create configure. 23 24AC_PREREQ([2.60]) 25 26AC_INIT([libFS], [1.0.3], 27 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libFS]) 28AM_INIT_AUTOMAKE([foreign dist-bzip2]) 29AM_MAINTAINER_MODE 30 31# Require xorg-macros: XORG_DEFAULT_OPTIONS 32m4_ifndef([XORG_MACROS_VERSION], 33 [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) 34XORG_MACROS_VERSION(1.3) 35XORG_DEFAULT_OPTIONS 36AM_CONFIG_HEADER(config.h) 37 38# Check for progs 39AC_PROG_LIBTOOL 40 41# Check for dependencies 42PKG_CHECK_MODULES(FS, xproto fontsproto) 43 44# 45# Split out so we don't include xtrans C flags in fs.pc 46# 47PKG_CHECK_MODULES(XTRANS, xtrans) 48 49XTRANS_CONNECTION_FLAGS 50 51XORG_CHECK_MALLOC_ZERO 52 53dnl Allow checking code with lint, sparse, etc. 54XORG_WITH_LINT 55XORG_LINT_LIBRARY([FS]) 56 57 58AC_OUTPUT([Makefile 59 src/Makefile 60 libfs.pc]) 61