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 20:58:04 +0200
commit8034d7b20d1fe9adf5c15c6c0d9c2e1f1d19f79a (patch)
tree358d822770c637df83a3650426ce59a569d693f9
parenta61f543f77ed6edef2c28d9c0eb772bcab160b6c (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 60682d4..0cef0bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,7 +33,14 @@ AC_PATH_PROG(BDFTOPCF, bdftopcf)
AC_PATH_PROG(BDFTRUNCATE, bdftruncate)
AC_PATH_PROG(UCS2ANY, ucs2any)
AC_PATH_PROG(MKFONTSCALE, mkfontscale)
+if test x"$MKFONTSCALE" = x; then
+ AC_MSG_ERROR([mkfontscale is required to build misc-misc fonts.])
+fi
AC_PATH_PROG(MKFONTDIR, mkfontdir)
+if test x"$MKFONTDIR" = x; then
+ AC_MSG_ERROR([mkfontdir is required to build misc-misc fonts.])
+fi
+
m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])