0
|
1 #!/bin/sh
|
|
2
|
|
3 # Copyright (C) Igor Sysoev
|
|
4
|
|
5
|
|
6 . auto/options
|
|
7 . auto/init
|
|
8 . auto/sources
|
|
9
|
|
10 test -d $OBJS || mkdir $OBJS
|
|
11 echo > $NGX_AUTO_CONFIG_H
|
|
12
|
|
13 if [ $DEBUG = YES ]; then
|
|
14 have=NGX_DEBUG . auto/have
|
|
15 fi
|
|
16
|
|
17 have=NGX_USE_HTTP_FILE_CACHE_UNIQ . auto/have
|
|
18 have=NGX_SUPPRESS_WARN . auto/have
|
|
19
|
|
20
|
|
21 if [ "$PLATFORM" != win32 ]; then
|
|
22 . auto/headers
|
|
23 fi
|
|
24
|
|
25 . auto/os/conf
|
|
26 . auto/modules
|
|
27
|
|
28 . auto/cc
|
|
29 . auto/lib/conf
|
|
30
|
|
31 if [ "$PLATFORM" != win32 ]; then
|
|
32 . auto/threads
|
|
33 fi
|
|
34
|
|
35 . auto/make
|
|
36 . auto/lib/make
|
|
37 . auto/install
|
|
38
|
|
39 if [ "$PLATFORM" != win32 ]; then
|
|
40 . auto/unix
|
|
41 fi
|
|
42
|
|
43 have=NGX_SMP . auto/have
|
|
44
|
|
45 have=NGX_PREFIX value="\"$PREFIX/\"" . auto/define
|
|
46 have=NGX_SBIN_PATH value="\"$SBIN_PATH\"" . auto/define
|
|
47 have=NGX_CONF_PATH value="\"$CONF_PATH\"" . auto/define
|
|
48 have=NGX_PID_PATH value="\"$PID_PATH\"" . auto/define
|
|
49 if [ ".$ERROR_LOG_PATH" != "." ]; then
|
|
50 have=NGX_ERROR_LOG_PATH value="\"$ERROR_LOG_PATH\"" . auto/define
|
|
51 fi
|
|
52 have=NGX_HTTP_LOG_PATH value="\"$HTTP_LOG_PATH\"" . auto/define
|
|
53
|
|
54 . auto/summary
|