nginx-0.0.3-2004-04-05-00:32:09 import
diff --git a/auto/cc b/auto/cc
index b678651..7f00102 100644
--- a/auto/cc
+++ b/auto/cc
@@ -2,7 +2,7 @@
 case $CC in
 
     *gcc*)
-         # gcc 2.95.4, 3.3.2
+         # gcc 2.7.2.3, 2.95.4, 3.3.2, 3.4
 
          # optimization
          #CFLAGS="$CFLAGS -O2 -fomit-frame-pointer"
diff --git a/auto/lib/md5/conf b/auto/lib/md5/conf
index 40fd747..d5b2a0a 100644
--- a/auto/lib/md5/conf
+++ b/auto/lib/md5/conf
@@ -32,7 +32,8 @@
 
         *)
             LINK_DEPS="$LINK_DEPS $MD5/libmd5.a"
-            CORE_LIBS="$CORE_LIBS -L $MD5 -lmd5"
+            CORE_LIBS="$CORE_LIBS $MD5/libmd5.a"
+            #CORE_LIBS="$CORE_LIBS -L $MD5 -lmd5"
         ;;
 
     esac
diff --git a/auto/lib/pcre/conf b/auto/lib/pcre/conf
index 3f2c7a1..fa50c24 100644
--- a/auto/lib/pcre/conf
+++ b/auto/lib/pcre/conf
@@ -31,7 +31,8 @@
             have=HAVE_PCRE . auto/have
             CORE_DEPS="$CORE_DEPS $PCRE/pcre.h"
             LINK_DEPS="$LINK_DEPS $PCRE/.libs/libpcre.a"
-            CORE_LIBS="$CORE_LIBS -L $PCRE/.libs -lpcre"
+            CORE_LIBS="$CORE_LIBS $PCRE/.libs/libpcre.a"
+            #CORE_LIBS="$CORE_LIBS -L $PCRE/.libs -lpcre"
         ;;
 
     esac
diff --git a/auto/lib/zlib/conf b/auto/lib/zlib/conf
index 82cc5ed..7376abd 100644
--- a/auto/lib/zlib/conf
+++ b/auto/lib/zlib/conf
@@ -26,7 +26,8 @@
 
         *)
             LINK_DEPS="$LINK_DEPS $ZLIB/libz.a"
-            CORE_LIBS="$CORE_LIBS -L $ZLIB -lz"
+            CORE_LIBS="$CORE_LIBS $ZLIB/libz.a"
+            #CORE_LIBS="$CORE_LIBS -L $ZLIB -lz"
         ;;
 
     esac
diff --git a/auto/sources b/auto/sources
index 9aa9da0..eba6eb9 100644
--- a/auto/sources
+++ b/auto/sources
@@ -52,12 +52,14 @@
 
 EVENT_DEPS="src/event/ngx_event.h \
             src/event/ngx_event_timer.h \
+            src/event/ngx_event_posted.h \
             src/event/ngx_event_busy_lock.h \
             src/event/ngx_event_connect.h \
             src/event/ngx_event_pipe.h"
 
 EVENT_SRCS="src/event/ngx_event.c \
             src/event/ngx_event_timer.c \
+            src/event/ngx_event_posted.c \
             src/event/ngx_event_busy_lock.c \
             src/event/ngx_event_accept.c \
             src/event/ngx_event_connect.c \