summaryrefslogtreecommitdiffhomepage
path: root/auto/options
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-26 19:37:38 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-26 19:37:38 +0000
commit0e60e4f73a62bf168dcc0ece770dafa27de35207 (patch)
tree3c31ea04ad8fd22970145f1a567fe7850ad29018 /auto/options
parent43e1b88acb417cdeda612fbb7a7c2747303c7321 (diff)
downloadnginx-0e60e4f73a62bf168dcc0ece770dafa27de35207.tar.gz
nginx-0e60e4f73a62bf168dcc0ece770dafa27de35207.tar.bz2
add quotes for configure options with spaces
Diffstat (limited to '')
-rw-r--r--auto/options6
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/options b/auto/options
index 8ec692e7d..0901fcd20 100644
--- a/auto/options
+++ b/auto/options
@@ -129,9 +129,12 @@ NGX_CPP_TEST=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="" ;;
@@ -267,6 +270,9 @@ do
done
+NGX_CONFIGURE="$opt"
+
+
if [ $help = yes ]; then
cat << END