mirror of
https://github.com/curl/curl.git
synced 2026-07-25 23:17:17 +03:00
configure.ac: revert bad nghttp2 library detection improvements
This reverts commitb4b34db65f,673753344cand29c7cf79e8. The logic is now back to assuming that the nghttp2 lib is called nghttp2 and nothing else. Reported-by: Rui Pinheiro Reported-by: Alex Crichton Fixes #7514 Closes #7515
This commit is contained in:
parent
a2e29f0731
commit
26c002bf7c
1 changed files with 1 additions and 2 deletions
|
|
@ -2541,11 +2541,10 @@ if test X"$want_h2" != Xno; then
|
|||
LDFLAGS="$LDFLAGS $LD_H2"
|
||||
CPPFLAGS="$CPPFLAGS $CPP_H2"
|
||||
LIBS="$LIB_H2 $LIBS"
|
||||
LIB_H2_NAME=`echo $LIB_H2 | $SED -ne 's/.*-l *\(nghttp2[^ ]*\).*/\1/p'`
|
||||
|
||||
# use nghttp2_session_set_local_window_size to require nghttp2
|
||||
# >= 1.12.0
|
||||
AC_CHECK_LIB($LIB_H2_NAME, nghttp2_session_set_local_window_size,
|
||||
AC_CHECK_LIB(nghttp2, nghttp2_session_set_local_window_size,
|
||||
[
|
||||
AC_CHECK_HEADERS(nghttp2/nghttp2.h,
|
||||
curl_h2_msg="enabled (nghttp2)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue