152f9793fSmrg
252f9793fSmrgdnl  Copyright 2005 Red Hat, Inc.
352f9793fSmrgdnl 
452f9793fSmrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
552f9793fSmrgdnl  documentation for any purpose is hereby granted without fee, provided that
652f9793fSmrgdnl  the above copyright notice appear in all copies and that both that
752f9793fSmrgdnl  copyright notice and this permission notice appear in supporting
852f9793fSmrgdnl  documentation, and that the name of Red Hat not be used in
952f9793fSmrgdnl  advertising or publicity pertaining to distribution of the software without
1052f9793fSmrgdnl  specific, written prior permission.  Red Hat makes no
1152f9793fSmrgdnl  representations about the suitability of this software for any purpose.  It
1252f9793fSmrgdnl  is provided "as is" without express or implied warranty.
1352f9793fSmrgdnl 
1452f9793fSmrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1552f9793fSmrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1652f9793fSmrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1752f9793fSmrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1852f9793fSmrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1952f9793fSmrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2052f9793fSmrgdnl  PERFORMANCE OF THIS SOFTWARE.
2152f9793fSmrgdnl
2252f9793fSmrgdnl Process this file with autoconf to create configure.
2352f9793fSmrg
2452f9793fSmrgAC_PREREQ([2.57])
2552f9793fSmrg
262faa96e0SmrgAC_INIT(libXfontcache, 1.0.5, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXfontcache)
2752f9793fSmrgAM_INIT_AUTOMAKE([dist-bzip2])
2852f9793fSmrgAM_MAINTAINER_MODE
2952f9793fSmrg
302faa96e0Smrg# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
312faa96e0Smrgm4_ifndef([XORG_MACROS_VERSION],
322faa96e0Smrg	  [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
332faa96e0SmrgXORG_MACROS_VERSION(1.3)
3452f9793fSmrgAM_CONFIG_HEADER(config.h)
3552f9793fSmrg
3652f9793fSmrg# Check for progs
3752f9793fSmrgAC_PROG_CC
3852f9793fSmrgAC_PROG_LIBTOOL
3952f9793fSmrg
402faa96e0SmrgXORG_DEFAULT_OPTIONS
412faa96e0Smrg
4252f9793fSmrg# Check for dependencies
4352f9793fSmrgPKG_CHECK_MODULES(XFONTCACHE, x11 xext xextproto fontcacheproto)
4452f9793fSmrgAC_SUBST(XFONTCACHE_CFLAGS)
4552f9793fSmrgAC_SUBST(XFONTCACHE_LIBS)
4652f9793fSmrg		  
4752f9793fSmrgXORG_CHECK_MALLOC_ZERO
4852f9793fSmrg
4952f9793fSmrgAC_OUTPUT([Makefile
5052f9793fSmrg	   src/Makefile
5152f9793fSmrg	   man/Makefile
5252f9793fSmrg           xfontcache.pc])
53