<commit_before>#!/bin/sh

set -e
set -v

make distclean || :

aclocal
autoreconf -i -f
#phpize

PHPEDIR=`php-config --extension-dir | sed -s "s,/usr,$AUTOBUILD_INSTALL_ROOT,"`

./configure --prefix=$AUTOBUILD_INSTALL_ROOT

make
make install PHPEDIR=$PHPEDIR

rm -f *.tar.gz
make dist

if [ -n "$AUTOBUILD_COUNTER" ]; then
  EXTRA_RELEASE=".auto$AUTOBUILD_COUNTER"
else<commit_msg>Override $PHPCDIR make var to allow non-root builds<commit_after>#!/bin/sh

set -e
set -v

make distclean || :

aclocal
autoreconf -i -f
#phpize

PHPEDIR=`php-config --extension-dir | sed -s "s,/usr,$AUTOBUILD_INSTALL_ROOT,"`
PHPCDIR=`php-config --configure-options |
         sed -n 's|.*--with-config-file-scan-dir=\([^ ]*\).*|\1|p' |
         sed -s "s,/etc,$AUTOBUILD_INSTALL_ROOT/etc,"`

./configure --prefix=$AUTOBUILD_INSTALL_ROOT

make
make install PHPEDIR=$PHPEDIR PHPCDIR=$PHPCDIR

rm -f *.tar.gz
make dist

if [ -n "$AUTOBUILD_COUNTER" ]; then
  EXTRA_RELEASE=".auto$AUTOBUILD_COUNTER"
else
{'fraction_non_alphanumeric': 0.16106014271151886, 'fraction_numerical': 0.0010193679918450561, 'mean_word_length': 4.010204081632653, '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': '5578095', 'n_tokens_mistral': 398, 'n_tokens_neox': 390, 'n_words': 84}