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