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 22:07:00 +0200
commitee17d9b930247724f9847ad9f17739f09e103bb0 (patch)
tree7cb81ea89f232ea4fdb86e46fdfc3823d8721a41
parent7e03106b2be2a98542ec0e1828850f61baa1e600 (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 b68ebb3..d3fcbf3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,7 +30,13 @@ AC_PROG_INSTALL
AC_PATH_PROG(BDFTOPCF, bdftopcf)
AC_PATH_PROG(MKFONTSCALE, mkfontscale)
+if test x"$MKFONTSCALE" = x; then
+ AC_MSG_ERROR([mkfontscale is required to build micro-misc fonts.])
+fi
AC_PATH_PROG(MKFONTDIR, mkfontdir)
+if test x"$MKFONTDIR" = x; then
+ AC_MSG_ERROR([mkfontdir is required to build micro-misc fonts.])
+fi
m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])