summaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: df5b3d73f945a50fb901e4e1ae4d1e349a21f5ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/sh
echo -n 'Running libtoolize... '
if [ `uname -s` = Darwin ]
then
	LIBTOOLIZE=glibtoolize
else
	LIBTOOLIZE=libtoolize
fi

if $LIBTOOLIZE --force; then
	echo 'done.'
else
	echo 'failed.'
	exit 1
fi

echo -n 'Running aclocal... '
if aclocal; then
	echo 'done.'
else
	echo 'failed.'
	exit 1
fi

echo -n 'Running autoheader... '
if autoheader; then
	echo 'done.'
else
	echo 'failed.'
	exit 1
fi

echo -n 'Running automake... '
if automake --add-missing; then
	echo 'done.'
else
	echo 'failed.'
	exit 1
fi

echo -n 'Running autoconf... '
if autoconf; then
	echo 'done.'
else
	echo 'failed.'
	exit 1
fi