#!/bin/sh echo -n 'Running libtoolize... ' if [ `uname -s` = Darwin ] then LIBTOOLIZE=glibtoolize else LIBTOOLIZE=libtoolize fi if $LIBTOOLIZE --force; then echo 'done.' else echo 'failed.' exit 1 fi echo -n 'Running aclocal... ' if aclocal; then echo 'done.' else echo 'failed.' exit 1 fi echo -n 'Running autoheader... ' if autoheader; then echo 'done.' else echo 'failed.' exit 1 fi echo -n 'Running automake... ' if automake --add-missing; then echo 'done.' else echo 'failed.' exit 1 fi echo -n 'Running autoconf... ' if autoconf; then echo 'done.' else echo 'failed.' exit 1 fi