diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-07-02 16:51:02 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-07-02 16:51:02 +0000 |
| commit | 7138ca1704831157e6cea929c3f87185016e0d17 (patch) | |
| tree | 7ec14337794b1f0afdee28d8ee3eb9a0e76652cb /auto | |
| parent | eaf3544e15cc7551efa128ed5bb67851cb57d11e (diff) | |
| download | nginx-7138ca1704831157e6cea929c3f87185016e0d17.tar.gz nginx-7138ca1704831157e6cea929c3f87185016e0d17.tar.bz2 | |
Merge of r4682, r4694, r4699, r4704, r4705: minor nits.
*) Fixed spelling of "endianness", and called it "byte ordering" in the
user visible part.
*) Fixed return type of ngx_strerror_init().
*) Fixed a harmless error in spelling of "Connection: close" when computing
the response header length.
*) Style.
*) Added code to look up Google perftools in /opt/local/, for MacPorts.
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/endianness (renamed from auto/endianess) | 10 | ||||
| -rw-r--r-- | auto/lib/google-perftools/conf | 16 | ||||
| -rwxr-xr-x | auto/unix | 2 |
3 files changed, 22 insertions, 6 deletions
diff --git a/auto/endianess b/auto/endianness index 452dd7c12..87311a0f1 100644 --- a/auto/endianess +++ b/auto/endianness @@ -3,9 +3,9 @@ # Copyright (C) Nginx, Inc. -echo $ngx_n "checking for system endianess ...$ngx_c" +echo $ngx_n "checking for system byte ordering ...$ngx_c" echo >> $NGX_ERR -echo "checking for system endianess" >> $NGX_ERR +echo "checking for system byte ordering" >> $NGX_ERR cat << END > $NGX_AUTOTEST.c @@ -28,10 +28,10 @@ eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" if [ -x $NGX_AUTOTEST ]; then if $NGX_AUTOTEST >/dev/null 2>&1; then - echo " little endianess" + echo " little endian" have=NGX_HAVE_LITTLE_ENDIAN . auto/have else - echo " big endianess" + echo " big endian" fi rm $NGX_AUTOTEST* @@ -40,6 +40,6 @@ else rm $NGX_AUTOTEST* echo - echo "$0: error: can not detect system endianess" + echo "$0: error: cannot detect system byte ordering" exit 1 fi diff --git a/auto/lib/google-perftools/conf b/auto/lib/google-perftools/conf index 398ddd05e..7a9de3002 100644 --- a/auto/lib/google-perftools/conf +++ b/auto/lib/google-perftools/conf @@ -29,6 +29,22 @@ if [ $ngx_found = no ]; then fi +if [ $ngx_found = no ]; then + + # MacPorts + + ngx_feature="Google perftools in /opt/local/" + + if [ $NGX_RPATH = YES ]; then + ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lprofiler" + else + ngx_feature_libs="-L/opt/local/lib -lprofiler" + fi + + . auto/feature +fi + + if [ $ngx_found = yes ]; then CORE_LIBS="$CORE_LIBS $ngx_feature_libs" @@ -464,7 +464,7 @@ ngx_type="rlim_t"; ngx_types="int"; . auto/types/typedef . auto/types/uintptr_t -. auto/endianess +. auto/endianness ngx_type="size_t"; . auto/types/sizeof ngx_param=NGX_MAX_SIZE_T_VALUE; ngx_value=$ngx_max_value; . auto/types/value |
