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


cat << END

./configure options:

  --cc=FILE            set C compiler filename, default: "$CC"
  --cc-opt=OPTIONS     set additional C compiler options
  --ld-opt=OPTIONS     set additional linker options

  --prefix=DIRECTORY   set prefix for relative pathnames, default: none
  --bindir=DIRECTORY   set user executables directory name
                       default: "$NXT_BINDIR"
  --sbindir=DIRECTORY  set system admin executables directory name
                       default: "$NXT_SBINDIR"
  --libdir=DIRECTORY   set library directory name, default: "$NXT_LIBDIR"
  --incdir=DIRECTORY   set includes directory name, default: "$NXT_INCDIR"
  --modules=DIRECTORY  set modules directory name, default: "$NXT_MODULES"
  --state=DIRECTORY    set state directory name, default: "$NXT_STATE"
  --tmp=DIRECTORY      set tmp directory name, default: "$NXT_TMP"

  --pid=FILE           set pid filename, default: "$NXT_PID"
  --log=FILE           set log filename, default: "$NXT_LOG"

  --control=ADDRESS    set address of control API socket
                       default: "$NXT_CONTROL"

  --user=USER          set non-privileged processes to run as specified user
                       default: "$NXT_USER"
  --group=GROUP        set non-privileged processes to run as specified group
                       default: user's primary group

  --no-ipv6            disable IPv6 support
  --no-unix-sockets    disable Unix domain sockets support

  --openssl            enable OpenSSL library usage

  --debug              enable debug logging


  python OPTIONS       configure Python module
                       run "./configure python --help" to see available options

  php OPTIONS          configure PHP module
                       run "./configure php --help" to see available options

  go OPTIONS           configure Go module
                       run "./configure go --help" to see available options

  perl OPTIONS         configure Perl module
                       run "./configure perl --help" to see available options

  ruby OPTIONS         configure Ruby module
                       run "./configure ruby --help" to see available options

  nodejs OPTIONS       configure Node.js module
                       run "./configure nodejs --help" to see available options

  java OPTIONS         configure Java module
                       run "./configure java --help" to see available options

END
