Mercurial > mplayer.hg
changeset 31391:6e2c9a628fba
Simplify fribidi check - console output is not necessary.
author | diego |
---|---|
date | Thu, 17 Jun 2010 10:42:45 +0000 |
parents | 1edec80a4ad7 |
children | aba3834b6411 |
files | configure |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu Jun 17 10:17:37 2010 +0000 +++ b/configure Thu Jun 17 10:42:45 2010 +0000 @@ -6445,16 +6445,13 @@ _ld_tmp="" if test "$_fribidi" = auto ; then cat > $TMPC << EOF -#include <stdio.h> #include <stdlib.h> /* workaround for fribidi 0.10.4 and below */ #define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8 #include <fribidi/fribidi.h> int main(void) { - if (fribidi_parse_charset("UTF-8") != FRIBIDI_CHAR_SET_UTF8) { - printf("Fribidi headers are not consistents with the library!\n"); + if (fribidi_parse_charset("UTF-8") != FRIBIDI_CHAR_SET_UTF8) exit(1); - } return 0; } EOF