Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-15 18:45:51 +0400
committerIgor Sysoev <igor@sysoev.ru>2007-07-15 18:45:51 +0400
commitd3f7b53c45dc09fb8b5831635edd0ff24ffca318 (patch)
tree89a4fac6188f820a1a54a577b5987775c731ae92 /auto/lib/pcre
parentae004c059255a6bf60862b436be1f0c5bd43cfff (diff)
Solaris compatibility
Diffstat (limited to 'auto/lib/pcre')
-rw-r--r--auto/lib/pcre/conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/lib/pcre/conf b/auto/lib/pcre/conf
index f0666ae71..667a16a1d 100644
--- a/auto/lib/pcre/conf
+++ b/auto/lib/pcre/conf
@@ -25,11 +25,11 @@ if [ $PCRE != NONE ]; then
echo $ngx_n "checking for PCRE library ...$ngx_c"
- if [ -e $PCRE/pcre.h ]; then
+ if [ -f $PCRE/pcre.h ]; then
ngx_pcre_ver=`grep PCRE_MAJOR $PCRE/pcre.h \
| sed -e 's/^.*PCRE_MAJOR.* \(.*\)$/\1/'`
- else if [ -e $PCRE/configure.in.h ]; then
+ else if [ -f $PCRE/configure.in.h ]; then
ngx_pcre_ver=`grep PCRE_MAJOR= $PCRE/configure.in \
| sed -e 's/^.*=\(.*\)$/\1/'`