configure: detect nghttp2 by default
authorDaniel Stenberg <daniel@haxx.se>
Thu, 22 May 2014 06:56:02 +0000 (08:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 May 2014 15:01:14 +0000 (17:01 +0200)
configure.ac

index ae5f1ff..4b87794 100644 (file)
@@ -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"