aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 59ce6f442110cd7d5a74fc86dec23abef17af8da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
required_version=52
echo -n "Checking for autoconf version >= "${required_version}"......"
ac_version=`autoconf --version|head -n 1|cut -d . -f 2`
if [ ${ac_version} -lt ${required_version} ]; then
	echo "No."
	echo "You need to install autoconf version >= "${required_version}
	exit 1
fi
echo "Ok."

libtoolize --copy --force --automake || exit 1
rm -f config.cache
aclocal
autoheader
automake -a
autoconf
echo "Done."