From 4043d68f687a483c7d6aca6d1a6258568f3dfd3a Mon Sep 17 00:00:00 2001 From: Oleg Oshmyan Date: Fri, 27 Oct 2017 00:41:36 +0300 Subject: Completely exclude ass_fontconfig.c from build when it is disabled --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index cc223d9..28f4b59 100644 --- a/configure.ac +++ b/configure.ac @@ -156,6 +156,7 @@ PKG_CHECK_MODULES([FONTCONFIG], fontconfig >= 2.10.92, [ fontconfig=true ], [fontconfig=false]) fi +AM_CONDITIONAL([FONTCONFIG], [test x$fontconfig = xtrue]) if test x$enable_coretext != xno; then OLDLIBS="$LIBS" -- cgit v1.2.3