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:20:12 +0200
commit0d475f0752cd24a5edddd4e1c51c37eeefb640e8 (patch)
tree811214400a3f96cefdb947aa8451c1d47e60cda1
parent53aac56eae52490ee25a6cbc2e08bf64c2a3cfd7 (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 4b063bf..ef6fd93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,13 @@ 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 bh-lucidatypewriter-100dpi fonts.])
+fi
AC_PATH_PROG(MKFONTDIR, mkfontdir)
+if test x"$MKFONTDIR" = x; then
+ AC_MSG_ERROR([mkfontdir is required to build bh-lucidatypewriter-100dpi fonts.])
+fi
m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])