1 2# Initialize Autoconf 3AC_PREREQ([2.60]) 4AC_INIT([libXxf86dga], [1.1.5], 5 [https://gitlab.freedesktop.org/xorg/lib/libXxf86dga/issues], [libXxf86dga]) 6AC_CONFIG_SRCDIR([Makefile.am]) 7AC_CONFIG_HEADERS(src/config.h) 8 9# Initialize Automake 10AM_INIT_AUTOMAKE([foreign dist-bzip2]) 11 12# Initialize libtool 13AC_PROG_LIBTOOL 14 15# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 16m4_ifndef([XORG_MACROS_VERSION], 17 [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 18XORG_MACROS_VERSION(1.8) 19XORG_DEFAULT_OPTIONS 20XORG_CHECK_MALLOC_ZERO 21 22# Obtain compiler/linker options for depedencies 23PKG_CHECK_MODULES(XXF86DGA, xproto [x11 >= 1.6] xextproto xext [xf86dgaproto >= 2.0.99.2]) 24 25AC_CONFIG_FILES([Makefile 26 src/Makefile 27 man/Makefile 28 xxf86dga.pc]) 29AC_OUTPUT 30