1d9dcd5aeSmrg
2d9dcd5aeSmrg# Initialize Autoconf
3ba064abeSmrgAC_PREREQ([2.60])
48f9fac4aSmrgAC_INIT([libXxf86vm], [1.1.6],
5ee3e8c14Smrg        [https://gitlab.freedesktop.org/xorg/lib/libxxf86vm/-/issues],
6ee3e8c14Smrg        [libXxf86vm])
7d9dcd5aeSmrgAC_CONFIG_SRCDIR([Makefile.am])
8d9dcd5aeSmrgAC_CONFIG_HEADERS(src/config.h)
98f9fac4aSmrgAC_CONFIG_MACRO_DIRS([m4])
10191cded7Smrg
11d9dcd5aeSmrg# Initialize Automake
12ee3e8c14SmrgAM_INIT_AUTOMAKE([foreign dist-xz])
13d9dcd5aeSmrg
14d9dcd5aeSmrg# Initialize libtool
158f9fac4aSmrgLT_INIT
16191cded7Smrg
17ba064abeSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
18ba064abeSmrgm4_ifndef([XORG_MACROS_VERSION],
19ba064abeSmrg          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
20ba064abeSmrgXORG_MACROS_VERSION(1.8)
21ba064abeSmrgXORG_DEFAULT_OPTIONS
22d9dcd5aeSmrgXORG_CHECK_MALLOC_ZERO
23191cded7Smrg
24ee3e8c14Smrg# Obtain compiler/linker options for dependencies
2558deefebSmrgPKG_CHECK_MODULES(XXF86VM, xproto [x11 >= 1.6] xextproto xext [xf86vidmodeproto >= 2.2.99.1])
26191cded7Smrg
27d9dcd5aeSmrgAC_CONFIG_FILES([Makefile
28d9dcd5aeSmrg		src/Makefile
29d9dcd5aeSmrg		man/Makefile
30d9dcd5aeSmrg		xxf86vm.pc])
31d9dcd5aeSmrgAC_OUTPUT
32