Skip to content
Snippets Groups Projects
Commit 72ff420d authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa
Browse files

Compile with nghttp3

parent 02cd3aa8
Branches
No related merge requests found
...@@ -126,6 +126,13 @@ if test "x${have_openssl}" = "xno"; then ...@@ -126,6 +126,13 @@ if test "x${have_openssl}" = "xno"; then
AC_MSG_NOTICE($OPENSSL_PKG_ERRORS) AC_MSG_NOTICE($OPENSSL_PKG_ERRORS)
fi fi
# nghttp3 (for examples)
PKG_CHECK_MODULES([LIBNGHTTP3], [libnghttp3 >= 0.0.0],
[have_libnghttp3=yes], [have_libnghttp3=no])
if test "${have_libnghttp3}" = "xno"; then
AC_MSG_NOTICE($LIBNGHTTP3_PKG_ERRORS)
fi
# libev (for examples) # libev (for examples)
# libev does not have pkg-config file. Check it in an old way. # libev does not have pkg-config file. Check it in an old way.
save_LIBS=$LIBS save_LIBS=$LIBS
...@@ -325,4 +332,5 @@ AC_MSG_NOTICE([summary of build options: ...@@ -325,4 +332,5 @@ AC_MSG_NOTICE([summary of build options:
Libs: Libs:
OpenSSL: ${have_openssl} (CFLAGS='${OPENSSL_CFLAGS}' LIBS='${OPENSSL_LIBS}') OpenSSL: ${have_openssl} (CFLAGS='${OPENSSL_CFLAGS}' LIBS='${OPENSSL_LIBS}')
Libev: ${have_libev} (CFLAGS='${LIBEV_CFLAGS}' LIBS='${LIBEV_LIBS}') Libev: ${have_libev} (CFLAGS='${LIBEV_CFLAGS}' LIBS='${LIBEV_LIBS}')
Libnghttp3: ${have_libnghttp3} (CFLAGS='${LIBNGHTTP3_CFLAGS}' LIBS='${LIBNGHTTP3_LIBS}')
]) ])
...@@ -29,12 +29,14 @@ AM_CPPFLAGS = \ ...@@ -29,12 +29,14 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/third-party \ -I$(top_srcdir)/third-party \
@OPENSSL_CFLAGS@ \ @OPENSSL_CFLAGS@ \
@LIBEV_CFLAGS@ \ @LIBEV_CFLAGS@ \
@LIBNGHTTP3_CFLAGS@ \
@DEFS@ @DEFS@
AM_LDFLAGS = -no-install AM_LDFLAGS = -no-install
LDADD = $(top_builddir)/lib/libngtcp2.la \ LDADD = $(top_builddir)/lib/libngtcp2.la \
$(top_builddir)/third-party/libhttp-parser.la \ $(top_builddir)/third-party/libhttp-parser.la \
@OPENSSL_LIBS@ \ @OPENSSL_LIBS@ \
@LIBEV_LIBS@ @LIBEV_LIBS@ \
@LIBNGHTTP3_LIBS@
noinst_PROGRAMS = client server noinst_PROGRAMS = client server
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment