aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-05-22 08:56:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-05-23 17:01:14 +0200
commit2ddd69ef9a6b9e19e9c8bb0175ecb7f2b7cd15d0 (patch)
tree45c0bbb097e2f6c5704bbf72f39bb6f8256719f0
parentc7638d93b0a2f24be7342fa9f902dab835dc837b (diff)
configure: detect nghttp2 by default
-rw-r--r--configure.ac7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index ae5f1ffbb..4b87794a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"