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:14 +0200
commit8ca2261df425c58a994e4c1a98984f6c0a5f036d (patch)
tree400b6dbe261618afec7a044f74d6d5d37fcb782e
parent7c5abf91afb8c9cfed25c1e4bad01562e86c7b04 (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 cdeb055..515eb1a 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 schumacher-misc fonts.])
+fi
AC_PATH_PROG(MKFONTDIR, mkfontdir)
+if test x"$MKFONTDIR" = x; then
+ AC_MSG_ERROR([mkfontdir is required to build schumacher-misc fonts.])
+fi
+
m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])