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-misc-ethiopic], [1.0.4],
26        [https://gitlab.freedesktop.org/xorg/font/misc-ethiopic/issues],
27        [font-misc-ethiopic])
28AM_INIT_AUTOMAKE([foreign dist-bzip2])
29
30# Require xorg-macros: XORG_DEFAULT_OPTIONS
31m4_ifndef([XORG_MACROS_VERSION],
32	  [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
33XORG_MACROS_VERSION(1.3)
34XORG_DEFAULT_OPTIONS
35
36AC_ARG_ENABLE(truetype-install,
37		AS_HELP_STRING([--disable-truetype-install],
38		[Disable install of truetype fonts (default: enabled)]),
39		[install_ttf=$enableval], [install_ttf=yes])
40AM_CONDITIONAL(INSTALL_TTF, [test "x$install_ttf" = xyes])
41AC_ARG_ENABLE(opentype-install,
42		AS_HELP_STRING([--disable-opentype-install],
43		[Disable install of opentype fonts (default: enabled)]),
44		[install_otf=$enableval], [install_otf=yes])
45AM_CONDITIONAL(INSTALL_OTF, [test "x$install_otf" = xyes])
46
47AC_PROG_INSTALL
48
49# Require X.Org's font util macros 1.2 or later
50m4_ifndef([XORG_FONT_MACROS_VERSION],
51	  [m4_fatal([must install X.Org font-util 1.2 or later before running autoconf/autogen])])
52XORG_FONT_MACROS_VERSION(1.2)
53
54XORG_FONTSUBDIR([TTFFONTDIR], [ttf-fontdir], [TTF])
55XORG_FONTSUBDIR([OTFFONTDIR], [otf-fontdir], [OTF])
56XORG_FONT_SCALED_UTILS
57
58AC_CONFIG_FILES([Makefile])
59AC_OUTPUT
60