From 25792bea1522950679fffae8001a00794591b40c Mon Sep 17 00:00:00 2001 From: Deepak Khatri Date: Thu, 13 Jan 2022 03:03:35 +0530 Subject: [PATCH] Build system: Make missing DejaVuSans.ttf non-fatal DejaVuSans.ttf is only needed for test programs, not for actually using cups-filters. Therefore we make its absence non-fatal. (cherry picked from commit e76802b2167fc6bf16b69c7971c8505b5f5cc57f) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3973db6a8..8e9a9a5ab 100644 --- a/configure.ac +++ b/configure.ac @@ -790,7 +790,7 @@ AC_ARG_WITH([test-font-path], ) AS_IF([test "x$cross_compiling" != "xyes" && ! test -f "$with_test_font_path"], - [AC_MSG_ERROR(DejaVuSans.ttf font file is missing. Please install a package providing it.)] + [AC_MSG_WARN(DejaVuSans.ttf font file is missing. Please install a package providing it.) && [with_test_font_path=no]] ) AC_DEFINE_UNQUOTED([TESTFONT], ["$with_test_font_path"], [Path to font used in tests]) -- 2.47.3