Fixed package groups
[platform/upstream/libXmu.git] / configure.ac
1
2 # Initialize Autoconf
3 AC_PREREQ([2.60])
4 AC_INIT([libXmu], [1.1.1],
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 AM_MAINTAINER_MODE
12
13 # Initialize libtool
14 AC_PROG_LIBTOOL
15
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)
20 XORG_DEFAULT_OPTIONS
21 XORG_ENABLE_DOCS
22 XORG_WITH_XMLTO(0.0.22)
23 XORG_WITH_FOP
24 XORG_WITH_XSLTPROC
25 XORG_CHECK_SGML_DOCTOOLS(1.8)
26
27 # Obtain compiler/linker options for depedencies
28 PKG_CHECK_MODULES(XMU, xt xext x11 xextproto)
29 PKG_CHECK_MODULES(XMUU, x11)
30
31 # CvtStdSel.c needs to know which network transports to build hostname
32 # conversion routines for
33 XTRANS_CONNECTION_FLAGS
34
35 # Allow checking code with lint, sparse, etc.
36 XORG_WITH_LINT
37 XORG_LINT_LIBRARY([Xmu])
38 LINTLIBUU=`echo $LINTLIB | sed s/Xmu/Xmuu/`
39 AC_SUBST(LINTLIBUU)
40
41 AC_CONFIG_FILES([Makefile
42                 doc/Makefile
43                 include/Makefile
44                 src/Makefile
45                 xmu.pc
46                 xmuu.pc])
47 AC_OUTPUT