diff options
author | Andres Salomon <dilinger@debian.org> | 2008-10-25 20:50:21 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-10-25 22:13:01 +0200 |
commit | cb7b01b2d0a27cf69e45489ec154bc01e6cb6d93 (patch) | |
tree | 793e004d9eb4a6f41aeb5018d481fa3836a84f07 | |
parent | 448806eda04b0b6431e64c8ba2324648c7ea7740 (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.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 91243e1..948fd62 100644 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,13 @@ AM_MAINTAINER_MODE AC_PROG_INSTALL AC_PATH_PROG(MKFONTSCALE, mkfontscale) +if test x"$MKFONTSCALE" = x; then + AC_MSG_ERROR([mkfontscale is required to build misc-ethiopic fonts.]) +fi AC_PATH_PROG(MKFONTDIR, mkfontdir) +if test x"$MKFONTDIR" = x; then + AC_MSG_ERROR([mkfontdir is required to build misc-ethiopic fonts.]) +fi AC_PATH_PROG(FCCACHE, fc-cache) m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))]) |