Sha256: 90403327e5b413ac3665df556fc87b80bb1ebd9c928f6c0551bf07072d7ddcb9

Contents?: true

Size: 873 Bytes

Versions: 24

Compression:

Stored size: 873 Bytes

Contents

# Copyright (C) Igor Sysoev
# Copyright (C) Nginx, Inc.


echo $ngx_n "checking for uintptr_t ...$ngx_c"
echo >> $NGX_AUTOCONF_ERR
echo "checking for uintptr_t" >> $NGX_AUTOCONF_ERR

found=no

cat << END > $NGX_AUTOTEST.c

#include <sys/types.h>
$NGX_INTTYPES_H

int main() {
    uintptr_t i = 0;
    return (int) i;
}

END

ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \
          -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT"

eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"

if [ -x $NGX_AUTOTEST ]; then
    echo " uintptr_t found"
    found=yes
else
    echo $ngx_n " uintptr_t not found" $ngx_c
fi

rm $NGX_AUTOTEST*


if [ $found = no ]; then
    found="uint`expr 8 \* $ngx_ptr_size`_t"
    echo ", $found used"

    echo "typedef $found  uintptr_t;"                   >> $NGX_AUTO_CONFIG_H
    echo "typedef $found  intptr_t;" | sed -e 's/u//g'  >> $NGX_AUTO_CONFIG_H
fi

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
nginxtra-1.4.7.9 vendor/nginx/auto/types/uintptr_t
nginxtra-1.4.6.9 vendor/nginx/auto/types/uintptr_t
nginxtra-1.4.5.9 vendor/nginx/auto/types/uintptr_t
nginxtra-1.4.4.9 vendor/nginx/auto/types/uintptr_t
nginxtra-1.4.3.9 vendor/nginx/auto/types/uintptr_t
nginxtra-1.4.2.9 vendor/nginx/auto/types/uintptr_t
nginxtra-1.4.1.9 vendor/nginx/auto/types/uintptr_t
nginxtra-1.4.0.9 vendor/nginx/auto/types/uintptr_t
nginxtra-1.4.0.8 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.8.8 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.7.8 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.6.8 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.6.7 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.5.7 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.4.7 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.3.7 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.3.6 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.3.5 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.3.4 vendor/nginx/auto/types/uintptr_t
nginxtra-1.2.2.4 vendor/nginx/auto/types/uintptr_t