diff options
author | Måns Rullgård <mans@mansr.com> | 2010-01-11 13:36:58 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-01-11 13:36:58 +0000 |
commit | fd07f803b1bdbdaa46c3bac7cecfbdad6edd94f8 (patch) | |
tree | 1648db264610bb994d4a915b6105058ca562aba9 | |
parent | f56f4149dffcf9dd83a44a8f186896a1d068b6f9 (diff) | |
download | ffmpeg-fd07f803b1bdbdaa46c3bac7cecfbdad6edd94f8.tar.gz |
configure: allow names with spaces in enable/disable_safe
Originally committed as revision 21137 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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(){ |