add quotes for configure options with spaces
diff --git a/auto/options b/auto/options
index 8ec692e..0901fcd 100644
--- a/auto/options
+++ b/auto/options
@@ -129,9 +129,12 @@
 
 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 @@
 done
 
 
+NGX_CONFIGURE="$opt"
+
+
 if [ $help = yes ]; then
 
 cat << END