Sha256: b4b11bb351594ef2a14cbce1155c46fb194f2cfa7e153672206fef0b2f81d907

Contents?: true

Size: 1.67 KB

Versions: 18

Compression:

Stored size: 1.67 KB

Contents

if ! test -f "$ngx_addon_dir/libpassenger_common.a" || \
   ! test -f "$ngx_addon_dir/libboost_oxt.a"; then
    echo "*** The Phusion Passenger support files are not yet compiled. Compiling them for you... ***"
    echo "*** Running 'rake nginx' in $ngx_addon_dir... ***"
    if ! (cd $ngx_addon_dir; rake nginx); then
        exit 1
    else
        echo "*** Phusion Passenger support files have been successfully compiled. ***"
    fi
fi

ngx_addon_name=ngx_http_passenger_module
HTTP_MODULES="$HTTP_MODULES ngx_http_passenger_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
    ${ngx_addon_dir}/ngx_http_passenger_module.c \
    ${ngx_addon_dir}/Configuration.c \
    ${ngx_addon_dir}/ContentHandler.c \
    ${ngx_addon_dir}/StaticContentHandler.c"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS \
    ${ngx_addon_dir}/Configuration.h \
    ${ngx_addon_dir}/ContentHandler.h \
    ${ngx_addon_dir}/StaticContentHandler.h \
    ${ngx_addon_dir}/ngx_http_passenger_module.h \
    ${ngx_addon_dir}/../common/Version.h"
CORE_LIBS="$CORE_LIBS  \
    ${ngx_addon_dir}/libpassenger_common.a \
    ${ngx_addon_dir}/libboost_oxt.a \
    -lstdc++ -lpthread"
if test x`uname` = xOpenBSD; then
    CORE_LIBS="$CORE_LIBS -lm"
fi

nginx_version=`grep 'NGINX_VERSION ' src/core/nginx.h | awk '{ print $3 }' | sed 's/"//g'`

nginx_major_version=`echo "$nginx_version" | cut -d . -f 1`
have=PASSENGER_NGINX_MAJOR_VERSION value="$nginx_major_version"
. auto/define

nginx_minor_version=`echo "$nginx_version" | cut -d . -f 2`
have=PASSENGER_NGINX_MINOR_VERSION value="$nginx_minor_version"
. auto/define

nginx_micro_version=`echo "$nginx_version" | cut -d . -f 3`
have=PASSENGER_NGINX_MICRO_VERSION value="$nginx_micro_version"
. auto/define

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
vanity-1.7.1 vendor/ruby/1.9.1/gems/passenger-2.2.15/ext/nginx/config
passenger-2.2.15 ext/nginx/config
passenger-2.2.14 ext/nginx/config
passenger-2.2.13 ext/nginx/config
passenger-2.2.12 ext/nginx/config
colouringcode-passenger-0.2 ext/nginx/config
passenger-2.2.11 ext/nginx/config
passenger-jmazzi-2.2.10 ext/nginx/config
passenger-2.2.10 ext/nginx/config
passenger-jmazzi-2.2.9 ext/nginx/config
passenger-2.2.9 ext/nginx/config
passenger-2.2.8 ext/nginx/config
colouringcode-passenger-0.1 ext/nginx/config
passenger-2.2.7 ext/nginx/config
passenger-2.2.6 ext/nginx/config
passenger-2.2.5 ext/nginx/config
passenger-2.2.3 ext/nginx/config
passenger-2.2.4 ext/nginx/config