# HG changeset patch # User aurel # Date 1119478375 0 # Node ID a8854519f3ffbe6c40a8bb85535ffe0a3caca6e5 # Parent 9bbda935c1df1d46b7ecd11001011cffdad9894b fix fribidi 0.10.5 and greater support (patch by Amir Shalem < amir at boom.org.il >) diff -r 9bbda935c1df -r a8854519f3ff configure --- a/configure Wed Jun 22 13:00:36 2005 +0000 +++ b/configure Wed Jun 22 22:12:55 2005 +0000 @@ -5121,9 +5121,13 @@ cat > $TMPC << EOF #include #include +/* workaround for fribidi 0.10.4 and below */ +#if defined(FRIBIDI_CHARSET_UTF8) && !defined(FRIBIDI_CHAR_SET_UTF8) +#define FRIBIDI_CHAR_SET_UTF8 FRIBIDI_CHARSET_UTF8 +#endif int main() { - if(fribidi_parse_charset("UTF-8") != FRIBIDI_CHARSET_UTF8) { + if(fribidi_parse_charset("UTF-8") != FRIBIDI_CHAR_SET_UTF8) { printf("Fribidi headers are not consistents with the library!\n"); exit(1); }