summary 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # Copyright (C) Igor Sysoev
  2. # Copyright (C) Nginx, Inc.
  3. ### STUB
  4. if [ $USE_THREADS != NO ]; then
  5. cat << END
  6. $0: error: the threads support is broken now.
  7. END
  8. exit 1
  9. fi
  10. ###
  11. echo
  12. echo "Configuration summary"
  13. #case $USE_THREADS in
  14. # rfork) echo " + using rfork()ed threads" ;;
  15. # pthreads) echo " + using libpthread threads library" ;;
  16. # libthr) echo " + using FreeBSD libthr threads library" ;;
  17. # libc_r) echo " + using FreeBSD libc_r threads library" ;;
  18. # linuxthreads) echo " + using FreeBSD LinuxThreads port library" ;;
  19. # NO) echo " + threads are not used" ;;
  20. # *) echo " + using lib$USE_THREADS threads library" ;;
  21. #esac
  22. if [ $USE_PCRE = DISABLED ]; then
  23. echo " + PCRE library is disabled"
  24. else
  25. case $PCRE in
  26. YES) echo " + using system PCRE library" ;;
  27. NONE) echo " + PCRE library is not used" ;;
  28. *) echo " + using PCRE library: $PCRE" ;;
  29. esac
  30. fi
  31. case $OPENSSL in
  32. YES) echo " + using system OpenSSL library" ;;
  33. NONE) echo " + OpenSSL library is not used" ;;
  34. *) echo " + using OpenSSL library: $OPENSSL" ;;
  35. esac
  36. case $MD5 in
  37. YES) echo " + md5: using $MD5_LIB library" ;;
  38. NONE) echo " + md5 library is not used" ;;
  39. NO) echo " + using builtin md5 code" ;;
  40. *) echo " + using md5 library: $MD5" ;;
  41. esac
  42. case $SHA1 in
  43. YES) echo " + sha1: using $SHA1_LIB library" ;;
  44. NONE) echo " + sha1 library is not used" ;;
  45. NO) echo " + sha1 library is not found" ;;
  46. *) echo " + using sha1 library: $SHA1" ;;
  47. esac
  48. case $ZLIB in
  49. YES) echo " + using system zlib library" ;;
  50. NONE) echo " + zlib library is not used" ;;
  51. *) echo " + using zlib library: $ZLIB" ;;
  52. esac
  53. case $NGX_LIBATOMIC in
  54. YES) echo " + using system libatomic_ops library" ;;
  55. NO) ;; # not used
  56. *) echo " + using libatomic_ops library: $NGX_LIBATOMIC" ;;
  57. esac
  58. echo
  59. cat << END
  60. nginx path prefix: "$NGX_PREFIX"
  61. nginx binary file: "$NGX_SBIN_PATH"
  62. nginx configuration prefix: "$NGX_CONF_PREFIX"
  63. nginx configuration file: "$NGX_CONF_PATH"
  64. nginx pid file: "$NGX_PID_PATH"
  65. END
  66. if test -n "$NGX_ERROR_LOG_PATH"; then
  67. echo " nginx error log file: \"$NGX_ERROR_LOG_PATH\""
  68. else
  69. echo " nginx logs errors to stderr"
  70. fi
  71. cat << END
  72. nginx http access log file: "$NGX_HTTP_LOG_PATH"
  73. nginx http client request body temporary files: "$NGX_HTTP_CLIENT_TEMP_PATH"
  74. END
  75. if [ $HTTP_PROXY = YES ]; then
  76. echo " nginx http proxy temporary files: \"$NGX_HTTP_PROXY_TEMP_PATH\""
  77. fi
  78. if [ $HTTP_FASTCGI = YES ]; then
  79. echo " nginx http fastcgi temporary files: \"$NGX_HTTP_FASTCGI_TEMP_PATH\""
  80. fi
  81. if [ $HTTP_UWSGI = YES ]; then
  82. echo " nginx http uwsgi temporary files: \"$NGX_HTTP_UWSGI_TEMP_PATH\""
  83. fi
  84. if [ $HTTP_SCGI = YES ]; then
  85. echo " nginx http scgi temporary files: \"$NGX_HTTP_SCGI_TEMP_PATH\""
  86. fi