Mercurial > hg > nginx-quic
comparison auto/options @ 2755:a65976a205a5
add quotes for configure options with spaces
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 26 Apr 2009 19:37:38 +0000 |
parents | 3a8a53c0c42f |
children | 77264e0157ad |
comparison
equal
deleted
inserted
replaced
2754:7d16774c757c | 2755:a65976a205a5 |
---|---|
127 NGX_GOOGLE_PERFTOOLS=NO | 127 NGX_GOOGLE_PERFTOOLS=NO |
128 NGX_CPP_TEST=NO | 128 NGX_CPP_TEST=NO |
129 | 129 |
130 NGX_CPU_CACHE_LINE= | 130 NGX_CPU_CACHE_LINE= |
131 | 131 |
132 opt= | |
132 | 133 |
133 for option | 134 for option |
134 do | 135 do |
136 opt="$opt `echo $option | sed -e \"s/\(--[^=]*=\)\(.* .*\)/\1'\2'/\"`" | |
137 | |
135 case "$option" in | 138 case "$option" in |
136 -*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;; | 139 -*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;; |
137 *) value="" ;; | 140 *) value="" ;; |
138 esac | 141 esac |
139 | 142 |
265 ;; | 268 ;; |
266 esac | 269 esac |
267 done | 270 done |
268 | 271 |
269 | 272 |
273 NGX_CONFIGURE="$opt" | |
274 | |
275 | |
270 if [ $help = yes ]; then | 276 if [ $help = yes ]; then |
271 | 277 |
272 cat << END | 278 cat << END |
273 | 279 |
274 --help this message | 280 --help this message |