mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
configure: detect nghttp2 by default
This commit is contained in:
parent
c7638d93b0
commit
2ddd69ef9a
@ -2733,7 +2733,7 @@ dnl Check for nghttp2
|
||||
dnl **********************************************************************
|
||||
|
||||
AC_MSG_CHECKING([whether to build with nghttp2])
|
||||
OPT_H2="no"
|
||||
OPT_H2="yes"
|
||||
AC_ARG_WITH(nghttp2,
|
||||
AC_HELP_STRING([--with-nghttp2=PATH],[Enable nghttp2 usage])
|
||||
AC_HELP_STRING([--without-nghttp2],[Disable nghttp2 usage]),
|
||||
@ -2744,11 +2744,6 @@ case "$OPT_H2" in
|
||||
want_h2="no"
|
||||
AC_MSG_RESULT([no])
|
||||
;;
|
||||
default)
|
||||
dnl configure option not specified
|
||||
want_h2="no"
|
||||
AC_MSG_RESULT([no])
|
||||
;;
|
||||
yes)
|
||||
dnl --with-nghttp2 option used without path
|
||||
want_h2="yes"
|
||||
|
Loading…
x
Reference in New Issue
Block a user