File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / nginx / auto / lib / test
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Oct 14 09:20:38 2013 UTC (11 years, 5 months ago) by misho
Branches: nginx, MAIN
CVS tags: v1_4_3p0, v1_4_3, HEAD
v 1.4.3

    1: 
    2: # Copyright (C) Igor Sysoev
    3: # Copyright (C) Nginx, Inc.
    4: 
    5: 
    6: echo $ngx_n "checking for $ngx_lib ...$ngx_c"
    7: 
    8: cat << END >> $NGX_AUTOCONF_ERR
    9: 
   10: ----------------------------------------
   11: checking for $ngx_lib
   12: 
   13: END
   14: 
   15: ngx_found=no
   16: 
   17: cat << END > $NGX_AUTOTEST.c
   18: 
   19: $ngx_lib_incs
   20: 
   21: int main() {
   22:     $ngx_lib_test;
   23:     return 0;
   24: }
   25: 
   26: 
   27: eval "$CC $cc_test_flags $ngx_lib_cflags \
   28:      -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_libs \
   29:      >> $NGX_ERR 2>&1"
   30: 
   31: if [ -x $NGX_AUTOTEST ]; then
   32:     echo " found"
   33: 
   34:     ngx_found=yes
   35: 
   36: else
   37:     echo " not found"
   38: fi
   39: 
   40: rm $NGX_AUTOTEST*

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>