Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / nginx / auto / include
blob5b6ab7c904597ce98c8fa7304df9c66704f9f60f
2 # Copyright (C) Igor Sysoev
3 # Copyright (C) Nginx, Inc.
6 echo $ngx_n "checking for $ngx_include ...$ngx_c"
8 cat << END >> $NGX_AUTOCONF_ERR
10 ----------------------------------------
11 checking for $ngx_include
13 END
16 ngx_found=no
18 cat << END > $NGX_AUTOTEST.c
20 $NGX_INCLUDE_SYS_PARAM_H
21 #include <$ngx_include>
23 int main() {
24     return 0;
27 END
30 ngx_test="$CC $NGX_CC_OPT -o $NGX_AUTOTEST $NGX_AUTOTEST.c"
32 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"
34 if [ -x $NGX_AUTOTEST ]; then
36     ngx_found=yes
38     echo " found"
40     ngx_name=`echo $ngx_include \
41               | tr abcdefghijklmnopqrstuvwxyz/. ABCDEFGHIJKLMNOPQRSTUVWXYZ__`
44     have=NGX_HAVE_$ngx_name . auto/have_headers
46     eval "NGX_INCLUDE_$ngx_name='#include <$ngx_include>'"
48     #STUB
49     eval "NGX_$ngx_name='#include <$ngx_include>'"
51 else
52     echo " not found"
54     echo "----------"    >> $NGX_AUTOCONF_ERR
55     cat $NGX_AUTOTEST.c  >> $NGX_AUTOCONF_ERR
56     echo "----------"    >> $NGX_AUTOCONF_ERR
57     echo $ngx_test       >> $NGX_AUTOCONF_ERR
58     echo "----------"    >> $NGX_AUTOCONF_ERR
61 rm -rf $NGX_AUTOTEST*