[PATCH] Configure: remove tests for a few standard C types

Piotr Sikora piotrsikora at google.com
Fri Jul 1 21:31:43 UTC 2016


# HG changeset patch
# User Piotr Sikora <piotrsikora at google.com>
# Date 1467064813 25200
#      Mon Jun 27 15:00:13 2016 -0700
# Node ID 3bd4707f1bc170859f27a8de6451531a675b5f3b
# Parent  d452cb27639f714bc43b7f3ede417e3e7f8efdd6
Configure: remove tests for a few standard C types.

Results of those tests were unused since a88a3e4e158f (0.1.5).

Also, this fixes build with -Werror=long-long, since ./configure
script was the only place where "long long" type was used.

Signed-off-by: Piotr Sikora <piotrsikora at google.com>

diff -r d452cb27639f -r 3bd4707f1bc1 auto/unix
--- a/auto/unix
+++ b/auto/unix
@@ -584,12 +584,6 @@ ngx_feature_libs=
 
 # C types
 
-ngx_type="int"; . auto/types/sizeof
-
-ngx_type="long"; . auto/types/sizeof
-
-ngx_type="long long"; . auto/types/sizeof
-
 ngx_type="void *"; . auto/types/sizeof; ngx_ptr_size=$ngx_size
 ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_size; . auto/types/value
 



More information about the nginx-devel mailing list