Commit fd07f803 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

configure: allow names with spaces in enable/disable_safe

Originally committed as revision 21137 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f56f4149
......@@ -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(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment