Back to home page

Nginx displayed by LXR

Source navigation ]
Diff markup ]
Identifier search ]
general search ]
 
 
Version: nginx-1.13.12 ]​[ nginx-1.12.2 ]​

Warning, cross-references for /configure need to be fixed.

0001 #!/bin/sh
0002 
0003 # Copyright (C) Igor Sysoev
0004 # Copyright (C) Nginx, Inc.
0005 
0006 
0007 LC_ALL=C
0008 export LC_ALL
0009 
0010 . auto/options
0011 . auto/init
0012 . auto/sources
0013 
0014 test -d $NGX_OBJS || mkdir -p $NGX_OBJS
0015 
0016 echo > $NGX_AUTO_HEADERS_H
0017 echo > $NGX_AUTOCONF_ERR
0018 
0019 echo "#define NGX_CONFIGURE \"$NGX_CONFIGURE\"" > $NGX_AUTO_CONFIG_H
0020 
0021 
0022 if [ $NGX_DEBUG = YES ]; then
0023     have=NGX_DEBUG . auto/have
0024 fi
0025 
0026 
0027 if test -z "$NGX_PLATFORM"; then
0028     echo "checking for OS"
0029 
0030     NGX_SYSTEM=`uname -s 2>/dev/null`
0031     NGX_RELEASE=`uname -r 2>/dev/null`
0032     NGX_MACHINE=`uname -m 2>/dev/null`
0033 
0034     echo " + $NGX_SYSTEM $NGX_RELEASE $NGX_MACHINE"
0035 
0036     NGX_PLATFORM="$NGX_SYSTEM:$NGX_RELEASE:$NGX_MACHINE";
0037 
0038     case "$NGX_SYSTEM" in
0039         MINGW32_*)
0040             NGX_PLATFORM=win32
0041         ;;
0042     esac
0043 
0044 else
0045     echo "building for $NGX_PLATFORM"
0046     NGX_SYSTEM=$NGX_PLATFORM
0047 fi
0048 
0049 . auto/cc/conf
0050 
0051 if [ "$NGX_PLATFORM" != win32 ]; then
0052     . auto/headers
0053 fi
0054 
0055 . auto/os/conf
0056 
0057 if [ "$NGX_PLATFORM" != win32 ]; then
0058     . auto/unix
0059 fi
0060 
0061 . auto/threads
0062 . auto/modules
0063 . auto/lib/conf
0064 
0065 case ".$NGX_PREFIX" in
0066     .)
0067         NGX_PREFIX=${NGX_PREFIX:-/usr/local/nginx}
0068         have=NGX_PREFIX value="\"$NGX_PREFIX/\"" . auto/define
0069     ;;
0070 
0071     .!)
0072         NGX_PREFIX=
0073     ;;
0074 
0075     *)
0076         have=NGX_PREFIX value="\"$NGX_PREFIX/\"" . auto/define
0077     ;;
0078 esac
0079 
0080 if [ ".$NGX_CONF_PREFIX" != "." ]; then
0081     have=NGX_CONF_PREFIX value="\"$NGX_CONF_PREFIX/\"" . auto/define
0082 fi
0083 
0084 have=NGX_SBIN_PATH value="\"$NGX_SBIN_PATH\"" . auto/define
0085 have=NGX_CONF_PATH value="\"$NGX_CONF_PATH\"" . auto/define
0086 have=NGX_PID_PATH value="\"$NGX_PID_PATH\"" . auto/define
0087 have=NGX_LOCK_PATH value="\"$NGX_LOCK_PATH\"" . auto/define
0088 have=NGX_ERROR_LOG_PATH value="\"$NGX_ERROR_LOG_PATH\"" . auto/define
0089 
0090 have=NGX_HTTP_LOG_PATH value="\"$NGX_HTTP_LOG_PATH\"" . auto/define
0091 have=NGX_HTTP_CLIENT_TEMP_PATH value="\"$NGX_HTTP_CLIENT_TEMP_PATH\""
0092 . auto/define
0093 have=NGX_HTTP_PROXY_TEMP_PATH value="\"$NGX_HTTP_PROXY_TEMP_PATH\""
0094 . auto/define
0095 have=NGX_HTTP_FASTCGI_TEMP_PATH value="\"$NGX_HTTP_FASTCGI_TEMP_PATH\""
0096 . auto/define
0097 have=NGX_HTTP_UWSGI_TEMP_PATH value="\"$NGX_HTTP_UWSGI_TEMP_PATH\""
0098 . auto/define
0099 have=NGX_HTTP_SCGI_TEMP_PATH value="\"$NGX_HTTP_SCGI_TEMP_PATH\""
0100 . auto/define
0101 
0102 . auto/make
0103 . auto/lib/make
0104 . auto/install
0105 
0106 # STUB
0107 . auto/stubs
0108 
0109 have=NGX_USER value="\"$NGX_USER\"" . auto/define
0110 have=NGX_GROUP value="\"$NGX_GROUP\"" . auto/define
0111 
0112 if [ ".$NGX_BUILD" != "." ]; then
0113     have=NGX_BUILD value="\"$NGX_BUILD\"" . auto/define
0114 fi
0115 
0116 . auto/summary