Mercurial > hg > nginx
diff auto/options @ 2866:1804da35f853 stable-0.6
r2756 merge:
add quotes for configure options with spaces
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 18 May 2009 16:17:51 +0000 |
parents | 96b878c984f4 |
children |
line wrap: on
line diff
--- a/auto/options +++ b/auto/options @@ -119,9 +119,12 @@ NGX_GOOGLE_PERFTOOLS=NO NGX_CPU_CACHE_LINE= +opt= for option do + opt="$opt `echo $option | sed -e \"s/\(--[^=]*=\)\(.* .*\)/\1'\2'/\"`" + case "$option" in -*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) value="" ;; @@ -248,6 +251,9 @@ do done +NGX_CONFIGURE="$opt" + + if [ $help = yes ]; then cat << END