# HG changeset patch # User John W. Eaton # Date 1592316720 14400 # Node ID 98889de398dddca9164b2bc5cbc97076b2a449d0 # Parent 1be719d8b3755218dba62fff08edd61410a84f36 * ft-text-renderer.cc: Allow build to succeed if HAVE_FONTCONFIG is undefined. diff -r 1be719d8b375 -r 98889de398dd libinterp/corefcn/ft-text-renderer.cc --- a/libinterp/corefcn/ft-text-renderer.cc Mon Jun 15 16:43:09 2020 -0400 +++ b/libinterp/corefcn/ft-text-renderer.cc Tue Jun 16 10:12:00 2020 -0400 @@ -198,6 +198,7 @@ if (font_map.isempty ()) { +#if defined (HAVE_FONTCONFIG) FcConfig *config = FcConfigGetCurrent(); FcPattern *pat = FcPatternCreate (); FcObjectSet *os = FcObjectSetBuild (FC_FAMILY, FC_SLANT, FC_WEIGHT, @@ -269,6 +270,7 @@ if (fs) FcFontSetDestroy (fs); } +#endif } return font_map;