aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/fonts.src/Type1/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/fonts.src/Type1/configure.ac')
-rw-r--r--xorg-server/fonts.src/Type1/configure.ac27
1 files changed, 13 insertions, 14 deletions
diff --git a/xorg-server/fonts.src/Type1/configure.ac b/xorg-server/fonts.src/Type1/configure.ac
index db60a11d8..3cbcaf9c2 100644
--- a/xorg-server/fonts.src/Type1/configure.ac
+++ b/xorg-server/fonts.src/Type1/configure.ac
@@ -22,25 +22,24 @@ dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
-AC_INIT(font-bh-type1, [1.0.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], font-bh-type1)
+AC_INIT(font-bh-type1, [1.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], font-bh-type1)
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
-AC_PROG_INSTALL
-
-AC_PATH_PROG(MKFONTSCALE, mkfontscale)
-AC_PATH_PROG(MKFONTDIR, mkfontdir)
-AC_PATH_PROG(FCCACHE, fc-cache)
+# Require xorg-macros: XORG_DEFAULT_OPTIONS
+m4_ifndef([XORG_MACROS_VERSION],
+ [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.3)
+XORG_DEFAULT_OPTIONS
-m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
+AC_PROG_INSTALL
-DEFAULT_FONTDIR=${libdir}/X11/fonts/Type1
-AC_ARG_WITH(fontdir,
- AS_HELP_STRING([--with-fontdir=FONTDIR], [Path to install fonts]),
- [FONTDIR="$withval"],
- [FONTDIR="$DEFAULT_FONTDIR"])
-AC_SUBST(FONTDIR)
+# Require X.Org's font util macros 1.1 or later
+m4_ifndef([XORG_FONT_MACROS_VERSION],
+ [m4_fatal([must install X.Org font-util 1.1 or later before running autoconf/autogen])])
+XORG_FONT_MACROS_VERSION(1.1)
-XORG_RELEASE_VERSION
+XORG_FONTDIR([Type1])
+XORG_FONT_SCALED_UTILS
AC_OUTPUT([Makefile])