diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-03-05 13:20:27 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-03-05 13:20:27 +0000 |
commit | 180e8abf36ee6fe4ceaa58ef63fa32885928e086 (patch) | |
tree | 13e0fac6fab256b5d2293c1f220bfea69de0828d | |
parent | d6c27e7832c130d5592f585dbc8dc1ce5a13c20d (diff) | |
download | libmicrohttpd-180e8abf36ee6fe4ceaa58ef63fa32885928e086.tar.gz libmicrohttpd-180e8abf36ee6fe4ceaa58ef63fa32885928e086.zip |
configure.ac: disable SPDY by default on W32
-rw-r--r-- | configure.ac | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 4925ae5a..d1eaa64e 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -379,14 +379,12 @@ AC_CHECK_LIB([[magic]], [[magic_open]], | |||
379 | AM_CONDITIONAL(HAVE_MAGIC, false)) | 379 | AM_CONDITIONAL(HAVE_MAGIC, false)) |
380 | 380 | ||
381 | 381 | ||
382 | # optional: libmicrospdy support. Enabled by default | 382 | # optional: libmicrospdy support. Enabled by default if not on W32 |
383 | AC_MSG_CHECKING(whether to support libmicrospdy) | ||
384 | AC_ARG_ENABLE([spdy], | 383 | AC_ARG_ENABLE([spdy], |
385 | AS_HELP_STRING([--disable-spdy], | 384 | AS_HELP_STRING([--disable-spdy], |
386 | [disable libmicrospdy]), | 385 | [disable libmicrospdy]), |
387 | [enable_spdy=${enableval}], | 386 | [enable_spdy=${enableval}], |
388 | [enable_spdy=yes]) | 387 | [ AS_IF([[test "x$os_is_windows" = "xyes"]], [enable_spdy=no], [enable_spdy=yes]) ]) |
389 | AC_MSG_RESULT($enable_spdy) | ||
390 | 388 | ||
391 | if test "$enable_spdy" = "yes" | 389 | if test "$enable_spdy" = "yes" |
392 | then | 390 | then |