From 83a7a2e567c363700e15bdf309232229b0dbf516 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 1 Mar 2004 16:45:48 +0000 Subject: [PATCH] nginx-0.0.2-2004-03-01-19:45:48 import --- auto/lib/md5/make | 24 ++++++++++++++++++++++++ src/event/ngx_event_mutex.c | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 auto/lib/md5/make diff --git a/auto/lib/md5/make b/auto/lib/md5/make new file mode 100644 index 000000000..0b4d92773 --- /dev/null +++ b/auto/lib/md5/make @@ -0,0 +1,24 @@ + +echo "$MD5/libmd5.a:" >> $MAKEFILE + +case $PLATFORM in + + SunOS:*:i386) + echo " cd $MD5 && \$(MAKE) x86-solaris" >> $MAKEFILE + ;; + + *:i386) + echo " cd $MD5 && \$(MAKE) x86-elf" >> $MAKEFILE + ;; + + *) + if [ $CC = gcc ]; then + echo " cd $MD5 && \$(MAKE) gcc" >> $MAKEFILE + else + echo " cd $MD5 && \$(MAKE) cc" >> $MAKEFILE + fi + ;; + +esac + +echo >> $MAKEFILE diff --git a/src/event/ngx_event_mutex.c b/src/event/ngx_event_mutex.c index 9f1868f78..4f83e4865 100644 --- a/src/event/ngx_event_mutex.c +++ b/src/event/ngx_event_mutex.c @@ -22,7 +22,7 @@ ngx_int_t ngx_event_mutex_timedlock(ngx_event_mutex_t *m, ngx_msec_t timer, m->last = ev; ev->next = NULL; -#if (NGX_THREADS) +#if (NGX_THREADS0) ev->light = 1; #endif