blob: c0d09b35e0121f4c7ab874e3f7b3da3dbc014b08 [file] [log] [blame]
#!/bin/bash
echo -n 'Running libtoolize...'
if [ `uname -s` = Darwin ]
then
LIBTOOLIZE=glibtoolize
else
LIBTOOLIZE=libtoolize
fi
if $LIBTOOLIZE --force > /dev/null 2>&1; then
echo 'done.'
else
echo 'failed.'
exit 1
fi
echo -n 'Running aclocal...'
if aclocal > /dev/null 2>&1; then
echo 'done.'
else
echo 'failed.'
exit 1
fi
echo -n 'Running autoheader...'
if autoheader > /dev/null 2>&1; then
echo 'done.'
else
echo 'failed.'
exit 1
fi
echo -n 'Running autoconf...'
if autoconf > /dev/null 2>&1; then
echo 'done.'
else
echo 'failed.'
exit 1
fi
echo -n 'Running automake...'
if automake --add-missing > /dev/null 2>&1; then
echo 'done.'
else
echo 'failed.'
exit 1
fi
echo 'done'