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

set -e
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

THEDIR=`pwd`
cd $srcdir

DIE=0

(autoconf --version) < /dev/null > /dev/null 2>&1 || {
        echo
        echo "You must have autoconf installed to compile virt-viewer."
        echo "Download the appropriate package for your distribution,"
        echo "or see http://www.gnu.org/software/autoconf"
        DIE=1
}

(automake --version) < /dev/null > /dev/null 2>&1 || {
        echo
        DIE=1
        echo "You must have automake installed to compile virt-viewer."
        echo "Download the appropriate package for your distribution,"
        echo "or see http://www.gnu.org/software/automake"
}

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

if test -z "$*"; then<commit_msg>Fix typo in autogen.sh<commit_after>#!/bin/sh
# Run this to generate all the initial makefiles, etc.

set -e
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

THEDIR=`pwd`
cd $srcdir

DIE=0

(autoconf --version) < /dev/null > /dev/null 2>&1 || {
        echo
        echo "You must have autoconf installed to compile libvirt-designer."
        echo "Download the appropriate package for your distribution,"
        echo "or see http://www.gnu.org/software/autoconf"
        DIE=1
}

(automake --version) < /dev/null > /dev/null 2>&1 || {
        echo
        DIE=1
        echo "You must have automake installed to compile libvirt-designer."
        echo "Download the appropriate package for your distribution,"
        echo "or see http://www.gnu.org/software/automake"
}

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

if test -z "$*"; then
{'fraction_non_alphanumeric': 0.1265746850629874, 'fraction_numerical': 0.01199760047990402, 'mean_word_length': 2.526427061310782, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5229701', 'n_tokens_mistral': 564, 'n_tokens_neox': 553, 'n_words': 184}