mirror of
https://github.com/mpv-player/mpv
synced 2025-03-30 15:29:56 +00:00
configure: Simplify fribidi check - console output is not necessary
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31457 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9fa2cd5c82
commit
c8fd0f2a7f
5
configure
vendored
5
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user