Document compiling apps and include h2load in configure
This commit is contained in:
parent
c3a5fe7185
commit
b8717208c7
12
README.rst
12
README.rst
|
@ -58,9 +58,9 @@ To build the documentation, you need to install:
|
||||||
|
|
||||||
* sphinx (http://sphinx-doc.org/)
|
* sphinx (http://sphinx-doc.org/)
|
||||||
|
|
||||||
To build and run the application programs (``nghttp``, ``nghttpd`` and
|
To build and run the application programs (``nghttp``, ``nghttpd``,
|
||||||
``nghttpx``) in the ``src`` directory, the following packages are
|
``nghttpx`` and ``h2load``) in the ``src`` directory, the following packages
|
||||||
required:
|
are required:
|
||||||
|
|
||||||
* OpenSSL >= 1.0.1
|
* OpenSSL >= 1.0.1
|
||||||
* libev >= 4.15
|
* libev >= 4.15
|
||||||
|
@ -160,6 +160,12 @@ To compile the source code, gcc >= 4.8.3 or clang >= 3.4 is required.
|
||||||
them from crashing. A patch is welcome to make multi threading work
|
them from crashing. A patch is welcome to make multi threading work
|
||||||
on Mac OS X platform.
|
on Mac OS X platform.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
To compile the associated applications (nghttp, nghttpd, nghttpx and
|
||||||
|
h2load), you must use the ``--enable-app`` configure option and ensure
|
||||||
|
that the specified requirements above are met.
|
||||||
|
|
||||||
Notes for building on Windows (Mingw/Cygwin)
|
Notes for building on Windows (Mingw/Cygwin)
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ AC_ARG_ENABLE([threads],
|
||||||
|
|
||||||
AC_ARG_ENABLE([app],
|
AC_ARG_ENABLE([app],
|
||||||
[AS_HELP_STRING([--enable-app],
|
[AS_HELP_STRING([--enable-app],
|
||||||
[Build applications (nghttp, nghttpd and nghttpx) [default=check]])],
|
[Build applications (nghttp, nghttpd, nghttpx and h2load) [default=check]])],
|
||||||
[request_app=$enableval], [request_app=check])
|
[request_app=$enableval], [request_app=check])
|
||||||
|
|
||||||
AC_ARG_ENABLE([hpack-tools],
|
AC_ARG_ENABLE([hpack-tools],
|
||||||
|
|
|
@ -6,6 +6,15 @@ spdylay (http://tatsuhiro-t.github.io/spdylay/) library, it also
|
||||||
supports SPDY protocol. It supports SSL/TLS and clear text for all
|
supports SPDY protocol. It supports SSL/TLS and clear text for all
|
||||||
supported protocols.
|
supported protocols.
|
||||||
|
|
||||||
|
Compiling from source
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
``h2load`` is compiled alongside ``nghttp2`` and requires that the
|
||||||
|
``--enable-apps`` flag is passed to ``./configure`` and `required dependencies
|
||||||
|
<https://github.com/tatsuhiro-t/nghttp2#requirements>`_ are available during
|
||||||
|
compilation. For details on compiling, see `nghttp2: Building from Git
|
||||||
|
<https://github.com/tatsuhiro-t/nghttp2#building-from-git>`_.
|
||||||
|
|
||||||
Basic Usage
|
Basic Usage
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue