Skip to content

Commit

Permalink
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsysoev committed Sep 29, 2004
1 parent 55168f6 commit ff8da91
Show file tree
Hide file tree
Showing 250 changed files with 406 additions and 273 deletions.
9 changes: 9 additions & 0 deletions auto/cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


CFLAGS="$CFLAGS $CC_OPT"

case $CC in
Expand All @@ -25,6 +28,12 @@ case $CC in
# optimize for Pentium 4, gcc 3.x
CPU_OPT="-march=pentium4"
;;

sparc64)
# build 64-bit binary, sparcv9 only
CPU_OPT="-m64"
;;

esac

# STUB for batch builds
Expand Down
7 changes: 6 additions & 1 deletion auto/configure
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# Copyright (C) Igor Sysoev


. auto/options
. auto/init
. auto/sources
Expand Down Expand Up @@ -43,7 +46,9 @@ have=NGX_PREFIX value="\"$PREFIX/\"" . auto/define
have=NGX_SBIN_PATH value="\"$SBIN_PATH\"" . auto/define
have=NGX_CONF_PATH value="\"$CONF_PATH\"" . auto/define
have=NGX_PID_PATH value="\"$PID_PATH\"" . auto/define
have=NGX_ERROR_LOG_PATH value="\"$ERROR_LOG_PATH\"" . auto/define
if [ ".$NGX_ERROR_LOG_PATH" != "." ]; then
have=NGX_ERROR_LOG_PATH value="\"$ERROR_LOG_PATH\"" . auto/define
fi
have=NGX_HTTP_LOG_PATH value="\"$HTTP_LOG_PATH\"" . auto/define

. auto/summary
3 changes: 3 additions & 0 deletions auto/define
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


cat << END >> $NGX_AUTO_CONFIG_H

#ifndef $have
Expand Down
3 changes: 3 additions & 0 deletions auto/endianess
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


echo $ngx_n "checking for system endianess ..." $ngx_c
echo >> $NGX_ERR
echo "checking for system endianess" >> $NGX_ERR
Expand Down
3 changes: 3 additions & 0 deletions auto/feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


echo $ngx_n "checking for $ngx_feature ..." $ngx_c
echo >> $NGX_ERR
echo "checking for $ngx_feature" >> $NGX_ERR
Expand Down
3 changes: 3 additions & 0 deletions auto/fmt/fmt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


echo $ngx_n "checking for $ngx_type printf() format ..." $ngx_c
echo >> $NGX_ERR
echo "checking for $ngx_type printf() format" >> $NGX_ERR
Expand Down
3 changes: 3 additions & 0 deletions auto/fmt/ptrfmt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


echo $ngx_n "checking for $ngx_type printf() format ..." $ngx_c
echo >> $NGX_ERR
echo "checking for $ngx_type printf() format" >> $NGX_ERR
Expand Down
3 changes: 3 additions & 0 deletions auto/fmt/xfmt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


cat << END | sed -e 's/d"$/x"/' >> $NGX_AUTO_CONFIG_H

#ifndef $ngx_fmt_name
Expand Down
3 changes: 3 additions & 0 deletions auto/func
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


echo $ngx_n "checking for $ngx_func ..." $ngx_c
echo >> $NGX_ERR
echo "checking for $ngx_func" >> $NGX_ERR
Expand Down
3 changes: 3 additions & 0 deletions auto/have
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


cat << END >> $NGX_AUTO_CONFIG_H

#ifndef $have
Expand Down
3 changes: 3 additions & 0 deletions auto/headers
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

# Copyright (C) Igor Sysoev


ngx_inc="unistd.h"; . auto/inc
ngx_inc="inttypes.h"; . auto/inc
3 changes: 3 additions & 0 deletions auto/inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


echo $ngx_n "checking for $ngx_inc ..." $ngx_c
echo >> $NGX_ERR
echo "checking for $ngx_inc" >> $NGX_ERR
Expand Down
3 changes: 3 additions & 0 deletions auto/init
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


MAKEFILE=$OBJS/Makefile

NGX_AUTO_CONFIG_H=$OBJS/ngx_auto_config.h
Expand Down
14 changes: 13 additions & 1 deletion auto/install
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


cat << END >> $MAKEFILE
install:
test -d $PREFIX || mkdir -p $PREFIX
Expand All @@ -18,7 +21,7 @@ install:
cp conf/nginx.conf `dirname $CONF_PATH`/nginx.conf.default

test -d `dirname $PID_PATH` || mkdir -p `dirname $PID_PATH`
test -d `dirname $ERROR_LOG_PATH` || mkdir -p `dirname $ERROR_LOG_PATH`

test -d `dirname $HTTP_LOG_PATH` || mkdir -p `dirname $HTTP_LOG_PATH`

