[MPlayer-cvslog] CVS: main configure,1.1022,1.1023

Aurelien Jacobs CVS syncmail at mplayerhq.hu
Thu Jun 23 00:12:58 CEST 2005


CVS change done by Aurelien Jacobs CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv7040

Modified Files:
	configure 
Log Message:
fix fribidi 0.10.5 and greater support (patch by Amir Shalem < amir at boom.org.il >)

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1022
retrieving revision 1.1023
diff -u -r1.1022 -r1.1023
--- configure	18 Jun 2005 21:49:02 -0000	1.1022
+++ configure	22 Jun 2005 22:12:55 -0000	1.1023
@@ -5121,9 +5121,13 @@
 	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);
     }




More information about the MPlayer-cvslog mailing list