Mercurial > hg > nginx
comparison auto/lib/pcre/conf @ 263:43c26e85205a
nginx-0.0.2-2004-02-19-11:45:27 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 19 Feb 2004 08:45:27 +0000 |
parents | e6938ca7331a |
children | 30310107dbc9 |
comparison
equal
deleted
inserted
replaced
262:8c5bdde0d9f0 | 263:43c26e85205a |
---|---|
3 CORE_INCS="$CORE_INCS -I $PCRE" | 3 CORE_INCS="$CORE_INCS -I $PCRE" |
4 CORE_DEPS="$CORE_DEPS $REGEX_DEPS" | 4 CORE_DEPS="$CORE_DEPS $REGEX_DEPS" |
5 CORE_SRCS="$CORE_SRCS $REGEX_SRCS" | 5 CORE_SRCS="$CORE_SRCS $REGEX_SRCS" |
6 | 6 |
7 if [ "$PLATFORM" = "win32" ]; then | 7 if [ "$PLATFORM" = "win32" ]; then |
8 #CFLAGS="$CFLAGS -D PCRE_STATIC -D HAVE_PCRE=1" | |
9 have=HAVE_PCRE . auto/have | 8 have=HAVE_PCRE . auto/have |
10 have=PCRE_STATIC . auto/have | 9 have=PCRE_STATIC . auto/have |
11 | |
12 CORE_LIBS="$CORE_LIBS pcre.lib" | 10 CORE_LIBS="$CORE_LIBS pcre.lib" |
13 CORE_LINK="$CORE_LINK -libpath:$PCRE" | 11 CORE_LINK="$CORE_LINK -libpath:$PCRE" |
14 else | 12 else |
15 #CFLAGS="$CFLAGS -D HAVE_PCRE=1" | |
16 have=HAVE_PCRE . auto/have | 13 have=HAVE_PCRE . auto/have |
17 CORE_DEPS="$CORE_DEPS $PCRE/.libs/libpcre.a" | 14 CORE_DEPS="$CORE_DEPS $PCRE/.libs/libpcre.a" |
18 CORE_LIBS="$CORE_LIBS -L $PCRE/.libs -lpcre" | 15 CORE_LIBS="$CORE_LIBS -L $PCRE/.libs -lpcre" |
19 fi | 16 fi |
20 | 17 |
27 ngx_libs=-lpcre | 24 ngx_libs=-lpcre |
28 . auto/lib/test | 25 . auto/lib/test |
29 | 26 |
30 | 27 |
31 if [ $ngx_found = yes ]; then | 28 if [ $ngx_found = yes ]; then |
29 have=HAVE_PCRE . auto/have | |
30 | |
31 CORE_DEPS="$CORE_DEPS $REGEX_DEPS" | |
32 CORE_SRCS="$CORE_SRCS $REGEX_SRCS" | |
32 CORE_LIBS="$CORE_LIBS $ngx_libs" | 33 CORE_LIBS="$CORE_LIBS $ngx_libs" |
34 | |
33 PCRE=YES | 35 PCRE=YES |
34 else | 36 else |
35 PCRE=NO | 37 PCRE=NO |
36 fi | 38 fi |
37 | 39 |