mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
configure: allow names with spaces in enable/disable_safe
Originally committed as revision 21137 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f56f4149df
commit
fd07f803b1
8
configure
vendored
8
configure
vendored
@ -355,11 +355,15 @@ disable_weak(){
|
||||
}
|
||||
|
||||
enable_safe(){
|
||||
enable $(echo "$*" | sed 's/[^A-Za-z0-9_ ]/_/g')
|
||||
for var; do
|
||||
enable $(echo "$var" | sed 's/[^A-Za-z0-9_]/_/g')
|
||||
done
|
||||
}
|
||||
|
||||
disable_safe(){
|
||||
disable $(echo "$*" | sed 's/[^A-Za-z0-9_ ]/_/g')
|
||||
for var; do
|
||||
disable $(echo "$var" | sed 's/[^A-Za-z0-9_]/_/g')
|
||||
done
|
||||
}
|
||||
|
||||
do_enable_deep(){
|
||||
|
Loading…
Reference in New Issue
Block a user