mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
Check for FreeType 2 fontconfig.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16080 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8eb3b817cf
commit
7f44d219b3
1 changed files with 6 additions and 0 deletions
|
@ -190,6 +190,12 @@ if test "$have_xft" = yes -a "$ac_cv_header_X11_Xft_Xft_h" = yes; then
|
|||
if test "$have_utf8" = yes; then
|
||||
AC_DEFINE(HAVE_UTF8,1,[Define if you have XftDrawStringUtf8])
|
||||
fi
|
||||
AC_CHECK_LIB(fontconfig, FcPatternCreate, have_fc=yes, have_fc=no)
|
||||
AC_CHECK_HEADER(fontconfig/fontconfig.h)
|
||||
if test "$have_fc" = yes -a "$ac_cv_header_fontconfig_fontconfig_h" = yes; then
|
||||
GRAPHIC_LIBS="${GRAPHIC_LIBS} -lfontconfig"
|
||||
AC_DEFINE(HAVE_FC,1,[Define if you have FcPatternCreate])
|
||||
fi
|
||||
fi
|
||||
CPPFLAGS="${save_header}"
|
||||
LIBS="${save_libs}"
|
||||
|
|
Loading…
Reference in a new issue