4 AC_INIT([libXext], [1.3.1],
5 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXext])
6 AC_CONFIG_SRCDIR([Makefile.am])
7 AC_CONFIG_HEADERS([config.h])
10 AM_INIT_AUTOMAKE([foreign dist-bzip2])
16 # Require xorg-macros minimum of 1.12 for DocBook external references
17 m4_ifndef([XORG_MACROS_VERSION],
18 [m4_fatal([must install xorg-macros 1.12 or later before running autoconf/autogen])])
19 XORG_MACROS_VERSION(1.12)
22 XORG_WITH_XMLTO(0.0.22)
25 XORG_CHECK_SGML_DOCTOOLS(1.8)
26 XORG_CHECK_MALLOC_ZERO
28 # Determine .so library version per platform
29 # based on SharedXextRev in monolith xc/config/cf/*Lib.tmpl
30 if test "x$XEXT_SOREV" = "x" ; then
32 openbsd*) XEXT_SOREV=8:0 ;;
33 solaris*) XEXT_SOREV=0 ;;
34 *) XEXT_SOREV=6:4:0 ;;
39 # Obtain compiler/linker options for depedencies
40 PKG_CHECK_MODULES(XEXT, [xproto >= 7.0.13] [x11 >= 1.1.99.1] [xextproto >= 7.1.99])
42 # Allow checking code with lint, sparse, etc.
44 XORG_LINT_LIBRARY([Xext])
46 AC_CONFIG_FILES([Makefile