<commit_before>require 'mkmf'

dir_config("puma_http11")

$defs.push "-Wno-deprecated-declarations"
$libs += " -lssl -lcrypto "

create_makefile("puma/puma_http11")<commit_msg>Use library detection instead of hardcoding library paths, for cross-platform compatibility.<commit_after>require 'mkmf'

dir_config("puma_http11")

$defs.push "-Wno-deprecated-declarations"

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

  create_makefile("puma/puma_http11")
end
{'fraction_non_alphanumeric': 0.14338235294117646, 'fraction_numerical': 0.014705882352941176, 'mean_word_length': 7.134328358208955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2613563', 'n_tokens_mistral': 213, 'n_tokens_neox': 206, 'n_words': 37}