aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-10-17 09:30:10 (GMT)
committerfluxgen <fluxgen>2002-10-17 09:30:10 (GMT)
commit05f8009e4537c12f7a6c5cacb980ceb6d168943e (patch)
tree8dd1d3fdd8d835e7549c22ef72395274f18b23e7 /autogen.sh
parent4d67b9d3d76b94a898a95a9e4e73d91489047b5e (diff)
downloadfluxbox-05f8009e4537c12f7a6c5cacb980ceb6d168943e.zip
fluxbox-05f8009e4537c12f7a6c5cacb980ceb6d168943e.tar.bz2
checks for autoconf version
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