commit 180e8abf36ee6fe4ceaa58ef63fa32885928e086
parent d6c27e7832c130d5592f585dbc8dc1ce5a13c20d
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 5 Mar 2014 13:20:27 +0000
configure.ac: disable SPDY by default on W32
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -379,14 +379,12 @@ AC_CHECK_LIB([[magic]], [[magic_open]],
AM_CONDITIONAL(HAVE_MAGIC, false))
-# optional: libmicrospdy support. Enabled by default
-AC_MSG_CHECKING(whether to support libmicrospdy)
+# optional: libmicrospdy support. Enabled by default if not on W32
AC_ARG_ENABLE([spdy],
AS_HELP_STRING([--disable-spdy],
[disable libmicrospdy]),
[enable_spdy=${enableval}],
- [enable_spdy=yes])
-AC_MSG_RESULT($enable_spdy)
+ [ AS_IF([[test "x$os_is_windows" = "xyes"]], [enable_spdy=no], [enable_spdy=yes]) ])
if test "$enable_spdy" = "yes"
then