nghttp2 - HTTP/2 C Library and tools
Go to file
Jan Kundrát 6c17ed7e61 cmake: Fix libevent version detection
On my x86_64 Gentoo Linux, the CMake build won't find libevent because
Gentoo wraps include files via multilib-aware wrappers. This means that
the "real" include file lives in
/usr/include/x86_64-pc-linux-gnu/event2/event-config.h , and that
there's a proxy file at /usr/include/event2/event-config.h which check
the compile target's architecture and includes the real file from a
correct directory.

In other words, nghttp2's CMake FindLibevent.cmake reads a wrong file
and ends up not detecting the libevent's version.

This patch fixes it by simply using the version reported by pkg-config
as the libevent's version if the original method fails. I will be happy
to change this patch to always check version from pkg-config if you're
OK with that.

Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
2018-10-03 17:38:17 +02:00
cmake cmake: Fix libevent version detection 2018-10-03 17:38:17 +02:00
contrib nghttpx: add systemd support 2017-02-09 18:58:00 +01:00
doc Update manual pages 2018-10-02 01:34:32 +09:00
examples Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
fedora fedora: add spec file 2012-10-27 14:54:06 -07:00
fuzz fuzz: Fix typo (‘-fsanitize=adres’) in README.rst 2017-10-10 22:14:25 +02:00
integration-tests Remove remaining SPDY code from the integration tests. 2018-05-30 17:45:20 -07:00
lib Rule out content-length in the successful response to CONNECT 2018-10-03 23:24:32 +09:00
m4 examples: Delete tiny-nghttpd 2016-12-14 23:26:52 +09:00
python python: Support ALPN, require Python 3.5 2016-08-28 00:11:59 +09:00
script Fix bug that fetch-ocsp-response does not work with OpenSSL 1.1.0 2016-12-12 21:22:48 +09:00
src nghttpx: Add read/write-timeout parameters to backend option 2018-09-30 12:32:43 +09:00
tests Allow client sending :protocol optimistically 2018-09-28 00:12:02 +09:00
third-party Update neverbleed to fix OpenSSL 1.1.1 issues 2018-09-16 22:55:07 +09:00
.clang-format Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
.gitignore cmake: ignore "make install" artifact 2016-02-29 16:20:31 +01:00
.gitmodules Update neverbleed to fix OpenSSL 1.1.1 issues 2018-09-16 22:55:07 +09:00
.travis.yml travis: Compile mruby and neverbleed in `make distcheck` 2017-10-24 21:41:10 +09:00
AUTHORS Update AUTHORS 2018-09-02 15:15:52 +09:00
CMakeLists.txt Bump up version number to 1.34.0 2018-09-02 15:55:08 +09:00
CMakeOptions.txt cmake: add ENABLE_STATIC_LIB option to build static lib 2018-03-12 22:41:37 +00:00
CONTRIBUTION Make sure that nghttp2 license is MIT license 2015-04-01 19:41:32 +09:00
COPYING List all contributors in AUTHORS 2016-02-14 17:40:58 +09:00
ChangeLog Added libtool files 2012-01-18 00:53:12 +09:00
Dockerfile.android Fix unreachable 2017-08-26 12:54:03 +08:00
LICENSE Add LICENSE file to point to COPYING 2016-01-09 18:26:45 +09:00
Makefile.am Add libc-ares detection to cmake 2016-12-10 22:40:18 +09:00
NEWS Rebranding nghttp2 2013-07-13 00:43:06 +09:00
README Added libtool files 2012-01-18 00:53:12 +09:00
README.rst Fix typo 2018-03-12 09:19:19 +09:00
android-config Compile with Android NDK r13b using clang 2017-01-23 00:32:51 +09:00
android-make Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
appveyor.yml Add Windows CI via AppVeyor 2016-12-08 21:17:02 +01:00
author.py Add author.py 2016-08-25 22:37:18 +09:00
cmakeconfig.h.in nghttpx: Write API request body in temporary file 2017-12-03 16:19:57 +09:00
configure.ac Bump up version number to 1.34.0 2018-09-02 15:55:08 +09:00
genauthoritychartbl.py Add genauthoritychartbl.py 2016-01-27 23:06:10 +09:00
gendowncasetbl.py mod a+x to auto-gen scripts 2014-10-27 21:27:41 +09:00
genheaderfunc.py nghttpx: Implement RFC 8441 Bootstrapping WebSocket with HTTP/2 2018-09-29 11:35:41 +09:00
genlibtokenlookup.py Add NGHTTP2_TOKEN__PROTOCOL 2018-09-23 10:36:30 +09:00
genmethodfunc.py nghttpx: Tokenize request method 2015-06-09 23:33:14 +09:00
gennghttpxfun.py nghttpx: Strip incoming Early-Data header field by default 2018-09-09 22:37:22 +09:00
gennmchartbl.py mod a+x to auto-gen scripts 2014-10-27 21:27:41 +09:00
gentokenlookup.py nghttpx: Refactor log format parsing 2015-07-14 23:36:44 +09:00
genvchartbl.py mod a+x to auto-gen scripts 2014-10-27 21:27:41 +09:00
git-clang-format Add .clang-format config file and git-clang-format from clang project 2014-11-27 23:56:29 +09:00
help2rst.py help2rst.py: Fix * escape 2016-10-09 18:43:36 +09:00
makebashcompletion Add bash_completion files for nghttp, nghttpd, nghttpx and h2load 2015-02-15 12:05:27 +09:00
makemanpages Produce man pages using sphinx 2015-01-10 00:37:42 +09:00
makerelease.sh makerelease.sh: Remove duplicate `git module update --init` 2016-02-26 00:57:34 +09:00
mkcipherlist.py nghttpx: Don't allow blacked listed cipher suites for HTTP/2 connection 2015-08-19 23:42:43 +09:00
mkhufftbl.py mkhufftbl.py: Refactor 2015-04-21 23:48:45 +09:00
mkstatichdtbl.py Use hash table for dynamic table lookup 2015-09-19 21:29:40 +09:00
nghttpx.conf.sample Fix comments, too 2015-03-25 21:04:49 +08:00
pre-commit Apply clang-format-diff only to lib, src, examples and tests 2016-10-15 18:40:45 +09:00
proxy.pac.sample Add sample pac file and release script 2013-01-12 17:05:11 +09:00
releasechk Update releasechk 2016-04-25 22:41:48 +09:00

README

See README.rst