diff options
Diffstat (limited to 'autogen.sh')
-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 | ||