comparison auto/lib/pcre/conf @ 1321:8eb4dfcb89a6

fix bug introduced by r1306
author Igor Sysoev <igor@sysoev.ru>
date Fri, 20 Jul 2007 18:33:44 +0000
parents 811fb97b9bf7
children 111c571f431c
comparison
equal deleted inserted replaced
1320:e30e9de091b7 1321:8eb4dfcb89a6
27 27
28 if [ -f $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 if [ -f $PCRE/configure.in.h ]; then 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 35
36 else 36 else
37 ngx_pcre_ver=`grep pcre_major, $PCRE/configure.ac \ 37 ngx_pcre_ver=`grep pcre_major, $PCRE/configure.ac \