2006-11-25 10:22:40 -07:00
|
|
|
|
2012-03-10 07:22:08 -07:00
|
|
|
# Initialize Autoconf
|
2010-10-31 09:35:49 -06:00
|
|
|
AC_PREREQ([2.60])
|
2013-09-28 11:31:50 -06:00
|
|
|
AC_INIT([libXmu], [1.1.2],
|
2012-03-10 07:22:08 -07:00
|
|
|
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXmu])
|
2006-11-25 10:22:40 -07:00
|
|
|
AC_CONFIG_SRCDIR([Makefile.am])
|
2012-03-10 07:22:08 -07:00
|
|
|
AC_CONFIG_HEADERS([config.h])
|
2006-11-25 10:22:40 -07:00
|
|
|
|
2012-03-10 07:22:08 -07:00
|
|
|
# Initialize Automake
|
|
|
|
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|
2006-11-25 10:22:40 -07:00
|
|
|
|
2012-03-10 07:22:08 -07:00
|
|
|
# Initialize libtool
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
# Require xorg-macros minimum of 1.12 for DocBook external references
|
2010-10-31 09:35:49 -06:00
|
|
|
m4_ifndef([XORG_MACROS_VERSION],
|
2012-03-10 07:22:08 -07:00
|
|
|
[m4_fatal([must install xorg-macros 1.12 or later before running autoconf/autogen])])
|
|
|
|
XORG_MACROS_VERSION(1.12)
|
2010-10-31 09:35:49 -06:00
|
|
|
XORG_DEFAULT_OPTIONS
|
|
|
|
XORG_ENABLE_DOCS
|
2012-03-10 07:22:08 -07:00
|
|
|
XORG_WITH_XMLTO(0.0.22)
|
2010-10-31 09:35:49 -06:00
|
|
|
XORG_WITH_FOP
|
2012-03-10 07:22:08 -07:00
|
|
|
XORG_WITH_XSLTPROC
|
|
|
|
XORG_CHECK_SGML_DOCTOOLS(1.8)
|
2010-10-31 09:35:49 -06:00
|
|
|
|
2012-03-10 07:22:08 -07:00
|
|
|
# Obtain compiler/linker options for depedencies
|
2009-10-31 12:29:37 -06:00
|
|
|
PKG_CHECK_MODULES(XMU, xt xext x11 xextproto)
|
2006-11-25 10:22:40 -07:00
|
|
|
PKG_CHECK_MODULES(XMUU, x11)
|
|
|
|
|
|
|
|
# CvtStdSel.c needs to know which network transports to build hostname
|
|
|
|
# conversion routines for
|
|
|
|
XTRANS_CONNECTION_FLAGS
|
|
|
|
|
2012-03-10 07:22:08 -07:00
|
|
|
# Allow checking code with lint, sparse, etc.
|
2009-10-31 12:29:37 -06:00
|
|
|
XORG_WITH_LINT
|
|
|
|
XORG_LINT_LIBRARY([Xmu])
|
|
|
|
LINTLIBUU=`echo $LINTLIB | sed s/Xmu/Xmuu/`
|
|
|
|
AC_SUBST(LINTLIBUU)
|
2006-11-25 10:22:40 -07:00
|
|
|
|
2012-03-10 07:22:08 -07:00
|
|
|
AC_CONFIG_FILES([Makefile
|
|
|
|
doc/Makefile
|
|
|
|
include/Makefile
|
|
|
|
src/Makefile
|
|
|
|
xmu.pc
|
|
|
|
xmuu.pc])
|
|
|
|
AC_OUTPUT
|