Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
2865:e8f271979e0a | 2866:1804da35f853 |
---|---|
117 | 117 |
118 NGX_GOOGLE_PERFTOOLS=NO | 118 NGX_GOOGLE_PERFTOOLS=NO |
119 | 119 |
120 NGX_CPU_CACHE_LINE= | 120 NGX_CPU_CACHE_LINE= |
121 | 121 |
122 opt= | |
122 | 123 |
123 for option | 124 for option |
124 do | 125 do |
126 opt="$opt `echo $option | sed -e \"s/\(--[^=]*=\)\(.* .*\)/\1'\2'/\"`" | |
127 | |
125 case "$option" in | 128 case "$option" in |
126 -*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;; | 129 -*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;; |
127 *) value="" ;; | 130 *) value="" ;; |
128 esac | 131 esac |
129 | 132 |
246 ;; | 249 ;; |
247 esac | 250 esac |
248 done | 251 done |
249 | 252 |
250 | 253 |
254 NGX_CONFIGURE="$opt" | |
255 | |
256 | |
251 if [ $help = yes ]; then | 257 if [ $help = yes ]; then |
252 | 258 |
253 cat << END | 259 cat << END |
254 | 260 |
255 --help this message | 261 --help this message |