#!/bin/sh

if [ "$OSTYPE" = "darwin" ]; then
    LIBTOOLIZE=glibtoolize
else
    LIBTOOLIZE=libtoolize
fi

aclocal -I admin &&
	$LIBTOOLIZE --automake -c -f &&
	automake --foreign -a -c -f &&
	autoconf && 
	(cd src ; swig -python bottlenecks.i)
