Mercurial > hg > nginx
annotate docs/dtd/changes.dtd @ 4960:b39d947fcb82
Configure: better check for PCRE JIT.
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 12 Dec 2012 13:50:07 +0000 |
parents | 5e3bda6f5208 |
children | e79c7521aaf4 |
rev | line source |
---|---|
450 | 1 |
2 <!ENTITY nbsp " " > | |
547 | 3 <!ENTITY mdash " - " > |
450 | 4 |
5 | |
6 <!ELEMENT change_log (changes)* > | |
7 <!ATTLIST change_log title CDATA #REQUIRED > | |
8 | |
9 <!ELEMENT changes (change)* > | |
10 <!ATTLIST changes ver CDATA #REQUIRED | |
11 date CDATA #REQUIRED | |
12 > | |
13 | |
14 <!ELEMENT change (para)* > | |
4831
5e3bda6f5208
Pass changes.xml thru xmllint when generating CHANGES and CHANGES.ru.
Ruslan Ermilov <ru@nginx.com>
parents:
547
diff
changeset
|
15 <!ATTLIST change type (bugfix | feature | change | security | workaround) #IMPLIED > |
450 | 16 |
17 <!ELEMENT para (#PCDATA | at | br | nobr)* > | |
4831
5e3bda6f5208
Pass changes.xml thru xmllint when generating CHANGES and CHANGES.ru.
Ruslan Ermilov <ru@nginx.com>
parents:
547
diff
changeset
|
18 <!ATTLIST para lang (ru | en) #REQUIRED > |
450 | 19 |
20 <!ELEMENT at EMPTY > | |
21 <!ELEMENT br EMPTY > | |
22 <!ELEMENT nobr (#PCDATA) > |