summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 2 insertions, 4 deletions
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 <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
+#define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8
+#include <fribidi/fribidi.h>
int main()
{
if(fribidi_parse_charset("UTF-8") != FRIBIDI_CHAR_SET_UTF8) {