#!/bin/sh aclocal || exit 1 # on Mac libtoolize is called glibtoolize LIBTOOLIZE=libtoolize if [ `uname -s` = Darwin ]; then LIBTOOLIZE=glibtoolize fi $LIBTOOLIZE --automake -c || exit 1 autoconf -f || exit 1 automake -a -c --foreign || exit 1