<commit_before># If --with-zlib=auto, determine if there is a system installed zlib
# greater than our required version.
found_zlib=no

AS_IF([test "x${with_zlib}" = xauto -o "x${with_zlib}" = xsystem], [
   PKG_CHECK_MODULES(ZLIB, [zlib], [
      found_zlib=yes
   ], [
      # If we didn't find zlib with pkgconfig, search manually. If that
      # fails and with-zlib=system, fail, or if with-zlib=auto, use
      # bundled.
      AC_CHECK_LIB([zlib], [compress2], [
         AC_CHECK_HEADER([zlib.h], [
            found_zlib=yes
            ZLIB_LIBRARIES=-lz
         ])
      ])
   ])
], [
   AS_IF([test "x${with_zlib}" != xbundled -a "x${with_zlib}" != xno], [
      AC_MSG_ERROR([Invalid --with-zlib option: must be system, bundled, auto, or no.])
   ])
])<commit_msg>use ZLIB_LIBRARIES not ZLIB_LIBS, 3<commit_after># If --with-zlib=auto, determine if there is a system installed zlib
# greater than our required version.
found_zlib=no

AS_IF([test "x${with_zlib}" = xauto -o "x${with_zlib}" = xsystem], [
   PKG_CHECK_MODULES(ZLIB, [zlib], [
      found_zlib=yes
      ZLIB_LIBRARIES="${ZLIB_LIBS}"
   ], [
      # If we didn't find zlib with pkgconfig, search manually. If that
      # fails and with-zlib=system, fail, or if with-zlib=auto, use
      # bundled.
      AC_CHECK_LIB([zlib], [compress2], [
         AC_CHECK_HEADER([zlib.h], [
            found_zlib=yes
            ZLIB_LIBRARIES=-lz
         ])
      ])
   ])
], [
   AS_IF([test "x${with_zlib}" != xbundled -a "x${with_zlib}" != xno], [
      AC_MSG_ERROR([Invalid --with-zlib option: must be system, bundled, auto, or no.])
   ])
])
{'fraction_non_alphanumeric': 0.14807930607187111, 'fraction_numerical': 0.0018587360594795538, 'mean_word_length': 2.8452380952380953, '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': '1526049', 'n_tokens_mistral': 605, 'n_tokens_neox': 593, 'n_words': 139}