configure.ac revision 89d09728
1dnl Copyright 2005 Red Hat, Inc. 2dnl 3dnl Permission to use, copy, modify, distribute, and sell this software 4dnl and its documentation for any purpose is hereby granted without 5dnl fee, provided that the above copyright notice appear in all copies 6dnl and that both that copyright notice and this permission notice 7dnl appear in supporting documentation, and that the name of Red Hat 8dnl not be used in advertising or publicity pertaining to distribution 9dnl of the software without specific, written prior permission. Red 10dnl Hat makes no representations about the suitability of this software 11dnl for any purpose. It is provided "as is" without express or implied 12dnl warranty. 13dnl 14dnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN 16dnl NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 18dnl OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 19dnl NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 20dnl CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 21dnl 22dnl Process this file with autoconf to create configure. 23 24AC_PREREQ([2.57]) 25AC_INIT(font-util, [1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], font-util) 26AM_INIT_AUTOMAKE([foreign dist-bzip2]) 27AM_MAINTAINER_MODE 28 29# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG 30m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])]) 31XORG_MACROS_VERSION(1.2) 32AM_CONFIG_HEADER(config.h) 33XORG_CWARNFLAGS 34 35AC_PROG_CC 36AC_PROG_INSTALL 37 38mapdir=${libdir}/X11/fonts/util 39AC_ARG_WITH(mapdir, AC_HELP_STRING([--with-mapdir=<pathname>], 40 [Path to install font maps]), [mapdir="$withval"]) 41MAPDIR="$mapdir" 42AC_SUBST(MAPDIR) 43 44XORG_MANPAGE_SECTIONS 45XORG_RELEASE_VERSION 46XORG_CHANGELOG 47 48AC_OUTPUT([Makefile fontutil.pc]) 49