diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9e22a881..72f17957 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -337,8 +337,11 @@ AC_MSG_RESULT($enable_spdy) | |||
337 | if test "$enable_spdy" = "yes" | 337 | if test "$enable_spdy" = "yes" |
338 | then | 338 | then |
339 | AC_CHECK_HEADERS([openssl/err.h], | 339 | AC_CHECK_HEADERS([openssl/err.h], |
340 | [AM_CONDITIONAL(HAVE_OPENSSL, true) | 340 | AC_CHECK_LIB(crypto, SSL_CTX_set_next_protos_advertised_cb, |
341 | enable_spdy="yes"], | 341 | [AM_CONDITIONAL(HAVE_OPENSSL, true) |
342 | enable_spdy="yes"], | ||
343 | [AM_CONDITIONAL(HAVE_OPENSSL, false) | ||
344 | enable_spdy="no"]), | ||
342 | [AM_CONDITIONAL(HAVE_OPENSSL, false) | 345 | [AM_CONDITIONAL(HAVE_OPENSSL, false) |
343 | enable_spdy="no"]) | 346 | enable_spdy="no"]) |
344 | else | 347 | else |