<commit_before># arg_with_string.m4 - syntax sugar for AC_ARG_WITH
#
# Copyright (c) 2015 <NAME> <<EMAIL>>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.

# ACX_ARG_WITH_DEFINE_STRING([OPTION], [HELP-STRING], [DEFAULT])
# -------------------------------------------------------
AC_DEFUN([ACX_ARG_WITH_DEFINE_STRING], [
    AC_MSG_CHECKING([$2])
    AC_ARG_WITH([$1], [AS_HELP_STRING([--with-$1=$3], [$2])])
    AS_VAR_IF(AS_TR_SH([with_$1]), [], [
        AC_CACHE_VAL(AS_TR_SH([acx_cv_arg_with_$1]), [
            AS_VAR_SET(AS_TR_SH([acx_cv_arg_with_$1]), [$3])])
        AS_VAR_COPY(AS_TR_SH([with_$1]), AS_TR_SH([acx_cv_arg_with_$1]))])
    AC_MSG_RESULT([$]AS_TR_SH([with_$1]))
    AC_DEFINE_UNQUOTED(AS_TR_CPP([$1]), ["$]AS_TR_SH([with_$1])["], [$2])
    AS_VAR_COPY(AS_TR_SH([acx_cv_arg_with_$1]), AS_TR_SH([with_$1]))])
<commit_msg>Clean up<commit_after># arg_with_string.m4 - syntax sugar for AC_ARG_WITH
#
# Copyright (c) 2015 <NAME> <<EMAIL>>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.

# ACX_ARG_WITH_DEFINE_STRING([OPTION], [HELP-STRING], [DEFAULT])
# -------------------------------------------------------
AC_DEFUN([ACX_ARG_WITH_DEFINE_STRING], [
    AC_MSG_CHECKING([$2])
    AC_ARG_WITH([$1], [AS_HELP_STRING([--with-$1=$3], [$2])])
    AS_VAR_IF(AS_TR_SH([with_$1]), [], [
        AC_CACHE_VAL(AS_TR_SH([acx_cv_arg_with_$1]), [
            AS_VAR_SET(AS_TR_SH([acx_cv_arg_with_$1]), [$3])])
        AS_VAR_COPY(AS_TR_SH([with_$1]), AS_TR_SH([acx_cv_arg_with_$1]))])
    AC_MSG_RESULT([$]AS_TR_SH([with_$1]))
    AC_DEFINE_UNQUOTED(AS_TR_CPP([$1]), ["$]AS_TR_SH([with_$1])["], [$2])
    AS_VAR_COPY(AS_TR_SH([acx_cv_arg_with_$1]), AS_TR_SH([with_$1]))])
{'fraction_non_alphanumeric': 0.21448999046711154, 'fraction_numerical': 0.022878932316491896, 'mean_word_length': 4.10705596107056, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5259006', 'n_tokens_mistral': 841, 'n_tokens_neox': 816, 'n_words': 147}