首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

nginx源码阅览笔记-1-configure

2013-10-18 
nginx源码阅读笔记-1-configure0.7.69configure文件源码#!/bin/sh# Copyright (C) Igor Sysoev. auto/opti

nginx源码阅读笔记-1-configure

0.7.69

configure文件源码

#!/bin/sh# Copyright (C) Igor Sysoev. auto/options. auto/init. auto/sourcestest -d $NGX_OBJS || mkdir $NGX_OBJSecho > $NGX_AUTO_HEADERS_Hecho > $NGX_AUTOCONF_ERRecho "#define NGX_CONFIGURE "$NGX_CONFIGURE"" > $NGX_AUTO_CONFIG_Hif [ $NGX_DEBUG = YES ]; then    have=NGX_DEBUG . auto/havefiif test -z "$NGX_PLATFORM"; then    echo "checking for OS"    NGX_SYSTEM=`uname -s 2>/dev/null`    NGX_RELEASE=`uname -r 2>/dev/null    NGX_MACHINE=`uname -m 2>/dev/null`    echo " + $NGX_SYSTEM $NGX_RELEASE $NGX_MACHINE"    NGX_PLATFORM="$NGX_SYSTEM:$NGX_RELEASE:$NGX_MACHINE";    case "$NGX_SYSTEM" in        MINGW32_*)            NGX_PLATFORM=win32        ;;    esacelse    echo "building for $NGX_PLATFORM"    NGX_SYSTEM=$NGX_PLATFORMfi. auto/cc/confif [ "$NGX_PLATFORM" != win32 ]; then    . auto/headersfi. auto/os/confif [ "$NGX_PLATFORM" != win32 ]; then    . auto/os/features    . auto/threadsfi. auto/modules. auto/lib/confcase ".$NGX_PREFIX" in    .)        NGX_PREFIX=${NGX_PREFIX:-/usr/local/nginx}        have=NGX_PREFIX value=""$NGX_PREFIX/"" . auto/define    ;;    .!)        NGX_PREFIX=    ;;    *)        have=NGX_PREFIX value=""$NGX_PREFIX/"" . auto/define    ;;esacif [ ".$NGX_CONF_PREFIX" != "." ]; then    have=NGX_CONF_PREFIX value=""$NGX_CONF_PREFIX/"" . auto/definefihave=NGX_SBIN_PATH value=""$NGX_SBIN_PATH"" . auto/definehave=NGX_CONF_PATH value=""$NGX_CONF_PATH"" . auto/definehave=NGX_PID_PATH value=""$NGX_PID_PATH"" . auto/definehave=NGX_LOCK_PATH value=""$NGX_LOCK_PATH"" . auto/definehave=NGX_ERROR_LOG_PATH value=""$NGX_ERROR_LOG_PATH"" . auto/definehave=NGX_HTTP_LOG_PATH value=""$NGX_HTTP_LOG_PATH"" . auto/definehave=NGX_HTTP_CLIENT_TEMP_PATH value=""$NGX_HTTP_CLIENT_TEMP_PATH"". auto/definehave=NGX_HTTP_PROXY_TEMP_PATH value=""$NGX_HTTP_PROXY_TEMP_PATH"". auto/definehave=NGX_HTTP_FASTCGI_TEMP_PATH value=""$NGX_HTTP_FASTCGI_TEMP_PATH"". auto/define. auto/make. auto/lib/make. auto/installif [ "$NGX_PLATFORM" != win32 ]; then    . auto/unixfi# STUB. auto/stubshave=NGX_USER value=""$NGX_USER"" . auto/definehave=NGX_GROUP value=""$NGX_GROUP"" . auto/define. auto/summary

?

?

?

热点排行