1#!/bin/sh
2
3srcdir=`dirname $0`
4test -z "$srcdir" && srcdir=.
5
6pushd $srcdir
7
8aclocal || exit 1
9autoheader || exit 1
10glib-gettextize -f -c || exit 1
11gtkdocize --copy || exit 1
12intltoolize -c -f || exit 1
13libtoolize -c || exit 1
14autoconf || exit 1
15automake -a -c || exit 1
16popd
17
18if test -z "$NOCONFIGURE"; then
19	$srcdir/configure --enable-maintainer-mode $*
20fi
21