1d5a688bcSmrg 2d5a688bcSmrg# Initialize Autoconf 3524e9589SmrgAC_PREREQ([2.60]) 427485fbcSmrgAC_INIT([libXxf86dga], [1.1.6], 527485fbcSmrg [https://gitlab.freedesktop.org/xorg/lib/libxxf86dga/-/issues], 627485fbcSmrg [libXxf86dga]) 7d5a688bcSmrgAC_CONFIG_SRCDIR([Makefile.am]) 8d5a688bcSmrgAC_CONFIG_HEADERS(src/config.h) 98dd3e0eeSmrg 10d5a688bcSmrg# Initialize Automake 1127485fbcSmrgAM_INIT_AUTOMAKE([foreign dist-xz]) 12d5a688bcSmrg 13d5a688bcSmrg# Initialize libtool 14d5a688bcSmrgAC_PROG_LIBTOOL 158dd3e0eeSmrg 16524e9589Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 17524e9589Smrgm4_ifndef([XORG_MACROS_VERSION], 18524e9589Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 19524e9589SmrgXORG_MACROS_VERSION(1.8) 20524e9589SmrgXORG_DEFAULT_OPTIONS 21d5a688bcSmrgXORG_CHECK_MALLOC_ZERO 228dd3e0eeSmrg 2327485fbcSmrg# Obtain compiler/linker options for dependencies 24c1d6e445SmrgPKG_CHECK_MODULES(XXF86DGA, xproto [x11 >= 1.6] xextproto xext [xf86dgaproto >= 2.0.99.2]) 258dd3e0eeSmrg 26d5a688bcSmrgAC_CONFIG_FILES([Makefile 27d5a688bcSmrg src/Makefile 28d5a688bcSmrg man/Makefile 29d5a688bcSmrg xxf86dga.pc]) 30d5a688bcSmrgAC_OUTPUT 31