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

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

if test ! -f $srcdir/configure.ac -o ! -f $srcdir/src/adg.h; then
    echo "**Error**: '$srcdir' does not look like the top-level adg directory"
    exit 1
fi

cd $srcdir
glib-gettextize -f || exit $?
libtoolize -f || exit $?

# autoreconf interaction with libtool has been broken for ages:
# explicitely calling libtoolize avoid some problems
libtoolize --automake || exit $?

autoreconf -is -Wall || exit $?

./configure "$@" && echo "Now type 'make' to compile $PROJECT."<commit_msg>[build] Corrected intltoolize call in autogen.sh<commit_after>#!/bin/sh
# Run this to generate all the initial makefiles, etc.

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

if test ! -f $srcdir/configure.ac -o ! -f $srcdir/src/adg.h; then
    echo "**Error**: '$srcdir' does not look like the top-level adg directory"
    exit 1
fi

cd $srcdir
glib-gettextize -f || exit $?
intltoolize -f || exit $?

# autoreconf interaction with libtool has been broken for ages:
# explicitely calling libtoolize avoid some problems
libtoolize --automake || exit $?

autoreconf -is -Wall || exit $?

./configure "$@" && echo "Now type 'make' to compile $PROJECT."
{'fraction_non_alphanumeric': 0.1391509433962264, 'fraction_numerical': 0.0031446540880503146, 'mean_word_length': 3.8037735849056604, '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': '1108637', 'n_tokens_mistral': 443, 'n_tokens_neox': 442, 'n_words': 156}