test 523 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright (C) Igor Sysoev
  2. echo $ngx_n "checking for $ngx_lib ...$ngx_c"
  3. cat << END >> $NGX_AUTOCONF_ERR
  4. ----------------------------------------
  5. checking for $ngx_lib
  6. END
  7. ngx_found=no
  8. cat << END > $NGX_AUTOTEST.c
  9. $ngx_lib_incs
  10. int main() {
  11. $ngx_lib_test;
  12. return 0;
  13. }
  14. eval "$CC $cc_test_flags $ngx_lib_cflags \
  15. -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_libs \
  16. >> $NGX_ERR 2>&1"
  17. if [ -x $NGX_AUTOTEST ]; then
  18. echo " found"
  19. ngx_found=yes
  20. else
  21. echo " not found"
  22. fi
  23. rm $NGX_AUTOTEST*