<commit_before>require 'brewkit'

class Guile <Formula
  @url='ftp://alpha.gnu.org/gnu/guile/guile-1.9.3.tar.gz'
  @homepage='http://www.gnu.org/software/guile/'
  @sha1='c8d1d25ed413b48493ec5b0cbf4de8593cab4a21'

  depends_on 'libunistring'
  depends_on 'bdw-gc'
  depends_on 'gmp'
  
  # GNU Readline is required
  # libedit won't work.
  depends_on 'readline'

  def install
    ENV['PKG_CONFIG_PATH'] = "#{HOMEBREW_PREFIX}/lib/pkgconfig"

    system "./configure",
        "--prefix=#{prefix}", 
        "--disable-debug", 
        "--disable-dependency-tracking",
        # Specifically look for readline here
        # At least, we don't want the fake readline in
        # /usr/lib to trump us, since it doesn't export
        # all the same symbols
        # --adamv
        "--with-libreadline-prefix=#{HOMEBREW_PREFIX}"
    system "make install"
  end
end<commit_msg>Readline is keg only, so use its prefix<commit_after>require 'brewkit'

class Guile <Formula
  @url='ftp://alpha.gnu.org/gnu/guile/guile-1.9.3.tar.gz'
  @homepage='http://www.gnu.org/software/guile/'
  @sha1='c8d1d25ed413b48493ec5b0cbf4de8593cab4a21'

  depends_on 'libunistring'
  depends_on 'bdw-gc'
  depends_on 'gmp'
  
  # GNU Readline is required
  # libedit won't work.
  depends_on 'readline'

  def install
    system "./configure",
        "--prefix=#{prefix}", 
        "--disable-debug", 
        "--disable-dependency-tracking",
        # Specifically look for readline here
        # At least, we don't want the fake readline in
        # /usr/lib to trump us, since it doesn't export
        # all the same symbols
        # --adamv
        "--with-libreadline-prefix=#{Formula.factory('readline').prefix}"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.1309111880046136, 'fraction_numerical': 0.029988465974625143, 'mean_word_length': 2.7882096069868996, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6780215', 'n_tokens_mistral': 648, 'n_tokens_neox': 607, 'n_words': 134}