Check for FriBidi
Showing
1 changed file
with
12 additions
and
1 deletions
... | @@ -418,7 +418,18 @@ if test "$ac_use_included_regex" = yes; then | ... | @@ -418,7 +418,18 @@ if test "$ac_use_included_regex" = yes; then |
418 | MU_HEADER(regex.h) | 418 | MU_HEADER(regex.h) |
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 | ... | ... |
-
Please register or sign in to post a comment