nginx-0.0.2-2004-02-09-23:47:18 import
diff --git a/auto/lib/conf b/auto/lib/conf
index 0739a72..60a824f 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