History

configure: do not use interval regexp operators with awk

Some awk implementations like mawk (used on Ubuntu) do not support these.

Marvin Scholz committed 2 years ago

Commit 4858a8e1 parent ed633a11 file · +1 −1Browse files

Unified · Split

configure+1−1
@@ -6152,7 +6152,7 @@ enabled pic && enable_weak_pic · 6151 unmodified lines
61526152 test_cc <<EOF || die "Symbol mangling check failed."
61536153 int ff_extern;
61546154 EOF
6155−sym=$($nm $TMPO | awk '/[ \t]+[^ \t]{0,1}ff_extern$/{ print substr($0, match($0, /[^ \t]{0,1}ff_extern$/)) }')
6155+sym=$($nm $TMPO | awk '/[ \t]+[^ \t]?ff_extern$/{ print substr($0, match($0, /[^ \t]?ff_extern$/)) }')
61566156 extern_prefix=${sym%%ff_extern*}
61576157
61586158 log "Symbol prefix detected as: '${extern_prefix}'"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t