package version up
[platform/upstream/libXmu.git] / configure.ac
1
2 # Initialize Autoconf
3 AC_PREREQ([2.60])
4 AC_INIT([libXmu], [1.1.2],
5         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXmu])
6 AC_CONFIG_SRCDIR([Makefile.am])
7 AC_CONFIG_HEADERS([config.h])
8
9 # Initialize Automake
10 AM_INIT_AUTOMAKE([foreign dist-bzip2])
11
12 # Initialize libtool
13 AC_PROG_LIBTOOL
14
15 # Require xorg-macros minimum of 1.12 for DocBook external references
16 m4_ifndef([XORG_MACROS_VERSION],
17           [m4_fatal([must install xorg-macros 1.12 or later before running autoconf/autogen])])
18 XORG_MACROS_VERSION(1.12)
19 XORG_DEFAULT_OPTIONS
20 XORG_ENABLE_DOCS
21 XORG_WITH_XMLTO(0.0.22)
22 XORG_WITH_FOP
23 XORG_WITH_XSLTPROC
24 XORG_CHECK_SGML_DOCTOOLS(1.8)
25
26 # Obtain compiler/linker options for depedencies
27 PKG_CHECK_MODULES(XMU, xt xext x11 xextproto)
28 PKG_CHECK_MODULES(XMUU, x11)
29
30 # CvtStdSel.c needs to know which network transports to build hostname
31 # conversion routines for
32 XTRANS_CONNECTION_FLAGS
33
34 # Allow checking code with lint, sparse, etc.
35 XORG_WITH_LINT
36 XORG_LINT_LIBRARY([Xmu])
37 LINTLIBUU=`echo $LINTLIB | sed s/Xmu/Xmuu/`
38 AC_SUBST(LINTLIBUU)
39
40 AC_CONFIG_FILES([Makefile
41                 doc/Makefile
42                 include/Makefile
43                 src/Makefile
44                 xmu.pc
45                 xmuu.pc])
46 AC_OUTPUT