<commit_before>#!/bin/sh
# Run this to generate all the initial makefiles, etc.

DIE=0


: ${AUTOCONF=autoconf}
: ${AUTOHEADER=autoheader}
: ${ACLOCAL=aclocal}
: ${AUTOMAKE=automake}

($AUTOHEADER --version) < /dev/null > /dev/null 2>&1 || {
  echo
  echo "**Error**: Missing \`autoheader'. The version of \`autoconf'"
  echo "installed doesn't appear recent enough."
  echo "Download the appropriate package for your distribution,"
  echo "or get the source (2.13 or newer) from:"
  echo "http://www.gnu.org/software/autoconf/autoconf.html"
  DIE=1
}

($ACLOCAL --version) < /dev/null > /dev/null 2>&1 || {
  echo
  echo "**Error**: Missing \`aclocal'.  The version of \`automake'"
  echo "installed doesn't appear recent enough."
  echo "See http://www.gnu.org/software/automake"
  echo "to get a recent version (1.4 or newer)"
  DIE=1
}

if test "$DIE" -eq 1; then
  exit 1
fi

aclocalinclude="$ACLOCAL_FLAGS"

echo "Running $ACLOCAL $aclocalinclude ..."
$ACLOCAL $aclocalinclude

echo "Running $AUTOHEADER..."
$AUTOHEADER

echo "Running $AUTOMAKE ..."
$AUTOMAKE

echo "Running $AUTOCONF ..."
$AUTOCONF
<commit_msg>Let automake install missing files, if any.<commit_after>#!/bin/sh
# Run this to generate all the initial makefiles, etc.

DIE=0


: ${AUTOCONF=autoconf}
: ${AUTOHEADER=autoheader}
: ${ACLOCAL=aclocal}
: ${AUTOMAKE=automake}

($AUTOHEADER --version) < /dev/null > /dev/null 2>&1 || {
  echo
  echo "**Error**: Missing \`autoheader'. The version of \`autoconf'"
  echo "installed doesn't appear recent enough."
  echo "Download the appropriate package for your distribution,"
  echo "or get the source (2.13 or newer) from:"
  echo "http://www.gnu.org/software/autoconf/autoconf.html"
  DIE=1
}

($ACLOCAL --version) < /dev/null > /dev/null 2>&1 || {
  echo
  echo "**Error**: Missing \`aclocal'.  The version of \`automake'"
  echo "installed doesn't appear recent enough."
  echo "See http://www.gnu.org/software/automake"
  echo "to get a recent version (1.4 or newer)"
  DIE=1
}

if test "$DIE" -eq 1; then
  exit 1
fi

aclocalinclude="$ACLOCAL_FLAGS"

echo "Running $ACLOCAL $aclocalinclude ..."
$ACLOCAL $aclocalinclude

echo "Running $AUTOHEADER..."
$AUTOHEADER

echo "Running $AUTOMAKE ..."
$AUTOMAKE --add-missing

echo "Running $AUTOCONF ..."
$AUTOCONF

{'fraction_non_alphanumeric': 0.15657894736842104, 'fraction_numerical': 0.012280701754385965, 'mean_word_length': 3.915948275862069, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2670076', 'n_tokens_mistral': 821, 'n_tokens_neox': 804, 'n_words': 239}