configure.ac revision 58deefeb
1d9dcd5aeSmrg
2d9dcd5aeSmrg# Initialize Autoconf
3ba064abeSmrgAC_PREREQ([2.60])
458deefebSmrgAC_INIT([libXxf86vm], [1.1.4],
5d9dcd5aeSmrg        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXxf86vm])
6d9dcd5aeSmrgAC_CONFIG_SRCDIR([Makefile.am])
7d9dcd5aeSmrgAC_CONFIG_HEADERS(src/config.h)
8191cded7Smrg
9d9dcd5aeSmrg# Initialize Automake
10191cded7SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2])
11d9dcd5aeSmrg
12d9dcd5aeSmrg# Initialize libtool
13d9dcd5aeSmrgAC_PROG_LIBTOOL
14191cded7Smrg
15ba064abeSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
16ba064abeSmrgm4_ifndef([XORG_MACROS_VERSION],
17ba064abeSmrg          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
18ba064abeSmrgXORG_MACROS_VERSION(1.8)
19ba064abeSmrgXORG_DEFAULT_OPTIONS
20d9dcd5aeSmrgXORG_CHECK_MALLOC_ZERO
21191cded7Smrg
22d9dcd5aeSmrg# Obtain compiler/linker options for depedencies
2358deefebSmrgPKG_CHECK_MODULES(XXF86VM, xproto [x11 >= 1.6] xextproto xext [xf86vidmodeproto >= 2.2.99.1])
24191cded7Smrg
25d9dcd5aeSmrgAC_CONFIG_FILES([Makefile
26d9dcd5aeSmrg		src/Makefile
27d9dcd5aeSmrg		man/Makefile
28d9dcd5aeSmrg		xxf86vm.pc])
29d9dcd5aeSmrgAC_OUTPUT
30