Commit 2ddd69ef authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

configure: detect nghttp2 by default

parent c7638d93
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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"