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:06:11 +0200 |
commit | fd71310b351161a26ca5eb320dc6c486094c5096 (patch) | |
tree | ca30a3217a4eea3c92bcc95de0f1f4f1c2c18cb0 | |
parent | 14bde1ec96a42ba050a1b626e50816a6fb5137b0 (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 c3af7cd..ef459c0 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 jis-misc fonts.]) +fi AC_PATH_PROG(MKFONTDIR, mkfontdir) +if test x"$MKFONTDIR" = x; then + AC_MSG_ERROR([mkfontdir is required to build jis-misc fonts.]) +fi m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))]) |