diff options
author | Andres Salomon <dilinger@debian.org> | 2008-10-25 20:50:21 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-10-25 21:05:06 +0200 |
commit | fc7b56e62b1c7d8c80828106f310f0859d2e8c8a (patch) | |
tree | c07ded0d6b33b411c50f27ad126d272f91cd4ceb | |
parent | 63aa230d93b1da6034bfc1f20b815216c123a38c (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 7896748..32261c1 100644 --- a/configure.ac +++ b/configure.ac @@ -31,7 +31,13 @@ AC_PROG_INSTALL AC_PATH_PROG(BDFTOPCF, bdftopcf) AC_PATH_PROG(UCS2ANY, ucs2any) AC_PATH_PROG(MKFONTSCALE, mkfontscale) +if test x"$MKFONTSCALE" = x; then + AC_MSG_ERROR([mkfontscale is required to build adobe-utopia-75dpi fonts.]) +fi AC_PATH_PROG(MKFONTDIR, mkfontdir) +if test x"$MKFONTDIR" = x; then + AC_MSG_ERROR([mkfontdir is required to build adobe-utopia-75dpi fonts.]) +fi m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))]) |