From bf8dedf369eee5fffbf2ac2984a3b6c319ece98f 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(+) diff --git a/configure.ac b/configure.ac index 2f41d55..9eaec91 100644 --- a/configure.ac +++ b/configure.ac @@ -38,7 +38,13 @@ AC_ARG_WITH(fontdir, AC_SUBST(FONTDIR) AC_PATH_PROG(MKFONTSCALE, mkfontscale) +if test x"$MKFONTSCALE" = x; then + AC_MSG_ERROR([mkfontscale is required to build misc-meltho fonts.]) +fi AC_PATH_PROG(MKFONTDIR, mkfontdir) +if test x"$MKFONTDIR" = x; then + AC_MSG_ERROR([mkfontdir is required to build misc-meltho fonts.]) +fi AC_PATH_PROG(FCCACHE, fc-cache) XORG_RELEASE_VERSION -- cgit v1.2.3