[PATCH] Configure: remove tests for a few standard C types
Maxim Dounin
mdounin at mdounin.ru
Fri Jul 8 01:49:11 UTC 2016
Hello!
On Fri, Jul 01, 2016 at 02:31:43PM -0700, Piotr Sikora wrote:
> # 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
I would rather not, as result of these tests are useful when
manually looking into configure output.
--
Maxim Dounin
http://nginx.org/
More information about the nginx-devel
mailing list