blob: d5cc7e032b86a779510f0a9c3588b66515046f0d [file] [log] [blame]
Igor Sysoevea0b1d92004-03-02 15:40:59 +00001#!/bin/sh
Igor Sysoevbb6ec8c2003-11-20 07:05:50 +00002
Igor Sysoevff8da912004-09-29 16:00:49 +00003# Copyright (C) Igor Sysoev
4
5
Igor Sysoeva8fa0a62003-11-25 20:44:56 +00006. auto/options
7. auto/init
8. auto/sources
Igor Sysoevbb6ec8c2003-11-20 07:05:50 +00009
Igor Sysoevc7a2f682004-02-10 16:23:38 +000010test -d $OBJS || mkdir $OBJS
Igor Sysoevc0edbcc2004-10-21 15:34:38 +000011
12echo > $NGX_AUTO_HEADERS_H
Igor Sysoeva4b16df2004-02-02 21:19:52 +000013echo > $NGX_AUTO_CONFIG_H
Igor Sysoevd43bee82004-11-20 19:52:20 +000014echo > $NGX_AUTOCONF_ERR
15
Igor Sysoeva4b16df2004-02-02 21:19:52 +000016
Igor Sysoev6bb889f2004-03-11 15:42:41 +000017if [ $DEBUG = YES ]; then
18 have=NGX_DEBUG . auto/have
19fi
20
Igor Sysoev6bb889f2004-03-11 15:42:41 +000021
Igor Sysoev7af6b162004-02-09 07:46:43 +000022if [ "$PLATFORM" != win32 ]; then
23 . auto/headers
24fi
25
Igor Sysoevc0edbcc2004-10-21 15:34:38 +000026. auto/cc/conf
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000027. auto/os/conf
Igor Sysoeva4b16df2004-02-02 21:19:52 +000028
Igor Sysoevb54698b2004-02-23 20:57:12 +000029if [ "$PLATFORM" != win32 ]; then
30 . auto/threads
31fi
32
Igor Sysoev723e6cc2004-10-25 15:29:23 +000033. auto/modules
34. auto/lib/conf
35
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000036. auto/make
37. auto/lib/make
Igor Sysoev6d2a14a2004-09-27 16:03:21 +000038. auto/install
Igor Sysoevd9d0ca12003-11-21 06:30:49 +000039
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000040if [ "$PLATFORM" != win32 ]; then
41 . auto/unix
42fi
Igor Sysoevdc867cd2003-12-14 20:10:27 +000043
Igor Sysoevc0edbcc2004-10-21 15:34:38 +000044# STUB
45. auto/stubs
Igor Sysoevb54698b2004-02-23 20:57:12 +000046
Igor Sysoev090849d2004-05-18 20:28:54 +000047have=NGX_PREFIX value="\"$PREFIX/\"" . auto/define
48have=NGX_SBIN_PATH value="\"$SBIN_PATH\"" . auto/define
49have=NGX_CONF_PATH value="\"$CONF_PATH\"" . auto/define
50have=NGX_PID_PATH value="\"$PID_PATH\"" . auto/define
Igor Sysoev0bc87e92004-09-30 15:30:54 +000051if [ ".$ERROR_LOG_PATH" != "." ]; then
Igor Sysoevff8da912004-09-29 16:00:49 +000052 have=NGX_ERROR_LOG_PATH value="\"$ERROR_LOG_PATH\"" . auto/define
53fi
Igor Sysoev090849d2004-05-18 20:28:54 +000054have=NGX_HTTP_LOG_PATH value="\"$HTTP_LOG_PATH\"" . auto/define
55
Igor Sysoevc0edbcc2004-10-21 15:34:38 +000056have=NGX_USER value="\"$NGX_USER\"" . auto/define
57have=NGX_GROUP value="\"$NGX_GROUP\"" . auto/define
58
Igor Sysoevdc867cd2003-12-14 20:10:27 +000059. auto/summary