Sha256: 77a3953a013ef2309598c65d973b6f4410fbcdd13d6a35acb8aab011f590e974

Contents?: true

Size: 793 Bytes

Versions: 17

Compression:

Stored size: 793 Bytes

Contents

require 'mkmf'

dir_config("puma_http11")
if RUBY_PLATFORM[/mingw32/]
  append_cflags '-D_FORTIFY_SOURCE=2'
  append_ldflags '-fstack-protector'
  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

17 entries across 17 versions & 3 rubygems

Version Path
puma-4.3.6-java ext/puma_http11/extconf.rb
puma-4.3.6 ext/puma_http11/extconf.rb
gitlab-puma-4.3.5.gitlab.3 ext/puma_http11/extconf.rb
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/puma-4.3.0/ext/puma_http11/extconf.rb
puma-4.3.5-java ext/puma_http11/extconf.rb
puma-4.3.5 ext/puma_http11/extconf.rb
puma-4.3.4-java ext/puma_http11/extconf.rb
puma-4.3.4 ext/puma_http11/extconf.rb
gitlab-puma-4.3.3.gitlab.2 ext/puma_http11/extconf.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/puma-4.3.0/ext/puma_http11/extconf.rb
puma-4.3.3-java ext/puma_http11/extconf.rb
puma-4.3.3 ext/puma_http11/extconf.rb
gitlab-puma-4.3.1.gitlab.2 ext/puma_http11/extconf.rb
puma-4.3.1-java ext/puma_http11/extconf.rb
puma-4.3.1 ext/puma_http11/extconf.rb
puma-4.3.0-java ext/puma_http11/extconf.rb
puma-4.3.0 ext/puma_http11/extconf.rb