Mercurial > hg > nginx-quic
comparison auto/lib/pcre/conf @ 307:ce375c313e96
nginx-0.0.3-2004-04-08-19:58:25 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 08 Apr 2004 15:58:25 +0000 |
parents | 6b91bfbc4123 |
children | 2e899477243a |
comparison
equal
deleted
inserted
replaced
306:6b91bfbc4123 | 307:ce375c313e96 |
---|---|
38 esac | 38 esac |
39 | 39 |
40 else | 40 else |
41 | 41 |
42 if [ $PLATFORM != win32 ]; then | 42 if [ $PLATFORM != win32 ]; then |
43 ngx_lib_inc="#include <pcre.h>" | 43 PCRE=NO |
44 | 44 |
45 ngx_lib="PCRE" | 45 ngx_lib_inc="#include <pcre.h>" |
46 ngx_lib_test="pcre *re; pcre_compile(re, 0, NULL, 0, NULL)" | 46 ngx_lib="PCRE library" |
47 ngx_libs=-lpcre | 47 ngx_lib_test="pcre *re; pcre_compile(re, 0, NULL, 0, NULL)" |
48 . auto/lib/test | 48 ngx_libs=-lpcre |
49 . auto/lib/test | |
49 | 50 |
50 | 51 |
51 if [ $ngx_found = yes ]; then | 52 if [ $ngx_found = yes ]; then |
52 have=HAVE_PCRE . auto/have | 53 have=HAVE_PCRE . auto/have |
53 | |
54 CORE_DEPS="$CORE_DEPS $REGEX_DEPS" | 54 CORE_DEPS="$CORE_DEPS $REGEX_DEPS" |
55 CORE_SRCS="$CORE_SRCS $REGEX_SRCS" | 55 CORE_SRCS="$CORE_SRCS $REGEX_SRCS" |
56 CORE_LIBS="$CORE_LIBS $ngx_libs" | 56 CORE_LIBS="$CORE_LIBS $ngx_libs" |
57 PCRE=YES | |
57 | 58 |
59 else | |
60 # FreeBSD PCRE port. | |
61 | |
62 ngx_lib="PCRE library in /usr/local/" | |
63 ngx_lib_cflags="-I /usr/local/include" | |
64 . auto/lib/test | |
65 fi | |
66 | |
67 | |
68 if [ $ngx_found = yes ]; then | |
69 have=HAVE_PCRE . auto/have | |
70 CORE_DEPS="$CORE_DEPS $REGEX_DEPS" | |
71 CORE_INCS="$CORE_INCS /usr/local/include" | |
72 CORE_SRCS="$CORE_SRCS $REGEX_SRCS" | |
73 CORE_LIBS="$CORE_LIBS $ngx_libs" | |
58 PCRE=YES | 74 PCRE=YES |
59 else | |
60 PCRE=NO | |
61 fi | 75 fi |
62 fi | 76 fi |
63 | 77 |
64 fi | 78 fi |