diff configure @ 15810:27b1d5a4f972

makes fribidi <= 0.10.4 works again
author aurel
date Thu, 23 Jun 2005 23:40:07 +0000
parents a8854519f3ff
children 5aa87072ef31
line wrap: on
line diff
--- a/configure	Thu Jun 23 17:25:53 2005 +0000
+++ b/configure	Thu Jun 23 23:40:07 2005 +0000
@@ -5120,11 +5120,9 @@
     if ( $_fribidiconfig --version ) >/dev/null 2>&1 ; then
 	cat > $TMPC << EOF
 #include <stdio.h>
+/* workaround for fribidi 0.10.4 and below */
+#define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8
 #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_CHAR_SET_UTF8) {