summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@debian.org>2008-10-25 20:50:21 +0200
committerJulien Cristau <jcristau@debian.org>2008-10-25 21:31:59 +0200
commit1740b989521030f5391a922b0fec97dfb71fddb9 (patch)
tree619bdb112814e534f24d06425138395840628c9f
parentfd9c9cca0e01db9e0d3c6501522e16c44e07778f (diff)
Bug#5176: cause configure to bail if mkfontscale or mkfontdir are not found
Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index db60a11..eac6db3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,13 @@ AM_MAINTAINER_MODE
AC_PROG_INSTALL
AC_PATH_PROG(MKFONTSCALE, mkfontscale)
+if test x"$MKFONTSCALE" = x; then
+ AC_MSG_ERROR([mkfontscale is required to build bh-type1 fonts.])
+fi
AC_PATH_PROG(MKFONTDIR, mkfontdir)
+if test x"$MKFONTDIR" = x; then
+ AC_MSG_ERROR([mkfontdir is required to build bh-type1 fonts.])
+fi
AC_PATH_PROG(FCCACHE, fc-cache)
m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])