comparison auto/lib/pcre/conf @ 320:95183808f549 NGINX_0_6_4

nginx 0.6.4 *) Security: the "msie_refresh" directive allowed XSS. Thanks to Maxim Boguk. *) Change: the "proxy_store" and "fastcgi_store" directives were changed. *) Feature: the "proxy_store_access" and "fastcgi_store_access" directives. *) Bugfix: nginx did not work on Solaris/sparc64 if it was built by Sun Studio. Thanks to Andrei Nigmatulin. *) Workaround: for Sun Studio 12. Thanks to Jiang Hong.
author Igor Sysoev <http://sysoev.ru>
date Tue, 17 Jul 2007 00:00:00 +0400
parents 675a39fd14cd
children d16d691432c9
comparison
equal deleted inserted replaced
319:6ccd0af7f704 320:95183808f549
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.h ]; 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