diff --git a/auto/lib/pcre/conf b/auto/lib/pcre/conf index c966a284f..3789ad14b 100644 --- a/auto/lib/pcre/conf +++ b/auto/lib/pcre/conf @@ -29,7 +29,7 @@ if [ $PCRE != NONE ]; then ngx_pcre_ver=`grep PCRE_MAJOR $PCRE/pcre.h \ | sed -e 's/^.*PCRE_MAJOR.* \(.*\)$/\1/'` - else if [ -f $PCRE/configure.in.h ]; then + else if [ -f $PCRE/configure.in ]; then ngx_pcre_ver=`grep PCRE_MAJOR= $PCRE/configure.in \ | sed -e 's/^.*=\(.*\)$/\1/'`