mirror of
https://github.com/nginx/nginx.git
synced 2025-06-19 02:40:49 +08:00
icc/sunc and PCRE-7.1+ compatibility
This commit is contained in:
parent
8662b6bec5
commit
ae004c0592
@ -29,9 +29,14 @@ if [ $PCRE != NONE ]; then
|
|||||||
ngx_pcre_ver=`grep PCRE_MAJOR $PCRE/pcre.h \
|
ngx_pcre_ver=`grep PCRE_MAJOR $PCRE/pcre.h \
|
||||||
| sed -e 's/^.*PCRE_MAJOR.* \(.*\)$/\1/'`
|
| sed -e 's/^.*PCRE_MAJOR.* \(.*\)$/\1/'`
|
||||||
|
|
||||||
else
|
else if [ -e $PCRE/configure.in.h ]; then
|
||||||
ngx_pcre_ver=`grep PCRE_MAJOR= $PCRE/configure.in \
|
ngx_pcre_ver=`grep PCRE_MAJOR= $PCRE/configure.in \
|
||||||
| sed -e 's/^.*=\(.*\)$/\1/'`
|
| sed -e 's/^.*=\(.*\)$/\1/'`
|
||||||
|
|
||||||
|
else
|
||||||
|
ngx_pcre_ver=`grep pcre_major, $PCRE/configure.ac \
|
||||||
|
| sed -e 's/^.*pcre_major,.*\[\(.*\)\].*$/\1/'`
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " $ngx_pcre_ver major version found"
|
echo " $ngx_pcre_ver major version found"
|
||||||
|
Loading…
Reference in New Issue
Block a user