mirror of
https://github.com/librempeg/librempeg
synced 2024-11-21 16:44:05 +00:00
configure: do not use interval regexp operators with awk
Some awk implementations like mawk (used on Ubuntu) do not support these. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
62da31ba80
commit
2adbd80351
2
configure
vendored
2
configure
vendored
@ -6124,7 +6124,7 @@ enabled pic && enable_weak_pic
|
|||||||
test_cc <<EOF || die "Symbol mangling check failed."
|
test_cc <<EOF || die "Symbol mangling check failed."
|
||||||
int ff_extern;
|
int ff_extern;
|
||||||
EOF
|
EOF
|
||||||
sym=$($nm $TMPO | awk '/[ \t]+[^ \t]{0,1}ff_extern$/{ print substr($0, match($0, /[^ \t]{0,1}ff_extern$/)) }')
|
sym=$($nm $TMPO | awk '/[ \t]+[^ \t]?ff_extern$/{ print substr($0, match($0, /[^ \t]?ff_extern$/)) }')
|
||||||
extern_prefix=${sym%%ff_extern*}
|
extern_prefix=${sym%%ff_extern*}
|
||||||
|
|
||||||
log "Symbol prefix detected as: '${extern_prefix}'"
|
log "Symbol prefix detected as: '${extern_prefix}'"
|
||||||
|
Loading…
Reference in New Issue
Block a user