… | |
… | |
15 | { |
15 | { |
16 | if expr $1 \>= $2 > /dev/null; then |
16 | if expr $1 \>= $2 > /dev/null; then |
17 | echo "yes (version $1)" |
17 | echo "yes (version $1)" |
18 | else |
18 | else |
19 | echo "Too old (found version $1)!" |
19 | echo "Too old (found version $1)!" |
20 | DIE=1 |
20 | # DIE=1 |
21 | fi |
21 | fi |
22 | } |
22 | } |
23 | |
23 | |
24 | DIE=0 |
24 | DIE=0 |
25 | |
25 | |
… | |
… | |
42 | ACLOCAL=aclocal-1.7 |
42 | ACLOCAL=aclocal-1.7 |
43 | else |
43 | else |
44 | echo |
44 | echo |
45 | echo " You must have automake 1.7 installed to compile $PROJECT." |
45 | echo " You must have automake 1.7 installed to compile $PROJECT." |
46 | echo " (or a newer version if it is available)" |
46 | echo " (or a newer version if it is available)" |
47 | DIE=1 |
47 | # DIE=1 |
48 | fi |
48 | fi |
49 | |
49 | |
50 | if test x$AUTOMAKE != x; then |
50 | if test x$AUTOMAKE != x; then |
51 | VER=`$AUTOMAKE --version \ |
51 | VER=`$AUTOMAKE --version \ |
52 | | grep automake | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"` |
52 | | grep automake | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"` |