1
0
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:
Måns Rullgård 2010-01-11 13:36:58 +00:00
parent f56f4149df
commit fd07f803b1

8
configure vendored
View File

@ -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(){