aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-11 13:36:58 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-11 13:36:58 +0000
commitfd07f803b1bdbdaa46c3bac7cecfbdad6edd94f8 (patch)
tree1648db264610bb994d4a915b6105058ca562aba9 /configure
parentf56f4149dffcf9dd83a44a8f186896a1d068b6f9 (diff)
downloadffmpeg-fd07f803b1bdbdaa46c3bac7cecfbdad6edd94f8.tar.gz
configure: allow names with spaces in enable/disable_safe
Originally committed as revision 21137 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index 8bccec5a71..b595496d3a 100755
--- a/configure
+++ b/configure
@@ -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(){