From: Keith Packard Date: Tue, 30 Mar 2004 17:31:48 +0000 (+0000) Subject: Oops. Apply changes to configure.in needed to detect functions and X-Git-Tag: fc-2_2_3~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0ede3c2fc1740a80551f8f36dfbe77071ca12bd9;p=fontconfig.git Oops. Apply changes to configure.in needed to detect functions and structures used in FcGetPixelSize. --- diff --git a/ChangeLog b/ChangeLog index ee2b484..9f301f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-03-30 Keith Packard + + * configure.in: + Oops. Apply changes to configure.in needed to detect + functions and structures used in FcGetPixelSize. + 2004-03-30 Keith Packard * doc/Makefile.am: diff --git a/configure.in b/configure.in index 75912d9..e5071a7 100644 --- a/configure.in +++ b/configure.in @@ -117,9 +117,19 @@ AC_SUBST(FREETYPE_CFLAGS) # fontconfig_save_libs=$LIBS +fontconfig_save_cflags="$CFLAGS" LIBS="$LIBS $FREETYPE_LIBS" -AC_CHECK_FUNCS(FT_Get_First_Char) -LIBS=$fontconfig_save_libs +CFLAGS="$CFLAGS $FREETYPE_CFLAGS" +AC_CHECK_FUNCS(FT_Get_First_Char FT_Get_Next_Char FT_Get_BDF_Property) +AC_CHECK_MEMBER(FT_Bitmap_Size.y_ppem, + HAVE_FT_BITMAP_SIZE_Y_PPEM=1, + HAVE_FT_BITMAP_SIZE_Y_PPEM=0, +[#include +#include FT_FREETYPE_H]) +AC_DEFINE_UNQUOTED(HAVE_FT_BITMAP_SIZE_Y_PPEM,$HAVE_FT_BITMAP_SIZE_Y_PPEM, + [FT_Bitmap_Size structure includes y_ppem field]) +CFLAGS="$fontconfig_save_cflags" +LIBS="$fontconfig_save_libs" # # Check expat configuration @@ -293,8 +303,7 @@ case "$FC_ADD_FONTS" in "") ;; *) - FC_FONTPATH=`echo $FC_ADD_FONTS | - sed -e 's/^//' -e 's/$/<\/dir>/' -e 's/,/<\/dir> /g'` + FC_FONTPATH=`echo $FC_ADD_FONTS | sed -e 's/^//' -e 's/$/<\/dir>/' -e 's/,/<\/dir> /g'` ;; esac