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:02:18 +0200
commitc839df40fa5f386546d6694fa03006f1ce5b1521 (patch)
treed27f519fcef9acad33c1535b68888499fe2a0990
parent0bb68e3cbfbc59a227f1322a51e4dd54ec9a500e (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.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 335b0c5..5e9f920 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,14 @@ AC_PROG_INSTALL
AC_PATH_PROG(BDFTOPCF, bdftopcf)
AC_PATH_PROG(UCS2ANY, ucs2any)
AC_PATH_PROG(MKFONTSCALE, mkfontscale)
+if test x"$MKFONTSCALE" = x; then
+ AC_MSG_ERROR([mkfontscale is required to build adobe-75dpi fonts.])
+fi
AC_PATH_PROG(MKFONTDIR, mkfontdir)
+if test x"$MKFONTDIR" = x; then
+ AC_MSG_ERROR([mkfontdir is required to build adobe-75dpi fonts.])
+fi
+
m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])