Mercurial > mplayer.hg
comparison configure @ 34352:c535e4a0bd75
Require a fribidi version that defines FriBidiParType.
The workarounds to work with older versions would be getting too ugly.
author | reimar |
---|---|
date | Sun, 11 Dec 2011 21:32:07 +0000 |
parents | 575ad51cc996 |
children | 127c798974a0 |
comparison
equal
deleted
inserted
replaced
34351:52a18f850c28 | 34352:c535e4a0bd75 |
---|---|
5932 | 5932 |
5933 echocheck "fribidi with charsets" | 5933 echocheck "fribidi with charsets" |
5934 if test "$_fribidi" = auto ; then | 5934 if test "$_fribidi" = auto ; then |
5935 cat > $TMPC << EOF | 5935 cat > $TMPC << EOF |
5936 #include <stdlib.h> | 5936 #include <stdlib.h> |
5937 /* workaround for fribidi 0.10.4 and below */ | |
5938 #define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8 | |
5939 #include <fribidi/fribidi.h> | 5937 #include <fribidi/fribidi.h> |
5938 FriBidiParType test; | |
5940 int main(void) { | 5939 int main(void) { |
5941 if (fribidi_parse_charset("UTF-8") != FRIBIDI_CHAR_SET_UTF8) | 5940 if (fribidi_parse_charset("UTF-8") != FRIBIDI_CHAR_SET_UTF8) |
5942 exit(1); | 5941 exit(1); |
5943 return 0; | 5942 return 0; |
5944 } | 5943 } |