summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-17 10:42:45 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:11:07 +0200
commitc8fd0f2a7fefd8ce0d0a1690586541929013544c (patch)
treec052bb15bd0848bee79409417cf512a855ca62fd /configure
parent9fa2cd5c82569511dfdbb8350d056a1592238ed9 (diff)
downloadmpv-c8fd0f2a7fefd8ce0d0a1690586541929013544c.tar.bz2
mpv-c8fd0f2a7fefd8ce0d0a1690586541929013544c.tar.xz
configure: Simplify fribidi check - console output is not necessary
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31457 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure b/configure
index 2648bbd126..60a7b2d219 100755
--- a/configure
+++ b/configure
@@ -6156,16 +6156,13 @@ _inc_tmp=""
_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