Commit 8206377e 8206377e1bf56a5a86ec18e16e226d808d6123b8 by Sergey Poznyakoff

Check for FriBidi

1 parent a27f1f5f
...@@ -419,6 +419,17 @@ if test "$ac_use_included_regex" = yes; then ...@@ -419,6 +419,17 @@ if test "$ac_use_included_regex" = yes; then
419 fi 419 fi
420 420
421 421
422 ## FriBidi support
423
424 AC_SUBST(FRIBIDI_LIBS)
425 AH_TEMPLATE(HAVE_LIBFRIBIDI,
426 [Define to 1 if you have the `fribidi' library (-lfribidi).])
427 AC_CHECK_HEADERS(fribidi/fribidi.h)
428 if test $ac_cv_header_fribidi_fribidi_h = yes; then
429 AC_CHECK_LIB(fribidi, fribidi_log2vis,
430 [AC_DEFINE(HAVE_LIBFRIBIDI,1)
431 FRIBIDI_LIBS=-lfribidi])
432 fi
422 433
423 434
424 435
......