summaryrefslogtreecommitdiffhomepage
path: root/auto/options
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-18 16:17:51 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-05-18 16:17:51 +0000
commitc0399e22bb3f1ec7b7074cf078b0146cbb57d448 (patch)
treeee9ce2a4e1cec939ee9457b90bc78117d63ba14e /auto/options
parent0e7ed23cec70cec3e6bce9a90e2f45708b658e46 (diff)
downloadnginx-c0399e22bb3f1ec7b7074cf078b0146cbb57d448.tar.gz
nginx-c0399e22bb3f1ec7b7074cf078b0146cbb57d448.tar.bz2
r2756 merge:
add quotes for configure options with spaces
Diffstat (limited to 'auto/options')
-rw-r--r--auto/options6
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/options b/auto/options
index 268ece99c..8a1b8b25e 100644
--- 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