summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/pcre (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-10-15Configure: MSVC compatibility with PCRE2 10.43.Thierry Bastian1-1/+2
2024-02-26Configure: added support for Homebrew on Apple Silicon.Piotr Sikora1-0/+16
Signed-off-by: Piotr Sikora <piotr@aviatrix.com>
2021-12-25PCRE2 library support.Maxim Dounin2-41/+218
The PCRE2 library is now used by default if found, instead of the original PCRE library. If needed for some reason, this can be disabled with the --without-pcre2 configure option. To make it possible to specify paths to the library and include files via --with-cc-opt / --with-ld-opt, the library is first tested without any additional paths and options. If this fails, the pcre2-config script is used. Similarly to the original PCRE library, it is now possible to build PCRE2 from sources with nginx configure, by using the --with-pcre= option. It automatically detects if PCRE or PCRE2 sources are provided. Note that compiling PCRE2 10.33 and later requires inttypes.h. When compiling on Windows with MSVC, inttypes.h is only available starting with MSVC 2013. In older versions some replacement needs to be provided ("echo '#include <stdint.h>' > pcre2-10.xx/src/inttypes.h" is good enough for MSVC 2010). The interface on nginx side remains unchanged.
2021-12-25Configure: simplified PCRE compilation.Maxim Dounin1-65/+8
Removed ICC-specific PCRE optimizations which tried to link with PCRE object files instead of the library. Made compiler-specific code minimal.
2016-02-13Win32: simplified and improved handling of MSVC versions.Maxim Dounin2-4/+4
Now we always set NGX_CC_NAME to "msvc", and additionally test compiler version as reported by "cl" in auto/cc/msvc (the same version is also available via the _MSC_VER define). In particular, this approach allows to properly check for C99 variadic macros support, which previously was not used with MSVC versions not explicitly recognized. Now unneeded wildcards in NGX_CC_NAME tests for msvc removed accordingly, as well as unused wildcards for owc and icc.
2013-09-04Win32: MinGW GCC compatibility.Maxim Dounin2-10/+14
Several warnings silenced, notably (ngx_socket_t) -1 is now checked on socket operations instead of -1, as ngx_socket_t is unsigned on win32 and gcc complains on comparison. With this patch, it's now possible to compile nginx using mingw gcc, with options we normally compile on win32.
2013-09-04Win32: Borland C compatibility fixes.Maxim Dounin1-2/+2
Several false positive warnings silenced, notably W8012 "Comparing signed and unsigned" (due to u_short values promoted to int), and W8072 "Suspicious pointer arithmetic" (due to large type values added to pointers). With this patch, it's now again possible to compile nginx using bcc32, with options we normally compile on win32 minus ipv6 and ssl.
2013-09-04Win32: Open Watcom C compatibility fixes.Maxim Dounin1-1/+1
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-08-23Updated PCRE used for win32 builds.Maxim Dounin3-3/+6
As of PCRE 8.33, config.h.generic no longer contains boolean macros. Two of them (SUPPORT_PCRE8 and HAVE_MEMMOVE) were added to appropriate makefiles. This allows PCRE 8.33 to compile and don't change anything for previous versions.
2013-08-23Configure: pcre.lib dependencies fix.Maxim Dounin1-1/+2
Previously, an attempt to build pcre.lib on win32 before anything else failed due to no pcre.h.
2012-12-12Configure: better check for PCRE JIT.Maxim Dounin1-0/+1
On Mac OS X system toolchain by default prefers include files from /usr/local/include, but libraries from /usr/lib. This might result in various problems, in particular the one outlined below. If the PCRE library is installed into /usr/local/, this results in pcre.h being used from /usr/local/include (with PCRE_CONFIG_JIT defined), but libpcre from /usr/lib (as shipped with the OS, without pcre_free_study() symbol). As a result build fails as we use pcre_free_study() function if we try to compile with PCRE JIT support. Obvious workaround is to the root cause is to ask compiler to prefer library from /usr/local/lib via ./configure --with-ld-opt="-L/usr/local/lib". On the other hand, in any case it would be good to check if the function we are going to use is available, hence the change. See thread here for details: http://mailman.nginx.org/pipermail/nginx-devel/2012-December/003074.html Prodded by Piotr Sikora.
2012-03-27Fixed more gcc46 warnings in configure tests.Maxim Dounin1-1/+3
Steps to reproduce: ./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2"
2012-01-18Copyright updated.Maxim Konovalov5-0/+5
2011-12-29Fixed configure with system PCRE library on Solaris.Valentin Bartenev1-1/+1
The bug has been introduced in r4389.
2011-12-26Added support for regex study and PCRE JIT (ticket #41) optimizations onValentin Bartenev2-5/+20
configuration phase.
2010-07-08stop ./configure on Win32 if no library sources was specified,Igor Sysoev1-5/+5
the bug has been introduced in r2894
2009-05-26stop ./configure at once on library failureIgor Sysoev1-0/+12
2009-05-13switch Win32 building to modern PCRE versions (starting from 7.1)Igor Sysoev8-102/+29
instead of single old 4.4 version
2009-05-12backout r2833: CURDIR was set to Unix style pathIgor Sysoev4-12/+17
instead, do chdir inside Makefile
2009-05-12correctly apply patchIgor Sysoev2-2/+2
2009-05-11use $(CURDIR) instead of "..\..\.." because the later does not allow to useIgor Sysoev1-3/+2
options as --with-zlib=../zlib-1.2.3. It seems there is no common way to learn the current directory in Win32 make's: although nmake has MAKEDIR variable, nevertheless Borland make's MAKEDIR is the directory where make is installed, and OpenWatcom wmake has no MAKEDIR at all.
2008-08-04update commentIgor Sysoev1-1/+1
2008-05-16simplify library autoconfigureIgor Sysoev1-81/+26
2007-09-19add rpath for SolarisIgor Sysoev1-4/+21
2007-07-20fix bug introduced by r1306Igor Sysoev1-1/+1
2007-07-15fix building PCRE by SunStudioIgor Sysoev1-1/+1
2007-07-15Solaris compatibilityIgor Sysoev1-2/+2
2007-07-15icc/sunc and PCRE-7.1+ compatibilityIgor Sysoev1-1/+6
2007-04-18fix make dependecies: pcre-6.5+ already has pcre.hIgor Sysoev1-2/+4
2007-01-27test PCRE in MacPortsIgor Sysoev1-0/+25
2007-01-10icc and PCRE-6.5+ compatibilityIgor Sysoev1-3/+21
2006-11-27fix the previous commitIgor Sysoev1-18/+24
2006-11-27test PCRE in FreeBSD, Linux, and NetBSDIgor Sysoev1-3/+68
2005-12-26nginx-0.3.18-RELEASE importrelease-0.3.18Igor Sysoev1-1/+1
*) Feature: the "server_names" directive supports the ".domain.tld" names. *) Feature: the "server_names" directive uses the hash for the "*.domain.tld" names and more effective hash for usual names. *) Change: the "server_names_hash_max_size" and "server_names_hash_bucket_size" directives. *) Change: the "server_names_hash" and "server_names_hash_threshold" directives were canceled. *) Feature: the "valid_referers" directive uses the hash site names. *) Change: now the "valid_referers" directive checks the site names only without the URI part. *) Bugfix: some ".domain.tld" names incorrectly processed by the ngx_http_map_module. *) Bugfix: segmentation fault was occurred if configuration file did not exist; the bug had appeared in 0.3.12. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start; the bug had appeared in 0.3.16.
2005-11-15nginx-0.3.10-RELEASE importrelease-0.3.10Igor Sysoev1-1/+1
*) Change: the "valid_referers" directive and the "$invalid_referer" variable were moved to the new ngx_http_referer_module from the ngx_http_rewrite_module. *) Change: the "$apache_bytes_sent" variable name was changed to "$body_bytes_sent". *) Feature: the "$sent_http_..." variables. *) Feature: the "if" directive supports the "=" and "!=" operations. *) Feature: the "proxy_pass" directive supports the HTTPS protocol. *) Feature: the "proxy_set_body" directive. *) Feature: the "post_action" directive. *) Feature: the ngx_http_empty_gif_module. *) Feature: the "worker_cpu_affinity" directive for Linux. *) Bugfix: the "rewrite" directive did not unescape URI part in redirect, now it is unescaped except the %00-%25 and %7F-%FF characters. *) Bugfix: nginx could not be built by the icc 9.0 compiler. *) Bugfix: if the SSI was enabled for zero size static file, then the chunked response was encoded incorrectly.
2005-10-12nginx-0.3.2-RELEASE importrelease-0.3.2Igor Sysoev1-1/+1
*) Feature: the Sun Studio 10 C compiler support. *) Feature: the "proxy_upstream_max_fails", "proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and "fastcgi_upstream_fail_timeout" directives.
2005-06-15nginx-0.1.36-RELEASE importrelease-0.1.36Igor Sysoev2-7/+24
*) Change: if the request header has duplicate the "Host", "Connection", "Content-Length", or "Authorization" lines, then nginx now returns the 400 error. *) Change: the "post_accept_timeout" directive was canceled. *) Feature: the "default", "af=", "bl=", "deferred", and "bind" parameters of the "listen" directive. *) Feature: the FreeBSD accept filters support. *) Feature: the Linux TCP_DEFER_ACCEPT support. *) Bugfix: the ngx_http_autoindex_module did not support the file names in UTF-8. *) Bugfix: the new log file can be rotated by the -USR1 signal only if the reconfiguration by the -HUP signal was made twice.
2005-03-22nginx-0.1.26-RELEASE importrelease-0.1.26Igor Sysoev7-5/+48
*) Change: the invalid client header lines are now ignored and logged at the info level. *) Change: the server name is also logged in error log. *) Feature: the ngx_http_auth_basic_module module and the auth_basic and auth_basic_user_file directives.
2005-02-22nginx-0.1.21-RELEASE importrelease-0.1.21Igor Sysoev2-2/+2
*) Bugfix: the ngx_http_stub_status_module showed incorrect statistics if "rtsig" method was used or if several worker process ran on SMP. *) Bugfix: nginx could not be built by the icc compiler on Linux or if the zlib-1.2.x library was building from sources. *) Bugfix: nginx could not be built on NetBSD 2.0.
2004-11-25nginx-0.1.9-RELEASE importrelease-0.1.9Igor Sysoev2-3/+3
*) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; the bug had appeared in 0.1.8.
2004-11-20nginx-0.1.8-RELEASE importrelease-0.1.8Igor Sysoev1-36/+42
*) Bugfix: in the ngx_http_autoindex_module if the long file names were in the listing. *) Feature: the "^~" modifier in the location directive. *) Feature: the proxy_max_temp_file_size directive.
2004-11-11nginx-0.1.5-RELEASE importrelease-0.1.5Igor Sysoev1-2/+2
*) Bugfix: on Solaris and Linux there may be too many "recvmsg() returned not enough data" alerts. *) Bugfix: there were the "writev() failed (22: Invalid argument)" errors on Solaris in proxy mode without sendfile. On other platforms that do not support sendfile at all the process got caught in an endless loop. *) Bugfix: segmentation fault on Solaris in proxy mode and using sendfile. *) Bugfix: segmentation fault on Solaris. *) Bugfix: on-line upgrade did not work on Linux. *) Bugfix: the ngx_http_autoindex_module module did not escape the spaces, the quotes, and the percent signs in the directory listing. *) Change: the decrease of the copy operations. *) Feature: the userid_p3p directive.
2004-10-21nginx-0.1.2-RELEASE importrelease-0.1.2Igor Sysoev2-41/+22
*) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS options in configure. *) Feature: the server_name directive supports *.domain.tld. *) Bugfix: the portability improvements. *) Bugfix: if configuration file was set in command line, the reconfiguration was impossible; the bug had appeared in 0.1.1. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. *) Bugfix: with sendfile the response was not recoded according to the charset module directives; the bug had appeared in 0.1.1. *) Bugfix: very seldom bug in the kqueue processing. *) Bugfix: the gzip module compressed the proxied responses that was already compressed.
2004-09-29nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyrightIgor Sysoev5-0/+15
2004-04-18nginx-0.0.3-2004-04-18-23:06:02 importIgor Sysoev1-0/+4
2004-04-09nginx-0.0.3-2004-04-09-20:03:04 importIgor Sysoev1-2/+3
2004-04-08nginx-0.0.3-2004-04-08-19:58:25 importIgor Sysoev1-8/+22
2004-04-04nginx-0.0.3-2004-04-05-00:32:09 importIgor Sysoev1-1/+2
2004-03-29nginx-0.0.3-2004-03-29-21:43:58 importIgor Sysoev3-16/+38
2004-03-25nginx-0.0.3-2004-03-25-23:03:02 importIgor Sysoev2-3/+3