configure: add HTTP2 as a curl-config --feature output
authorDaniel Stenberg <daniel@haxx.se>
Thu, 5 Sep 2013 10:03:24 +0000 (12:03 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 5 Sep 2013 10:03:24 +0000 (12:03 +0200)
Fixes the test 1014 failure

configure.ac

index d0c4828..f861124 100644 (file)
@@ -3384,6 +3384,10 @@ if test "x$USE_TLS_SRP" = "x1"; then
   SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
 fi
 
+if test "x$USE_NGHTTP2" = "x1"; then
+  SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP2"
+fi
+
 AC_SUBST(SUPPORT_FEATURES)
 
 dnl For supported protocols in pkg-config file