2004-03-02 09:40:59 -06:00
|
|
|
#!/bin/sh
|
2003-11-20 01:05:50 -06:00
|
|
|
|
2004-09-29 11:00:49 -05:00
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
|
|
|
2003-11-25 14:44:56 -06:00
|
|
|
. auto/options
|
|
|
|
. auto/init
|
|
|
|
. auto/sources
|
2003-11-21 00:30:49 -06:00
|
|
|
|
2004-02-10 10:23:38 -06:00
|
|
|
test -d $OBJS || mkdir $OBJS
|
2004-10-21 10:34:38 -05:00
|
|
|
|
|
|
|
echo > $NGX_AUTO_HEADERS_H
|
2004-02-02 15:19:52 -06:00
|
|
|
echo > $NGX_AUTO_CONFIG_H
|
|
|
|
|
2004-03-11 09:42:41 -06:00
|
|
|
if [ $DEBUG = YES ]; then
|
|
|
|
have=NGX_DEBUG . auto/have
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2004-02-09 01:46:43 -06:00
|
|
|
if [ "$PLATFORM" != win32 ]; then
|
|
|
|
. auto/headers
|
|
|
|
fi
|
|
|
|
|
2004-10-21 10:34:38 -05:00
|
|
|
. auto/cc/conf
|
2003-11-25 14:44:56 -06:00
|
|
|
. auto/os/conf
|
2004-02-02 15:19:52 -06:00
|
|
|
. auto/modules
|
2003-12-14 14:10:27 -06:00
|
|
|
. auto/lib/conf
|
2004-02-02 15:19:52 -06:00
|
|
|
|
2004-02-23 14:57:12 -06:00
|
|
|
if [ "$PLATFORM" != win32 ]; then
|
|
|
|
. auto/threads
|
|
|
|
fi
|
|
|
|
|
2003-11-25 14:44:56 -06:00
|
|
|
. auto/make
|
|
|
|
. auto/lib/make
|
2004-09-27 11:03:21 -05:00
|
|
|
. auto/install
|
2003-11-20 11:36:43 -06:00
|
|
|
|
2003-11-25 14:44:56 -06:00
|
|
|
if [ "$PLATFORM" != win32 ]; then
|
|
|
|
. auto/unix
|
|
|
|
fi
|
2003-12-14 14:10:27 -06:00
|
|
|
|
2004-10-21 10:34:38 -05:00
|
|
|
# STUB
|
|
|
|
. auto/stubs
|
2004-02-23 14:57:12 -06:00
|
|
|
|
2004-05-18 15:28:54 -05:00
|
|
|
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
|
2004-09-30 10:30:54 -05:00
|
|
|
if [ ".$ERROR_LOG_PATH" != "." ]; then
|
2004-09-29 11:00:49 -05:00
|
|
|
have=NGX_ERROR_LOG_PATH value="\"$ERROR_LOG_PATH\"" . auto/define
|
|
|
|
fi
|
2004-05-18 15:28:54 -05:00
|
|
|
have=NGX_HTTP_LOG_PATH value="\"$HTTP_LOG_PATH\"" . auto/define
|
|
|
|
|
2004-10-21 10:34:38 -05:00
|
|
|
have=NGX_USER value="\"$NGX_USER\"" . auto/define
|
|
|
|
have=NGX_GROUP value="\"$NGX_GROUP\"" . auto/define
|
|
|
|
|
2003-12-14 14:10:27 -06:00
|
|
|
. auto/summary
|