diff options
author | Ken Bloom <kbloom at gmail com> | 2010-09-04 13:01:33 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-09-04 13:01:33 (GMT) |
commit | ea98db414033aa17aee720135e2f9ee0a08696cc (patch) | |
tree | 40f0f68ee4a86289d832713890c226f31cdf853a /configure.in | |
parent | b1b2f47e7dd185fef88a44a318a9b374083ecb40 (diff) | |
download | fluxbox_pavel-ea98db414033aa17aee720135e2f9ee0a08696cc.zip fluxbox_pavel-ea98db414033aa17aee720135e2f9ee0a08696cc.tar.bz2 |
added support for bidirectional text
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 2766054..263beaf 100644 --- a/configure.in +++ b/configure.in | |||
@@ -163,8 +163,6 @@ dnl Check if iconv uses const in prototype declaration | |||
163 | fi | 163 | fi |
164 | fi | 164 | fi |
165 | 165 | ||
166 | |||
167 | |||
168 | AC_CHECK_LIB(nsl, t_open, LIBS="$LIBS -lnsl") | 166 | AC_CHECK_LIB(nsl, t_open, LIBS="$LIBS -lnsl") |
169 | AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket") | 167 | AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket") |
170 | 168 | ||
@@ -603,6 +601,31 @@ fi | |||
603 | # ) | 601 | # ) |
604 | 602 | ||
605 | 603 | ||
604 | enableval="yes" | ||
605 | AC_MSG_CHECKING([whether to have FRIBIDI support]) | ||
606 | AC_ARG_ENABLE(fribidi, | ||
607 | AC_HELP_STRING([--enable-fribidi], | ||
608 | [FRIBIDI support [default=yes]]), , | ||
609 | [enableval=yes]) | ||
610 | if test "x$enableval" = "xyes"; then | ||
611 | AC_MSG_RESULT([yes]) | ||
612 | AC_CHECK_LIB(fribidi, fribidi_version_info, | ||
613 | AC_MSG_CHECKING([for fribidi/fribidi.h]) | ||
614 | AC_TRY_COMPILE( | ||
615 | #include <fribidi/fribidi.h> | ||
616 | , fribidi_version_info, | ||
617 | AC_MSG_RESULT([yes]) | ||
618 | AC_DEFINE(HAVE_FRIBIDI, [1], [Define to 1 if you have FRIBIDI]) | ||
619 | LIBS="$LIBS -lfribidi", | ||
620 | AC_MSG_RESULT([no]))) | ||
621 | else | ||
622 | AC_MSG_RESULT([no]) | ||
623 | CONFIGOPTS="$CONFIGOPTS --disable-fribidi" | ||
624 | fi | ||
625 | |||
626 | |||
627 | |||
628 | |||
606 | 629 | ||
607 | AC_ARG_WITH( | 630 | AC_ARG_WITH( |
608 | menu, | 631 | menu, |