view auto/cc/acc @ 4302:52c881519427

o AIX 7 defines sys_nerr in errno.h, therefore <errno.h> included in the sys_nerr test. o When sys_nerr and _sys_nerr are missed on a particular platform and our euristic for a maximum errno detection applied always print the maximum errno number we reached instead of printing void.[*] * patch from Maxim Dounin This commit makes possible to build nginx on AIX 7.1.
author Maxim Konovalov <maxim@nginx.com>
date Mon, 21 Nov 2011 11:51:41 +0000
parents 417a087c9c4d
children d620f497c50f
line wrap: on
line source


# Copyright (C) Igor Sysoev


# aCC: HP ANSI C++ B3910B A.03.55.02

# C89 mode

CFLAGS="$CFLAGS -Ae"
CC_TEST_FLAGS="-Ae"

PCRE_OPT="$PCRE_OPT -Ae"
ZLIB_OPT="$ZLIB_OPT -Ae"
MD5_OPT="$MD5_OPT -Ae"