configure.ac revision 1.1 1 1.1 mrg # Copyright 2005 Adam Jackson.
2 1.1 mrg #
3 1.1 mrg # Permission is hereby granted, free of charge, to any person obtaining a
4 1.1 mrg # copy of this software and associated documentation files (the "Software"),
5 1.1 mrg # to deal in the Software without restriction, including without limitation
6 1.1 mrg # on the rights to use, copy, modify, merge, publish, distribute, sub
7 1.1 mrg # license, and/or sell copies of the Software, and to permit persons to whom
8 1.1 mrg # the Software is furnished to do so, subject to the following conditions:
9 1.1 mrg #
10 1.1 mrg # The above copyright notice and this permission notice (including the next
11 1.1 mrg # paragraph) shall be included in all copies or substantial portions of the
12 1.1 mrg # Software.
13 1.1 mrg #
14 1.1 mrg # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 1.1 mrg # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 1.1 mrg # FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
17 1.1 mrg # ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18 1.1 mrg # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19 1.1 mrg # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 1.1 mrg
21 1.1 mrg AC_PREREQ(2.57)
22 1.1 mrg AC_INIT([libdrm], 2.3.1, [dri-devel (a] lists.sourceforge.net], libdrm)
23 1.1 mrg AC_CONFIG_SRCDIR([Makefile.am])
24 1.1 mrg AM_INIT_AUTOMAKE([dist-bzip2])
25 1.1 mrg
26 1.1 mrg AM_CONFIG_HEADER([libdrm/config.h])
27 1.1 mrg
28 1.1 mrg AC_DISABLE_STATIC
29 1.1 mrg AC_PROG_LIBTOOL
30 1.1 mrg AC_PROG_CC
31 1.1 mrg
32 1.1 mrg AC_HEADER_STDC
33 1.1 mrg AC_SYS_LARGEFILE
34 1.1 mrg
35 1.1 mrg pkgconfigdir=${libdir}/pkgconfig
36 1.1 mrg AC_SUBST(pkgconfigdir)
37 1.1 mrg
38 1.1 mrg AC_OUTPUT([
39 1.1 mrg Makefile
40 1.1 mrg libdrm/Makefile
41 1.1 mrg shared-core/Makefile
42 1.1 mrg tests/Makefile
43 1.1 mrg libdrm.pc])
44