[2349] * MaNGOS moved development to SourceForge.net
[mangos-git.git] / reconf
blobabee32fe2a97693d29eb13bb6ba60e63f6f5cf57
1 #!/bin/sh
3 # Copyright (C) 2005,2006 MaNGOS <http://www.mangosproject.org/>
5 # This file is free software; as a special exception the author gives
6 # unlimited permission to copy and/or distribute it, with or without
7 # modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
11 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 if test -z "`automake --version 2>&1|head -n 1|egrep '1.[5-9]'`"; then
14 echo "Sorry, automake 1.5 or above is required.";
15 exit 1;
18 if test -z "`aclocal --version 2>&1|head -n 1|egrep '1.[5-9]'`"; then
19 echo "Sorry, aclocal 1.5 or above is required.";
20 exit 1;
23 if test -z "`autoconf --version 2>&1|head -n 1|egrep '2.[5-9]'`"; then
24 echo "Sorry, autoconf 2.5 or above is required.";
25 exit 1;
28 if test -z "`autoheader --version 2>&1|head -n 1|egrep '2.[5-9]'`"; then
29 echo "Sorry, autoheader 2.5 or above is required.";
30 exit 1;
33 rm -f config.cache
34 echo "- aclocal."
35 aclocal
36 echo "- autoconf."
37 autoconf
38 echo "- autoheader."
39 autoheader
40 echo "- automake."
41 automake -a -c
42 exit