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