comparison auto/lib/pcre/conf @ 309:2e899477243a

nginx-0.0.3-2004-04-09-20:03:04 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 09 Apr 2004 16:03:04 +0000
parents ce375c313e96
children d621239c30f7
comparison
equal deleted inserted replaced
308:7a0dbd779c6d 309:2e899477243a
42 if [ $PLATFORM != win32 ]; then 42 if [ $PLATFORM != win32 ]; then
43 PCRE=NO 43 PCRE=NO
44 44
45 ngx_lib_inc="#include <pcre.h>" 45 ngx_lib_inc="#include <pcre.h>"
46 ngx_lib="PCRE library" 46 ngx_lib="PCRE library"
47 ngx_lib_test="pcre *re; pcre_compile(re, 0, NULL, 0, NULL)" 47 ngx_lib_test="pcre *re; re = pcre_compile(NULL, 0, NULL, 0, NULL)"
48 ngx_libs=-lpcre 48 ngx_libs="-lpcre"
49 . auto/lib/test 49 . auto/lib/test
50 50
51 51
52 if [ $ngx_found = yes ]; then 52 if [ $ngx_found = yes ]; then
53 have=HAVE_PCRE . auto/have 53 have=HAVE_PCRE . auto/have
59 else 59 else
60 # FreeBSD PCRE port. 60 # FreeBSD PCRE port.
61 61
62 ngx_lib="PCRE library in /usr/local/" 62 ngx_lib="PCRE library in /usr/local/"
63 ngx_lib_cflags="-I /usr/local/include" 63 ngx_lib_cflags="-I /usr/local/include"
64 ngx_libs="-L /usr/local/lib -lpcre"
64 . auto/lib/test 65 . auto/lib/test
65 fi 66 fi
66 67
67 68
68 if [ $ngx_found = yes ]; then 69 if [ $ngx_found = yes ]; then