diff --git a/configure b/configure index 40a22e0ddb..55716ccfd3 100755 --- a/configure +++ b/configure @@ -5120,11 +5120,9 @@ if test "$_fribidi" = yes ; then if ( $_fribidiconfig --version ) >/dev/null 2>&1 ; then cat > $TMPC << EOF #include -#include /* 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 +#define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8 +#include int main() { if(fribidi_parse_charset("UTF-8") != FRIBIDI_CHAR_SET_UTF8) {