Skip to content

Commit 26c002b

Browse files
committed
configure.ac: revert bad nghttp2 library detection improvements
This reverts commit b4b34db, 6737533 and 29c7cf7. 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 curl#7514 Closes curl#7515
1 parent a2e29f0 commit 26c002b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configure.ac

+1-2
Original file line numberDiff line numberDiff line change
@@ -2541,11 +2541,10 @@ if test X"$want_h2" != Xno; then
25412541
LDFLAGS="$LDFLAGS $LD_H2"
25422542
CPPFLAGS="$CPPFLAGS $CPP_H2"
25432543
LIBS="$LIB_H2 $LIBS"
2544-
LIB_H2_NAME=`echo $LIB_H2 | $SED -ne 's/.*-l *\(nghttp2[^ ]*\).*/\1/p'`
25452544

25462545
# use nghttp2_session_set_local_window_size to require nghttp2
25472546
# >= 1.12.0
2548-
AC_CHECK_LIB($LIB_H2_NAME, nghttp2_session_set_local_window_size,
2547+
AC_CHECK_LIB(nghttp2, nghttp2_session_set_local_window_size,
25492548
[
25502549
AC_CHECK_HEADERS(nghttp2/nghttp2.h,
25512550
curl_h2_msg="enabled (nghttp2)"

0 commit comments

Comments
 (0)