mirror of
https://github.com/nginx/nginx.git
synced 2024-12-11 09:49:02 +08:00
28 lines
604 B
Plaintext
28 lines
604 B
Plaintext
|
|
if [ $PCRE != NO ]; then
|
|
|
|
CORE_INCS="$CORE_INCS -I $PCRE"
|
|
CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
|
|
CORE_SRCS="$CORE_SRCS $REGEX_SRCS"
|
|
|
|
if [ "$PLATFORM" = "win32" ]; then
|
|
CFLAGS="$CFLAGS -D PCRE_STATIC -D HAVE_PCRE=1"
|
|
CORE_LIBS="$CORE_LIBS pcre.lib"
|
|
CORE_LINK="$CORE_LINK -libpath:$PCRE"
|
|
else
|
|
CFLAGS="$CFLAGS -D HAVE_PCRE=1"
|
|
CORE_DEPS="$CORE_DEPS $PCRE/.libs/libpcre.a"
|
|
CORE_LIBS="$CORE_LIBS -L $PCRE/.libs -lpcre"
|
|
fi
|
|
fi
|
|
|
|
|
|
if [ $USE_MD5 = YES ]; then
|
|
. auto/lib/md5/conf
|
|
fi
|
|
|
|
|
|
if [ $USE_ZLIB = YES ]; then
|
|
. auto/lib/zlib/conf
|
|
fi
|