diff configure @ 270:6eb1e38f0f1f NGINX_0_5_5

nginx 0.5.5 *) Change: the -v switch does not show compiler information any more. *) Feature: the -V switch. *) Feature: the "worker_rlimit_core" directive supports size in K, M, and G. *) Bugfix: the nginx.pm module now could be installed by an unprivileged user. *) Bugfix: a segmentation fault might occur if the $r->request_body or $r->request_body_file methods were used. *) Bugfix: the ppc platform specific bugs.
author Igor Sysoev <http://sysoev.ru>
date Sun, 24 Dec 2006 00:00:00 +0300
parents 73e8476f9142
children f7cd062ee035
line wrap: on
line diff
--- a/configure
+++ b/configure
@@ -3,6 +3,8 @@
 # Copyright (C) Igor Sysoev
 
 
+NGX_CONFIGURE=`echo $@ | sed 's/"/\\\\"/g'`
+
 . auto/options
 . auto/init
 . auto/sources
@@ -10,9 +12,10 @@
 test -d $NGX_OBJS || mkdir $NGX_OBJS
 
 echo > $NGX_AUTO_HEADERS_H
-echo > $NGX_AUTO_CONFIG_H
 echo > $NGX_AUTOCONF_ERR
 
+echo "#define NGX_CONFIGURE \"$NGX_CONFIGURE\"" > $NGX_AUTO_CONFIG_H
+
 
 if [ $NGX_DEBUG = YES ]; then
     have=NGX_DEBUG . auto/have
@@ -32,14 +35,15 @@ if test -z "$NGX_PLATFORM"; then
 
 else
     echo "building for $NGX_PLATFORM"
+    NGX_SYSTEM=$NGX_PLATFORM
 fi
 
+. auto/cc/conf
 
 if [ "$NGX_PLATFORM" != win32 ]; then
     . auto/headers
 fi
 
-. auto/cc/conf
 . auto/os/conf
 
 if [ "$NGX_PLATFORM" != win32 ]; then