When compiling with -fmudflap configure fill EXTERN_PREFIX with garbage

(some mudflap symbol), so just pick out ff_extern symbols in this case.
patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 13072 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Matthieu Castet 2008-05-07 08:36:23 +00:00 committed by Diego Biurrun
parent 6650c4c3a8
commit 2f05d9c1ee

2
configure vendored
View File

@ -1474,7 +1474,7 @@ fi
check_cc <<EOF || die "Symbol mangling check failed."
int ff_extern;
EOF
sym=$($nm -P -g $TMPO)
sym=$($nm -P -g $TMPO | grep ff_extern)
extern_prefix=${sym%%ff_extern*}
check_asm inline_asm '""'