summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index c64c182..59ce6f4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,10 +1,20 @@
1#!/bin/sh 1#!/bin/sh
2required_version=52
3echo -n "Checking for autoconf version >= "${required_version}"......"
4ac_version=`autoconf --version|head -n 1|cut -d . -f 2`
5if [ ${ac_version} -lt ${required_version} ]; then
6 echo "No."
7 echo "You need to install autoconf version >= "${required_version}
8 exit 1
9fi
10echo "Ok."
11
2libtoolize --copy --force --automake || exit 1 12libtoolize --copy --force --automake || exit 1
3rm -f config.cache 13rm -f config.cache
4aclocal 14aclocal
5autoheader 15autoheader
6automake -a 16automake -a
7autoconf 17autoconf
8 18echo "Done."
9 19
10 20