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