1#!/bin/sh
2
3if type libtoolize >/dev/null 2>&1
4then
5    LIBTOOLIZE=libtoolize
6else
7    if which glibtoolize >/dev/null
8    then
9	# on the Mac it's called glibtoolize for some reason
10	LIBTOOLIZE=glibtoolize
11    else
12	echo "libtoolize not found"
13	exit 1
14    fi
15fi
16
17aclocal --force
18${LIBTOOLIZE} --force --automake --copy
19autoheader --force
20autoconf --force
21automake -a --copy
22if test "$NOCONFIGURE" != 1; then
23  ./configure --enable-experimental $@
24fi
25