Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-19 18:52:40 +0300
committerMåns Rullgård <mans@mansr.com>2010-01-19 18:52:40 +0300
commitf6993412b760c236ac624b7f715a85e4c3f08be8 (patch)
treef4af696157569cdbdc2b715425864073aa744967 /configure
parent9e5f164dc1ef90b08535db31370011af382429cc (diff)
configure: be more liberal with nm output
Originally committed as revision 21324 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 495e5b00b4..561284376b 100755
--- a/configure
+++ b/configure
@@ -2223,7 +2223,7 @@ enabled pic && enable_pic
check_cc <<EOF || die "Symbol mangling check failed."
int ff_extern;
EOF
-sym=$($nm -P -g $TMPO | grep ff_extern)
+sym=$($nm -g $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^[:blank:]]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*}
check_cc <<EOF && enable inline_asm