1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00

fix fribidi 0.10.5 and greater support (patch by Amir Shalem < amir at boom.org.il >)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15800 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
aurel 2005-06-22 22:12:55 +00:00
parent 26e338cc1d
commit 70b33fe0ad

6
configure vendored
View File

@ -5121,9 +5121,13 @@ if test "$_fribidi" = yes ; then
cat > $TMPC << EOF
#include <stdio.h>
#include <fribidi/fribidi.h>
/* 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);
}