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