view auto/lib/conf @ 242:5d4f49dc8de5

nginx-0.0.1-2004-01-28-18:22:37 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 28 Jan 2004 15:22:37 +0000
parents 679f60139863
children e6938ca7331a
line wrap: on
line source


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