#!/bin/bash -e # we'll generate ChangeLog when doing `make dist` touch ChangeLog # not everyone has sys-devel/autoconf-archive installed for macro in $(grep -o '\' configure.ac | sort -u) ; do if m4=$(grep -rl "\[${macro}\]" /usr/share/aclocal/) ; then cp -v $m4 m4/ fi done autoreconf -i -f if [[ -x ./test.sh ]] ; then exec ./test.sh "$@" fi