nginx/auto/lib/conf

28 lines
604 B
Plaintext
Raw Normal View History

2003-12-15 04:10:27 +08:00
if [ $PCRE != NO ]; then
CORE_INCS="$CORE_INCS -I $PCRE"
2003-12-19 16:15:11 +08:00
CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
CORE_SRCS="$CORE_SRCS $REGEX_SRCS"
2003-12-15 04:10:27 +08:00
if [ "$PLATFORM" = "win32" ]; then
2003-12-19 16:15:11 +08:00
CFLAGS="$CFLAGS -D PCRE_STATIC -D HAVE_PCRE=1"
2003-12-15 04:10:27 +08:00
CORE_LIBS="$CORE_LIBS pcre.lib"
CORE_LINK="$CORE_LINK -libpath:$PCRE"
else
2003-12-19 16:15:11 +08:00
CFLAGS="$CFLAGS -D HAVE_PCRE=1"
2003-12-15 04:10:27 +08:00
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