summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/pcre/conf (follow)
AgeCommit message (Collapse)AuthorFilesLines
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 Dounin1-17/+90
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 Dounin1-2/+2
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 Dounin1-0/+5
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.
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 Konovalov1-0/+1
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 Bartenev1-4/+19
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
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-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-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 Sysoev1-4/+23
*) 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-02-22nginx-0.1.21-RELEASE importrelease-0.1.21Igor Sysoev1-1/+1
*) 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 Sysoev1-2/+2
*) 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-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 Sysoev1-38/+19
*) 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 Sysoev1-0/+3
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 Sysoev1-11/+2
2004-03-25nginx-0.0.3-2004-03-25-23:03:02 importIgor Sysoev1-1/+1
2004-03-14nginx-0.0.2-2004-03-14-23:46:25 importIgor Sysoev1-2/+17
2004-03-11nginx-0.0.2-2004-03-12-00:34:52 importIgor Sysoev1-2/+2
2004-03-09nginx-0.0.2-2004-03-09-22:47:07 importIgor Sysoev1-23/+40
2004-02-19nginx-0.0.2-2004-02-19-11:45:27 importIgor Sysoev1-3/+5
2004-02-09nginx-0.0.2-2004-02-09-23:47:18 importIgor Sysoev1-0/+38