From d9d49b57505bfffe99a5281423e7cf629f2dd2ab Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Sat, 25 Oct 2008 20:50:21 +0200 Subject: Bug#5176: cause configure to bail if mkfontscale or mkfontdir are not found Signed-off-by: Julien Cristau --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 465fc46..2425aaa 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 sony-misc fonts.]) +fi AC_PATH_PROG(MKFONTDIR, mkfontdir) +if test x"$MKFONTDIR" = x; then + AC_MSG_ERROR([mkfontdir is required to build sony-misc fonts.]) +fi m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))]) -- cgit v1.2.3