diff options
author | fluxgen <fluxgen> | 2002-10-17 09:30:10 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-10-17 09:30:10 (GMT) |
commit | 05f8009e4537c12f7a6c5cacb980ceb6d168943e (patch) | |
tree | 8dd1d3fdd8d835e7549c22ef72395274f18b23e7 | |
parent | 4d67b9d3d76b94a898a95a9e4e73d91489047b5e (diff) | |
download | fluxbox-05f8009e4537c12f7a6c5cacb980ceb6d168943e.zip fluxbox-05f8009e4537c12f7a6c5cacb980ceb6d168943e.tar.bz2 |
checks for autoconf version
-rwxr-xr-x | autogen.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,10 +1,20 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | required_version=52 | ||
3 | echo -n "Checking for autoconf version >= "${required_version}"......" | ||
4 | ac_version=`autoconf --version|head -n 1|cut -d . -f 2` | ||
5 | if [ ${ac_version} -lt ${required_version} ]; then | ||
6 | echo "No." | ||
7 | echo "You need to install autoconf version >= "${required_version} | ||
8 | exit 1 | ||
9 | fi | ||
10 | echo "Ok." | ||
11 | |||
2 | libtoolize --copy --force --automake || exit 1 | 12 | libtoolize --copy --force --automake || exit 1 |
3 | rm -f config.cache | 13 | rm -f config.cache |
4 | aclocal | 14 | aclocal |
5 | autoheader | 15 | autoheader |
6 | automake -a | 16 | automake -a |
7 | autoconf | 17 | autoconf |
8 | 18 | echo "Done." | |
9 | 19 | ||
10 | 20 | ||