<commit_before># If --with-libbson=auto, determine if there is a system installed libbson
# greater than our required version.
AS_IF([test "$with_libbson" = "auto"],
      [PKG_CHECK_MODULES(BSON, [libbson >= libbson_required_version],
                         [with_libbson=system],
                         [with_libbson=bundled])])

# If we are to use the system, check for libbson enforcing success.
AS_IF([test "$with_libbson" = "system"],
      [PKG_CHECK_MODULES(BSON, [libbson >= libbson_required_version])])

# If we are using the bundled libbson, recurse into its configure.
AS_IF([test "$with_libbson" = "bundled"],
      [AC_CONFIG_SUBDIRS([src/libbson])
       AC_DEFINE(BSON_CFLAGS, [-Isrc/libbson/src/bson])
       AC_DEFINE(BSON_LIBS, [libbson-1.0.la])
       AC_SUBST(BSON_CFLAGS)
       AC_SUBST(BSON_LIBS)])<commit_msg>build: just use AC_SUBST, no need to define -D preprocessor.<commit_after># If --with-libbson=auto, determine if there is a system installed libbson
# greater than our required version.
AS_IF([test "$with_libbson" = "auto"],
      [PKG_CHECK_MODULES(BSON, [libbson >= libbson_required_version],
                         [with_libbson=system],
                         [with_libbson=bundled])])

# If we are to use the system, check for libbson enforcing success.
AS_IF([test "$with_libbson" = "system"],
      [PKG_CHECK_MODULES(BSON, [libbson >= libbson_required_version])])

# If we are using the bundled libbson, recurse into its configure.
AS_IF([test "$with_libbson" = "bundled"],
      [AC_CONFIG_SUBDIRS([src/libbson])
       AC_SUBST(BSON_CFLAGS, [-Isrc/libbson/src/bson])
       AC_SUBST(BSON_LIBS, [libbson-1.0.la])])
{'fraction_non_alphanumeric': 0.12492492492492492, 'fraction_numerical': 0.0024024024024024023, 'mean_word_length': 3.6277777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '892680', 'n_tokens_mistral': 601, 'n_tokens_neox': 592, 'n_words': 132}