Mercurial > hg > nginx-vendor-0-5
comparison auto/lib/pcre/conf @ 318:3021f899881a NGINX_0_5_29
nginx 0.5.29
*) Feature: $nginx_version variable.
Thanks to Nick S. Grechukh.
*) Bugfix: if the FastCGI header was split in records, then nginx
passed garbage in the header to a client.
*) Bugfix: Sun Studio compatibility on Solaris/amd64 and
Solaris/sparc64.
Thanks to Jiang Hong and Andrei Nigmatulin.
*) Bugfix: of minor potential bugs.
Thanks to Coverity's Scan.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Jul 2007 00:00:00 +0400 |
parents | 675a39fd14cd |
children | f70f2f565fe0 |
comparison
equal
deleted
inserted
replaced
317:c012154f05d1 | 318:3021f899881a |
---|---|
15 CORE_DEPS="$CORE_DEPS $PCRE/pcre.h" | 15 CORE_DEPS="$CORE_DEPS $PCRE/pcre.h" |
16 LINK_DEPS="$LINK_DEPS $PCRE/pcre.lib" | 16 LINK_DEPS="$LINK_DEPS $PCRE/pcre.lib" |
17 CORE_LIBS="$CORE_LIBS $PCRE/pcre.lib" | 17 CORE_LIBS="$CORE_LIBS $PCRE/pcre.lib" |
18 ;; | 18 ;; |
19 | 19 |
20 icc* | sunc ) | 20 icc* ) |
21 have=NGX_PCRE . auto/have | 21 have=NGX_PCRE . auto/have |
22 CORE_DEPS="$CORE_DEPS $PCRE/pcre.h" | 22 CORE_DEPS="$CORE_DEPS $PCRE/pcre.h" |
23 | 23 |
24 LINK_DEPS="$LINK_DEPS $PCRE/.libs/libpcre.a" | 24 LINK_DEPS="$LINK_DEPS $PCRE/.libs/libpcre.a" |
25 | 25 |
26 echo $ngx_n "checking for PCRE library ...$ngx_c" | 26 echo $ngx_n "checking for PCRE library ...$ngx_c" |
27 | 27 |
28 if [ -e $PCRE/pcre.h ]; then | 28 if [ -f $PCRE/pcre.h ]; then |
29 ngx_pcre_ver=`grep PCRE_MAJOR $PCRE/pcre.h \ | 29 ngx_pcre_ver=`grep PCRE_MAJOR $PCRE/pcre.h \ |
30 | sed -e 's/^.*PCRE_MAJOR.* \(.*\)$/\1/'` | 30 | sed -e 's/^.*PCRE_MAJOR.* \(.*\)$/\1/'` |
31 | 31 |
32 else | 32 else if [ -f $PCRE/configure.in ]; then |
33 ngx_pcre_ver=`grep PCRE_MAJOR= $PCRE/configure.in \ | 33 ngx_pcre_ver=`grep PCRE_MAJOR= $PCRE/configure.in \ |
34 | sed -e 's/^.*=\(.*\)$/\1/'` | 34 | sed -e 's/^.*=\(.*\)$/\1/'` |
35 | |
36 else | |
37 ngx_pcre_ver=`grep pcre_major, $PCRE/configure.ac \ | |
38 | sed -e 's/^.*pcre_major,.*\[\(.*\)\].*$/\1/'` | |
39 fi | |
35 fi | 40 fi |
36 | 41 |
37 echo " $ngx_pcre_ver major version found" | 42 echo " $ngx_pcre_ver major version found" |
38 | 43 |
39 # to allow -ipo optimization we link with the *.o but not library | 44 # to allow -ipo optimization we link with the *.o but not library |