configure: allow names with spaces in enable/disable_safe

Originally committed as revision 21137 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Måns Rullgård 15 years ago
parent f56f4149df
commit fd07f803b1
  1. 8
      configure

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…
Cancel
Save