summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-22 22:12:55 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-22 22:12:55 +0000
commit70b33fe0ad588e0363f5f812ac3bb128837cd0d6 (patch)
tree700f6f2ca3b173d4d74e47d288c46ebc86506f25 /configure
parent26e338cc1db338ec900110e33c0f41a9cf89bf5b (diff)
downloadmpv-70b33fe0ad588e0363f5f812ac3bb128837cd0d6.tar.bz2
mpv-70b33fe0ad588e0363f5f812ac3bb128837cd0d6.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 1885c9b7ed..40a22e0ddb 100755
--- a/configure
+++ b/configure
@@ -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);
}