aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-19 15:52:40 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-19 15:52:40 +0000
commitf6993412b760c236ac624b7f715a85e4c3f08be8 (patch)
treef4af696157569cdbdc2b715425864073aa744967
parent9e5f164dc1ef90b08535db31370011af382429cc (diff)
downloadffmpeg-f6993412b760c236ac624b7f715a85e4c3f08be8.tar.gz
configure: be more liberal with nm output
Originally committed as revision 21324 to svn://svn.ffmpeg.org/ffmpeg/trunk
-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