configure.ac revision 66fe65f6
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.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], font-util)
26AM_INIT_AUTOMAKE([foreign dist-bzip2])
27AM_MAINTAINER_MODE
28
29AM_CONFIG_HEADER(config.h)
30
31AC_PROG_CC
32AC_PROG_INSTALL
33
34m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
35
36DEFAULT_MAPDIR=${libdir}/X11/fonts/util
37AC_ARG_WITH(mapdir,
38	AS_HELP_STRING([--with-mapdir=MAPDIR], [Path to install font maps]),
39	[MAPDIR="$withval"],
40	[MAPDIR="$DEFAULT_MAPDIR"])
41AC_SUBST(MAPDIR)
42
43XORG_MANPAGE_SECTIONS
44XORG_RELEASE_VERSION
45
46AC_OUTPUT([Makefile fontutil.pc])
47