summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-19 23:18:19 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-19 23:18:19 +0000
commit2087c82339edfa0cacfdfa612d99939a453624a7 (patch)
tree3b94ca315db502c14b637d2c7cab59c809d63408 /configure
parent3f50965b28d0c4ef10dde0bf2f7a9f78fa36b378 (diff)
configure: do not use character classes with awk
Some broken versions of awk (mawk, apparently used in debian) do not handle character classes in regular expressions. Originally committed as revision 21334 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 efd16bbe03..032fd5b4a5 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 -g $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^[:blank:]]*ff_extern/)) }')
+sym=$($nm -g $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*}
check_cc <<EOF && enable inline_asm