view auto/lib/conf @ 212:679f60139863

nginx-0.0.1-2003-12-19-11:15:11 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 19 Dec 2003 08:15:11 +0000
parents 00cafae0bdf1
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