Commit Graph

115 Commits

Author SHA1 Message Date
Maxim Dounin
5b37852323 Win32: Open Watcom C compatibility fixes.
Precompiled headers are disabled as they lead to internal compiler errors
with long configure lines.  Couple of false positive warnings silenced.
Various win32 typedefs are adjusted to work with Open Watcom C 1.9 headers.

With this patch, it's now again possible to compile nginx using owc386,
with options we normally compile on win32 minus ipv6 and ssl.
2013-09-04 20:48:22 +04:00
Sergey Kandaurov
ce36edfdd9 Configure: fixed autotest cleanup commands.
Previously, if configured with --with-cc="clang -g", the autotest.dSYM
directories were left unremoved.
2013-07-31 18:16:40 +04:00
Ruslan Ermilov
e565dbc6e0 Configure: fixed detection of newer Apple clang compilers. 2013-04-29 18:07:22 +04:00
Sergey Budnevitch
f29eb0798b Removed redundant variable assignment. 2013-01-21 15:05:54 +00:00
Ruslan Ermilov
7f3a352e5a Removed extraneous GCC warning flags. 2012-07-29 19:45:30 +00:00
Ruslan Ermilov
a6c9e09476 Added the Clang compiler support.
The -Werror is commented out to not break builds on Linux.
2012-07-24 15:17:03 +00:00
Ruslan Ermilov
2d60cd7efa Added a commented out -Wmissing-prototypes to CFLAGS.
It is commented out to not break builds with 3rd party modules.
2012-07-24 15:13:34 +00:00
Ruslan Ermilov
7e72000482 Replaced a number of "else if" with "elif". 2012-07-24 15:00:42 +00:00
Maxim Dounin
075e852a4e Configure: moved icc detection before gcc.
New versions of icc confuse auto/cc/name due to introduced handling
of a "icc -v":

$ icc -v
icc version 12.1.3 (gcc version 4.6.0 compatibility)
$ icc -V
Intel(R) C Compiler XE for applications running on IA-32, Version 12.1.3.293 Build 20120212
Copyright (C) 1985-2012 Intel Corporation.  All rights reserved.
FOR NON-COMMERCIAL USE ONLY

See report here:
http://mailman.nginx.org/pipermail/nginx/2012-February/032177.html
2012-02-27 16:23:44 +00:00
Maxim Konovalov
f8d59e33f3 Copyright updated. 2012-01-18 15:07:43 +00:00
Maxim Konovalov
f08ba92492 Some questionable optomizations flags for icc were removed
in order to simplify support of its future versions.
2011-12-29 15:36:07 +00:00
Igor Sysoev
cfd5148e88 Fix of building by Microsoft Visual C++ 10 compiler. 2011-10-26 08:16:59 +00:00
Maxim Dounin
950b668076 Lower optimization level for Sun Studio before 12.1.
At least Sun Studio 12 has problems with bit-fields exposed by nginx code
(caught by test suite).  They seems to be fixed in Sun Studio 12.1.  As a
workaround use "-fast -xalias_level=any" for older versions, it resolves
the problem.
2011-08-18 15:10:23 +00:00
Igor Sysoev
802bc23574 try to use C99 variadic macros first:
AIX 5.3's XL C has problems with GCC style variadic macros
2010-07-05 13:02:25 +00:00
Igor Sysoev
84ab98f31d do not add NGX_GCC_OPT twice: it is added later with -W 2009-12-21 17:51:30 +00:00
Igor Sysoev
9f34ebe231 test invalid --with-ld-opt in right place 2009-11-27 22:02:04 +00:00
Igor Sysoev
37835d9056 atomic operations test-run 2009-11-27 22:00:39 +00:00
Igor Sysoev
89d635fa5d GCC 4.1 builtin atomic operations 2009-11-25 17:34:35 +00:00
Igor Sysoev
d921c10434 use tab in Makefile 2009-05-28 14:33:37 +00:00
Igor Sysoev
5147f8e9ca add miltilines in OpenWatcom makefiles 2009-05-12 13:29:00 +00:00
Igor Sysoev
98c4dd7c60 remove BMAKE (build make): a cc compiler should use own make 2009-05-10 18:35:08 +00:00
Igor Sysoev
4318688cce preserve Solaris binary hardware capabilities 2009-05-08 09:41:43 +00:00
Igor Sysoev
03c779451c update gcc warnings 2009-04-24 15:31:13 +00:00
Igor Sysoev
bd91999ea5 Win32 master/workers model 2009-04-20 06:08:47 +00:00
Igor Sysoev
694bdea2a9 add variadic macros support for msvc8 2009-04-19 16:25:02 +00:00
Igor Sysoev
60798fbea5 OpenSSL building by MSVC and BCC from sources 2009-04-15 19:46:24 +00:00
Igor Sysoev
32ab2f7e64 link staticaly with libcmt 2009-04-01 12:58:31 +00:00
Igor Sysoev
a7e01da163 msvc8 compatibility: it can not build with debug under Wine 2007-11-15 14:22:12 +00:00
Igor Sysoev
0ebcba57f0 add msvc8 2007-11-15 11:00:06 +00:00
Igor Sysoev
0ddf2de23e option -Yd has been deprecated in msvc8,
option -debugtype:coff is unsupported in msvc8
2007-11-15 10:59:07 +00:00
Igor Sysoev
a101048962 enable precompiled headers for msvc7,
probably they were disabled because of some Wine bug
2007-11-15 10:25:30 +00:00
Igor Sysoev
c92483b948 add debug info for Sun Studio 2007-08-07 10:56:45 +00:00
Igor Sysoev
07c1f2f9aa fix building on amd64 by Sun Studio 11 and more early versions 2007-07-28 08:48:12 +00:00
Igor Sysoev
aa5c021ad5 fix building on amd64 and add -xipo to the link stage 2007-07-21 06:23:58 +00:00
Igor Sysoev
d3cdbc85e8 Sun Studio 12 compatibility 2007-07-16 08:54:04 +00:00
Igor Sysoev
de27bce24e --with-cpu-opt=sparc32 and --with-cpu-opt=sparc64 2007-07-15 20:09:14 +00:00
Igor Sysoev
830004196b fix building PCRE by SunStudio 2007-07-15 19:17:46 +00:00
Igor Sysoev
ad490864de 8.1.38 under FreeBSD can not link -ipo 2007-04-19 17:49:24 +00:00
Igor Sysoev
db390ac36d remove trailing space in icc version 2007-04-19 17:48:49 +00:00
Igor Sysoev
21dd4be0c0 fix default -O 2007-01-11 16:20:18 +00:00
Igor Sysoev
48ae1ac29b early C compiler test 2006-12-23 20:31:14 +00:00
Igor Sysoev
0ec09f9196 test PCRE in FreeBSD, Linux, and NetBSD 2006-11-27 11:07:09 +00:00
Igor Sysoev
2f73f772f1 backout the previous commit 2006-10-19 10:19:19 +00:00
Igor Sysoev
4a2547a179 disable bcc precompiled headers,
bcc hungs at src/core/ngx_hash.c after previous commit
2006-10-19 09:59:18 +00:00
Igor Sysoev
6c5c4d0eec add sun4v 2006-10-05 20:06:03 +00:00
Igor Sysoev
5245c09547 add sun4v 2006-10-05 20:03:34 +00:00
Igor Sysoev
14fcd477a1 fix ">/dev/null 2>&1" order 2006-09-18 12:35:01 +00:00
Igor Sysoev
2bdefc12d8 auto/configure [ PAUSE ] hwcap bug 2006-09-18 12:27:33 +00:00
Igor Sysoev
8f4a18feaf disable [ PAUSE ] hwcap for Sun Studio 11 2006-09-15 19:33:55 +00:00
Igor Sysoev
da173abde0 nginx-0.4.0-RELEASE import
*) Change in internal API: the HTTP modules initialization was moved
       from the init module phase to the HTTP postconfiguration phase.

    *) Change: now the request body is not read beforehand for the
       ngx_http_perl_module: it's required to start the reading using the
       $r->has_request_body method.

    *) Feature: the ngx_http_perl_module supports the DECLINED return code.

    *) Feature: the ngx_http_dav_module supports the incoming "Date" header
       line for the PUT method.

    *) Feature: the "ssi" directive is available inside the "if" block.

    *) Bugfix: a segmentation fault occurred if there was an "index"
       directive with variables and the first index name was without
       variables; the bug had appeared in 0.1.29.
2006-08-30 10:39:17 +00:00