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:23:51 +0200 |
commit | c10d7d62778e1259e4ed76304a59814b813ba00c (patch) | |
tree | 90f881f752c89822dcaf4119756a67e6d2be3b16 | |
parent | 242c71c56d9c44ea00835ffc50d5ad22c7d40702 (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 9252421..a458de1 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 xfree86-type1 fonts.]) +fi AC_PATH_PROG(MKFONTDIR, mkfontdir) +if test x"$MKFONTDIR" = x; then + AC_MSG_ERROR([mkfontdir is required to build xfree86-type1 fonts.]) +fi AC_PATH_PROG(FCCACHE, fc-cache) XORG_RELEASE_VERSION |