test -d $PREFIX/html || cp -r html $PREFIX
Expand All @@ -27,6 +30,15 @@ install:
END


if [ ".$ERROR_LOG_PATH" != "." ]; then
cat << END >> $MAKEFILE

test -d `dirname $ERROR_LOG_PATH` || mkdir -p `dirname $ERROR_LOG_PATH`
END

fi


if test ! -f Makefile; then

cat << END > Makefile
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


if [ $USE_PCRE = YES ]; then
. auto/lib/pcre/conf
fi
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/make
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


if [ $PCRE != NONE -a $PCRE != NO -a $PCRE != YES ]; then
. auto/lib/pcre/make
fi
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/md5/conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


if [ $MD5 != NONE ]; then

if grep MD5_Init $MD5/md5.h >/dev/null; then
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/md5/make
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


case "$CC" in

cl)
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/md5/makefile.bcc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


CFLAGS = -q -O2 -tWM $(CPU_OPT) -DL_ENDIAN

!if "$(MD5_ASM)" == "YES"
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/md5/makefile.msvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


CFLAGS = -nologo -MT -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT) -D L_ENDIAN

!if "$(MD5_ASM)" == "YES"
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/md5/makefile.owc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


CFLAGS = -zq -bt=nt -bm -ot -op -oi -oe -s $(CPU_OPT)

md5.lib:
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/openssl/conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


if [ $OPENSSL != NONE ]; then
CORE_INCS="$CORE_INCS $OPENSSL/include"
CORE_DEPS="$CORE_DEPS $OPENSSL_DEPS"
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/openssl/make
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


case $PLATFORM in
*)
echo "$OPENSSL/libssl.a:" >> $MAKEFILE
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/pcre/conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


if [ $PCRE != NONE ]; then
CORE_INCS="$CORE_INCS $PCRE"
CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/pcre/make
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


case "$CC" in

cl)
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/pcre/makefile.bcc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


CFLAGS = -q -O2 -tWM $(CPU_OPT)
PCREFLAGS = -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10

Expand Down
3 changes: 3 additions & 0 deletions auto/lib/pcre/makefile.msvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


CFLAGS = -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT)
PCREFLAGS = -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10

Expand Down
3 changes: 3 additions & 0 deletions auto/lib/pcre/makefile.owc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


CFLAGS = -c -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT)
PCREFLAGS = -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10

Expand Down
3 changes: 3 additions & 0 deletions auto/lib/test
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


echo $ngx_n "checking for $ngx_lib ..." $ngx_c
echo >> $NGX_ERR
echo "checking for $ngx_lib library" >> $NGX_ERR
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/zlib/conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


if [ $ZLIB != NONE ]; then
CORE_INCS="$CORE_INCS $ZLIB"

Expand Down
3 changes: 3 additions & 0 deletions auto/lib/zlib/make
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


case "$CC" in

cl)
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/zlib/makefile.bcc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


CFLAGS = -q -O2 -tWM $(CPU_OPT)

zlib.lib:
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/zlib/makefile.msvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


CFLAGS = -nologo -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT)

zlib.lib:
Expand Down
3 changes: 3 additions & 0 deletions auto/lib/zlib/makefile.owc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


CFLAGS = -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT)

zlib.lib:
Expand Down
3 changes: 3 additions & 0 deletions auto/make
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


mkdir -p $OBJS/src/core $OBJS/src/event $OBJS/src/event/modules \
$OBJS/src/os/unix $OBJS/src/os/win32 \
$OBJS/src/http $OBJS/src/http/modules $OBJS/src/http/modules/proxy \
Expand Down
3 changes: 3 additions & 0 deletions auto/modules
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


if [ $EVENT_SELECT = NO -a $EVENT_FOUND = NO ]; then
EVENT_SELECT=YES
fi
Expand Down
3 changes: 3 additions & 0 deletions auto/nohave
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


cat << END >> $NGX_AUTO_CONFIG_H

#ifndef $have
Expand Down
6 changes: 6 additions & 0 deletions auto/options
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

# Copyright (C) Igor Sysoev

help=no

PREFIX=
Expand Down Expand Up @@ -234,6 +236,10 @@ case ".$ERROR_LOG_PATH" in
ERROR_LOG_PATH=$PREFIX/logs/error.log
;;

.stderr)
ERROR_LOG_PATH=
;;

*)
ERROR_LOG_PATH=$PREFIX/$ERROR_LOG_PATH
;;
Expand Down
3 changes: 3 additions & 0 deletions auto/os/conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Copyright (C) Igor Sysoev


if [ ".$PLATFORM" = "." ]; then
echo "checking for OS"

Expand Down
Loading

0 comments on commit ff8da91

Please sign in to comment.