Sha256: a7ff6e75ccd94e02df7f6f87b6fd69456e29f168f6001ad74c897eab72c97442

Contents?: true

Size: 846 Bytes

Versions: 14

Compression:

Stored size: 846 Bytes

Contents

require 'mkmf'

dir_config("puma_http11")

if $mingw && RUBY_VERSION >= '2.4'
  append_cflags  '-fstack-protector-strong -D_FORTIFY_SOURCE=2'
  append_ldflags '-fstack-protector-strong -l:libssp.a'
  have_library 'ssp'
end

unless ENV["DISABLE_SSL"]
  dir_config("openssl")

  if %w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')} and
      %w'ssl ssleay32'.find {|ssl| have_library(ssl, 'SSL_CTX_new')}

    have_header "openssl/bio.h"

    # below is  yes for 1.0.2 & later
    have_func  "DTLS_method"                  , "openssl/ssl.h"

    # below are yes for 1.1.0 & later, may need to check func rather than macro
    # with versions after 1.1.1
    have_func  "TLS_server_method"            , "openssl/ssl.h"
    have_macro "SSL_CTX_set_min_proto_version", "openssl/ssl.h"
  end
end

create_makefile("puma/puma_http11")

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
puma-5.0.4-java ext/puma_http11/extconf.rb
puma-5.0.4 ext/puma_http11/extconf.rb
puma-5.0.3-java ext/puma_http11/extconf.rb
puma-5.0.3 ext/puma_http11/extconf.rb
puma-5.0.2-java ext/puma_http11/extconf.rb
puma-5.0.2 ext/puma_http11/extconf.rb
puma-5.0.1-java ext/puma_http11/extconf.rb
puma-5.0.1 ext/puma_http11/extconf.rb
puma-5.0.0-java ext/puma_http11/extconf.rb
puma-5.0.0 ext/puma_http11/extconf.rb
puma-5.0.0.beta2-java ext/puma_http11/extconf.rb
puma-5.0.0.beta2 ext/puma_http11/extconf.rb
puma-5.0.0.beta1-java ext/puma_http11/extconf.rb
puma-5.0.0.beta1 ext/puma_http11/extconf.rb