[PATCH] Fix ./configure script for less error-forgiving compilers

Piotr Sikora piotr.sikora at frickle.com
Mon Aug 16 08:01:27 MSD 2010


Hi Igor,
attached patch fixes ./configure script for less error-forgiving compilers 
(like LLVM/clang) when they are used with -Werror option.

auto/types/sizeof:
- printf() is defined in missing <stdio.h> header,
- sizeof() returns size_t type, which has different signedness on different 
operating systems (hence %z).

auto/unix:
- setproctitle() is defined in <stdlib.h> on both: NetBSD and OpenBSD.

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx__Werror_fixes.patch
Type: application/octet-stream
Size: 754 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx-devel/attachments/20100816/1168695c/attachment.obj>


More information about the nginx-devel mailing list