diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-03-18 09:09:53 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-03-18 09:09:53 +0000 |
commit | b0d3b9e4c859f7c9397b562f09d495e035df506d (patch) | |
tree | 8692155cfc90fc2da8b490577d54f886312b9636 /configure | |
parent | a6a78144712dd967ce3c7c109edaa45fdbfc0328 (diff) |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |