checks for autoconf version
This commit is contained in:
parent
4d67b9d3d7
commit
05f8009e45
1 changed files with 11 additions and 1 deletions
12
autogen.sh
12
autogen.sh
|
@ -1,10 +1,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."
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue