summaryrefslogtreecommitdiffhomepage
path: root/auto (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2012-08-06Merge of r4763: added the Clang compiler support.Maxim Dounin3-0/+108
The -Werror is commented out to not break builds on Linux.
2012-08-06Merge of r4760, r4761: -Wmissing-prototypes.Maxim Dounin1-0/+1
Fixed compilation with -Wmissing-prototypes. Added a commented out -Wmissing-prototypes to CFLAGS. It is commented out to not break builds with 3rd party modules.
2012-08-06Merge of r4759, r4762, r4768: configure minor fixes.Maxim Dounin3-29/+13
*) Replaced a number of "else if" with "elif". *) Made sure to run configure in a "C" locale. Otherwise, we may fail to properly detect a version of compiler. *) Removed extraneous GCC warning flags.
2012-08-06Merge of r4741: fixed "make" used instead of "${MAKE}".Maxim Dounin3-3/+3
2012-07-02Merge of r4698: X-Forwarded-For conditionals.Maxim Dounin1-0/+4
Fixed compile-time conditionals used to detect if X-Forwarded-For support is needed. Note: compatibility shims were added during merge to avoid possible breakage of 3rd party modules. At least cache purge module was broken by the original commit, as it used to rely on NGX_HTTP_PROXY define.
2012-07-02Merge of r4693: fixed "sendmsg() failed" alerts on HP-UX.Maxim Dounin1-0/+1
HP-UX needs _HPUX_ALT_XOPEN_SOCKET_API to be defined to be able to use various POSIX versions of networking functions. Notably sendmsg() resulted in "sendmsg() failed (9: Bad file number)" alerts without it. See xopen_networking(7) for more details.
2012-07-02Merge of r4691: changed default alignment to 16.Maxim Dounin1-0/+1
This fixes alignment problems observerd on ARMs, and likely also needed for MIPSes. Unless we know alignment is not required just assume we need 16, which appears to be safe default for all architectures. See here for details: http://mailman.nginx.org/pipermail/nginx/2012-June/034139.html
2012-07-02Merge of r4682, r4694, r4699, r4704, r4705: minor nits.Maxim Dounin3-6/+22
*) Fixed spelling of "endianness", and called it "byte ordering" in the user visible part. *) Fixed return type of ngx_strerror_init(). *) Fixed a harmless error in spelling of "Connection: close" when computing the response header length. *) Style. *) Added code to look up Google perftools in /opt/local/, for MacPorts.
2012-07-02Merge of r4655, r4656, r4657, r4695, r4696: upstream changes.Maxim Dounin3-0/+13
*) Upstream: least_conn balancer module. *) Upstream: weights and IPv6 support in ip_hash balancer. *) Upstream keepalive: "single" parameter deprecated.
2012-06-29Merge of r4639, r4640: C++ fixes.Maxim Dounin1-0/+1
Fixed the ngx_regex.h header file compatibility with C++. Fixed building --with-cpp_test_module on some systems.
2012-03-28Configure: fixed msghdr.msg_control test on 64bit platforms.Maxim Dounin1-2/+2
Broken by r4560.
2012-03-27Fixed more gcc46 warnings in configure tests.Maxim Dounin5-26/+41
Steps to reproduce: ./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2"
2012-03-21The addition of $tcpinfo_* variables has broken the build on LinuxRuslan Ermilov1-0/+5
systems with glibc versions prior to 2.7. Fixed this by checking the existence of "struct tcp_info" members during configuration.
2012-03-21worker_cpu_affinity: cleaned up Linux implementation, added FreeBSD support.Ruslan Ermilov3-2/+13
2012-03-16Implemented $tcpinfo_rtt, $tcpinfo_rttvar, $tcpinfo_snd_cwnd, andRuslan Ermilov1-0/+13
$tcpinfo_rcv_space variables. Supported on Linux and FreeBSD.
2012-03-16Some older OSes (notably FreeBSD 4.x) did not have %zuRuslan Ermilov1-1/+1
format specifier, so revert to using %d.
2012-03-15Fixed compilation warnings in configuration C tests.Ruslan Ermilov5-12/+19
Based on a patch by Piotr Sikora.
2012-02-27Configure: moved icc detection before gcc.Maxim Dounin1-5/+5
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-13Added openat()/fstatat().Andrey Belov1-0/+14
2012-02-13Fixed build with embedded perl and --with-openssl.Maxim Dounin1-0/+1
2012-02-10Added ngx_ncpu detection for most *nix platforms.Valentin Bartenev1-0/+10
This inaccurate detection by using sysconf(_SC_NPROCESSORS_ONLN) can improve usage of the mutex lock optimization on multicore systems.
2012-01-18Copyright updated.Maxim Konovalov73-0/+73
2011-12-29Fixed configure with system PCRE library on Solaris.Valentin Bartenev1-1/+1
The bug has been introduced in r4389.
2011-12-29Some questionable optomizations flags for icc were removedMaxim Konovalov1-29/+4
in order to simplify support of its future versions.
2011-12-26Added support for regex study and PCRE JIT (ticket #41) optimizations onValentin Bartenev5-5/+31
configuration phase.
2011-12-20configure on Solaris fixedSergey Budnevitch1-1/+1
2011-12-05Added the "so_keepalive=" parameter to the "listen" directive.Valentin Bartenev1-0/+14
The "so_keepalive" directive in mail module was deprecated. Thanks to Vsevolod Stakhov for initial work.
2011-11-22Made it possible to build/install from the SVN checkout.Ruslan Ermilov1-3/+15
2011-11-21o AIX 7 defines sys_nerr in errno.h, therefore <errno.h> includedMaxim Konovalov1-4/+5
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.
2011-11-14Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.Valentin Bartenev4-8/+18
2011-10-26Revamped "configure --help" text.Ruslan Ermilov1-37/+40
2011-10-26Fix of building by Microsoft Visual C++ 10 compiler.Igor Sysoev1-0/+8
2011-10-12Fixed configuration summary and manpage contents for the specialRuslan Ermilov1-3/+3
--error-log-path=stderr case.
2011-09-15Upstream keepalive module.Maxim Dounin3-0/+12
2011-09-09ngx_http_mp4_moduleIgor Sysoev3-0/+12
2011-08-21Move SO_ACCEPTFILTER and TCP_DEFER_ACCEPT checks into configure.Maxim Dounin1-0/+23
NetBSD 5.0+ has SO_ACCEPTFILTER support merged from FreeBSD, and having accept filter check in FreeBSD-specific ngx_freebsd_config.h prevents it from being used on NetBSD. Therefore move the check into configure (and do the same for Linux-specific TCP_DEFER_ACCEPT, just to be in line).
2011-08-18Rebuild manpage only if needed.Maxim Dounin1-1/+3
2011-08-18Lower optimization level for Sun Studio before 12.1.Maxim Dounin1-5/+17
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-17Detect POSIX semaphores in librt on Solaris (ticket #3).Maxim Dounin1-0/+13
Patch by Denis Ivanov.
2011-08-13Configure: catch up with new Linux version numbering (ticket #5).Maxim Dounin1-1/+3
Catch up with new Linux version numbering scheme as announced at [1] and suppress unrecognized versions to actually use default 0. [1] https://lkml.org/lkml/2011/5/29/204
2011-05-31concatenate auto/os/features and auto/unixIgor Sysoev3-364/+361
2011-05-31delete unused auto/threadsIgor Sysoev2-71/+0
2011-05-31Support POSIX semaphores on Linux.Igor Sysoev2-4/+14
This configure test must run before auto/make, because it adds library. auto/unix was placed after auto/make just for historical reasons. Patch by Denis F. Latypoff
2011-05-16"$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic moduleIgor Sysoev4-3/+9
patch by Maxim Dounin
2011-05-11log "Abort trap" or similar messagesIgor Sysoev1-3/+3
2011-05-10use POSIX semaphores in shmtx instead of sched_yield()Igor Sysoev2-0/+21
number of spinlock spins are increased twice
2011-05-04fix r3902Igor Sysoev1-1/+1
2011-04-23fix r3822Igor Sysoev1-2/+7
Solaris strerror() invalid error code behaviour depends on version: Solaris 10 returns "Unknown error" and sets errno to EINVAL, Solaris 9 returns "Unknown error" and leaves errno intact, Solaris 2 returns NULL.
2011-04-17fix the previous commitIgor Sysoev1-0/+1
2011-04-15an internal MD5 implemenationIgor Sysoev4-14/+5
patch by Maxim Dounin