Commit 1daac16d authored by mru's avatar mru

configure: allow names with spaces in enable/disable_safe

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21137 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 15aa6c8b
...@@ -355,11 +355,15 @@ disable_weak(){ ...@@ -355,11 +355,15 @@ disable_weak(){
} }
enable_safe(){ 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_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(){ 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