xenocara/lib/libxtrans/configure.ac

65 lines
2.2 KiB
Plaintext
Raw Normal View History

2012-04-08 08:50:52 -06:00
# Copyright © 2003 Keith Packard, Noah Levitt
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of Keith Packard not be used in
# advertising or publicity pertaining to distribution of the software without
# specific, written prior permission. Keith Packard makes no
# representations about the suitability of this software for any purpose. It
# is provided "as is" without express or implied warranty.
#
# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
# EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
#
2006-11-25 11:24:24 -07:00
2012-04-08 08:50:52 -06:00
# Initialize Autoconf
AC_PREREQ([2.60])
2014-09-28 10:56:06 -06:00
AC_INIT([xtrans], [1.3.5],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xtrans])
2012-04-08 08:50:52 -06:00
AC_CONFIG_SRCDIR([Makefile.am])
# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
2014-09-28 10:56:06 -06:00
AM_MAINTAINER_MODE
2006-11-25 11:24:24 -07:00
2012-04-08 08:50:52 -06:00
# Require xorg-macros minimum of 1.12 for DocBook external references
2009-10-31 14:34:07 -06:00
m4_ifndef([XORG_MACROS_VERSION],
2012-04-08 08:50:52 -06:00
[m4_fatal([must install xorg-macros 1.12 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.12)
2009-10-31 14:34:07 -06:00
XORG_DEFAULT_OPTIONS
XORG_ENABLE_DOCS
2012-04-08 08:50:52 -06:00
XORG_WITH_XMLTO(0.0.22)
XORG_WITH_FOP
2012-04-08 08:50:52 -06:00
XORG_WITH_XSLTPROC
XORG_CHECK_SGML_DOCTOOLS(1.8)
2006-11-25 11:24:24 -07:00
# Because xtrans is included into other modules rather than being linked
# with, these defines have to be added to the cflags line
# fchown()
AC_CHECK_FUNC(fchown, [fchown_define="-DHAS_FCHOWN"], [fchown_define=""])
AC_SUBST(fchown_define)
# sticky bit
2012-04-08 08:50:52 -06:00
#
# if any system exists without sticky dir bits this
2006-11-25 11:24:24 -07:00
# needs to be redone with a real autoconf test
sticky_bit_define="-DHAS_STICKY_DIR_BIT"
AC_SUBST(sticky_bit_define)
2012-04-08 08:50:52 -06:00
AC_CONFIG_FILES([Makefile
doc/Makefile
xtrans.pc])
AC_OUTPUT