Browse Source

configure: Avoid use of nonstandard features of sed

Standard sed does not support EREs.

Fixes #7310.
tags/n4.2
Mark Thompson 7 years ago
parent
commit
2f6b1806ce
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      configure

+ 1
- 2
configure View File

@@ -3725,8 +3725,7 @@ find_things_extern(){

find_filters_extern(){
file=$source_path/$1
#sed -n "s/^extern AVFilter ff_\([avfsinkrc]\{2,5\}\)_\(\w\+\);/\2_filter/p" $file
sed -E -n "s/^extern AVFilter ff_([avfsinkrc]{2,5})_([a-zA-Z0-9_]+);/\2_filter/p" $file
sed -n 's/^extern AVFilter ff_[avfsinkrc]\{2,5\}_\([[:alnum:]_]\{1,\}\);/\1_filter/p' $file
}

FILTER_LIST=$(find_filters_extern libavfilter/allfilters.c)


Loading…
Cancel
Save