configure.ac revision 58deefeb
1 2# Initialize Autoconf 3AC_PREREQ([2.60]) 4AC_INIT([libXxf86vm], [1.1.4], 5 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXxf86vm]) 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(XXF86VM, xproto [x11 >= 1.6] xextproto xext [xf86vidmodeproto >= 2.2.99.1]) 24 25AC_CONFIG_FILES([Makefile 26 src/Makefile 27 man/Makefile 28 xxf86vm.pc]) 29AC_OUTPUT 30