From f8c576cab95bd0f4504db841d416426447bb8cf5 Mon Sep 17 00:00:00 2001 From: kichikuou Date: Sun, 26 Feb 2017 18:20:21 +0900 Subject: [PATCH] Abort configure if no available font backend --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 06f7bcc..c9a0d34 100755 --- a/configure +++ b/configure @@ -17901,7 +17901,7 @@ if test "x$no_ft" != xyes; then EXTRALIBS="$EXTRALIBS $FT2_LIBS" EXTRACFLAGS="$EXTRACFLAGS $FT2_CFLAGS" fi -if test x"SRC_FONT" = "x"; then +if test x"$SRC_FONT" = "x"; then as_fn_error $? "\"*** No font device available ***\"" "$LINENO" 5; fi diff --git a/configure.ac b/configure.ac index 56b0a49..d5c2ea2 100644 --- a/configure.ac +++ b/configure.ac @@ -707,7 +707,7 @@ if test "x$no_ft" != xyes; then fi dnl dnl check null -if test x"SRC_FONT" = "x"; then +if test x"$SRC_FONT" = "x"; then AC_MSG_ERROR("*** No font device available ***"); fi AC_SUBST(SRC_FONT)