1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 04:15:13 +00:00

Compilation fix.

Since FFmpeg r12484, libswscale requires EXTERN_PREFIX defined.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26262 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2008-03-18 09:09:53 +00:00
parent a6a7814471
commit b0d3b9e4c8

13
configure vendored
View File

@ -2296,6 +2296,16 @@ if test "$_runtime_cpudetection" = yes ; then
fi
echocheck "extern symbol prefix"
cat > $TMPC << EOF
int ff_extern;
EOF
cc_check -c || die "Symbol mangling check failed."
sym=$(nm -P -g $TMPEXE)
extern_prefix=${sym%%ff_extern*}
_def_extern_prefix="#define EXTERN_PREFIX \"$extern_prefix\""
echores $extern_prefix
echocheck "assembler support of -pipe option"
cat > $TMPC << EOF
@ -7957,6 +7967,9 @@ $_def_builtin_expect
# define attribute_used
#endif
/* extern symbol prefix */
$_def_extern_prefix
/* compiler support for named assembler arguments */
$_def_named_asm_args