2004-03-02 23:40:59 +08:00
|
|
|
#!/bin/sh
|
2003-11-20 15:05:50 +08:00
|
|
|
|
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-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
|
|
|
|
|
|
|
|
have=NGX_USE_HTTP_FILE_CACHE_UNIQ . auto/have
|
|
|
|
have=NGX_SUPPRESS_WARN . auto/have
|
|
|
|
|
|
|
|
|
2004-02-09 15:46:43 +08:00
|
|
|
if [ "$PLATFORM" != win32 ]; then
|
|
|
|
. auto/headers
|
|
|
|
fi
|
|
|
|
|
2003-11-26 04:44:56 +08:00
|
|
|
. auto/os/conf
|
2004-02-03 05:19:52 +08:00
|
|
|
. auto/modules
|
2003-11-21 01:36:43 +08:00
|
|
|
|
2003-11-26 04:44:56 +08:00
|
|
|
. auto/cc
|
2003-12-15 04:10:27 +08:00
|
|
|
. auto/lib/conf
|
2004-02-03 05:19:52 +08:00
|
|
|
|
2004-02-24 04:57:12 +08:00
|
|
|
if [ "$PLATFORM" != win32 ]; then
|
|
|
|
. auto/threads
|
|
|
|
fi
|
|
|
|
|
2003-11-26 04:44:56 +08:00
|
|
|
. auto/make
|
|
|
|
. auto/lib/make
|
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-04-02 00:20:53 +08:00
|
|
|
have=NGX_SMP . auto/have
|
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
|
|
|
|
have=NGX_ERROR_LOG_PATH value="\"$ERROR_LOG_PATH\"" . auto/define
|
|
|
|
have=NGX_HTTP_LOG_PATH value="\"$HTTP_LOG_PATH\"" . auto/define
|
|
|
|
|
2003-12-15 04:10:27 +08:00
|
|
|
. auto/summary
|