From 7fc481677d8746965c3052dd2575fad776796c0b Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sat, 2 Dec 2017 19:21:44 +0100 Subject: [PATCH] Don't let `make' abort for dist tarballs if Noto fonts aren't found. We already have a documentation PDF file, so the tests for Noto fonts should be optional. --- configure.ac | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index eaca7c9..755998e 100644 --- a/configure.ac +++ b/configure.ac @@ -254,18 +254,21 @@ if test x"$with_doc" != x"no"; then AC_CHECK_PROGS([KPSEWHICH], [kpsewhich], [no]) if test x"$KPSEWHICH" == x"no"; then AC_MSG_WARN([Can't find \`kpsewhich' to check presence of Noto font files automatically.]) - AC_MSG_WARN([Adjust the \`TTFONTS' environment variable so that the fonts are found.]) + TA_DOC([$pdf_file], + [Adjust the \`TTFONTS' environment variable so that the fonts are found.]) else $KPSEWHICH $noto_font_file &> /dev/null if test $? -ne 0; then AC_MSG_WARN([Can't find \`$noto_font_file'.]) - AC_MSG_ERROR([Adjust the \`TTFONTS' environment variable so that the Noto fonts are found.]) + TA_DOC([$pdf_file], + [Adjust the \`TTFONTS' environment variable so that the Noto fonts are found.]) fi $KPSEWHICH $noto_font_alpha_file &> /dev/null if test $? -ne 0; then AC_MSG_WARN([Can't find \`$noto_font_alpha_file'.]) - AC_MSG_ERROR([Adjust the \`TTFONTS' environment variable so that the Noto alpha fonts are found.]) + TA_DOC([$pdf_file], + [Adjust the \`TTFONTS' environment variable so that the Noto alpha fonts are found.]) fi fi fi -- 2.11.4.GIT