diff options
Diffstat (limited to 'auto/lib/conf')
| -rw-r--r-- | auto/lib/conf | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/auto/lib/conf b/auto/lib/conf index 0739a72d4..60a824f9e 100644 --- a/auto/lib/conf +++ b/auto/lib/conf @@ -1,19 +1,6 @@ -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 +if [ $USE_PCRE = YES ]; then + . auto/lib/pcre/conf fi |
