Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-11 16:36:58 +0300
committerMåns Rullgård <mans@mansr.com>2010-01-11 16:36:58 +0300
commitfd07f803b1bdbdaa46c3bac7cecfbdad6edd94f8 (patch)
tree1648db264610bb994d4a915b6105058ca562aba9 /configure
parentf56f4149dffcf9dd83a44a8f186896a1d068b6f9 (diff)
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(){