Require fontconfig >= 2.8 and change its guard macro name
FcConfigAppFontAddFile() that we use is only available since 2.8, so check for at least this version of the library in configure. Also change the macro guarding its use to the more semantically appropriate "wxHAVE" rather than "wxUSE" and make it more precise by adding "2_8_0" suffix to it.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -22550,7 +22550,7 @@ else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
||||
$as_echo "#define wxUSE_FONTCONFIG 1" >>confdefs.h
|
||||
$as_echo "#define wxHAVE_FONTCONFIG_2_8_0 1" >>confdefs.h
|
||||
|
||||
CXXFLAGS="$FONTCONFIG_CFLAGS $CXXFLAGS"
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $FONTCONFIG_LIBS"
|
||||
|
Reference in New Issue
Block a user