autogen.sh 380 Bytes
Newer Older
Daniel Drake's avatar
Daniel Drake committed
1
#!/bin/sh
2 3 4 5

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

6 7
olddir=`pwd`
cd "$srcdir"
8

Daniel Drake's avatar
Daniel Drake committed
9
aclocal || exit 1
Bastien Nocera's avatar
Bastien Nocera committed
10 11
autoheader || exit 1
glib-gettextize -f -c || exit 1
12
gtkdocize --copy || exit 1
Bastien Nocera's avatar
Bastien Nocera committed
13
intltoolize -c -f || exit 1
14
libtoolize -c || exit 1
Daniel Drake's avatar
Daniel Drake committed
15 16
autoconf || exit 1
automake -a -c || exit 1
17 18

cd "$olddir"
19

20
if test -z "$NOCONFIGURE"; then
21
	$srcdir/configure --enable-maintainer-mode $*
22
fi