… | |
… | |
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 | |
… | |
… | |
41 | AUTOMAKE=automake-1.7 |
41 | AUTOMAKE=automake-1.7 |
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)" |
|
|
47 | DIE=1 |
46 | # DIE=1 |
48 | fi |
47 | fi |
49 | |
48 | |
50 | if test x$AUTOMAKE != x; then |
49 | if test x$AUTOMAKE != x; then |
51 | VER=`$AUTOMAKE --version \ |
50 | VER=`$AUTOMAKE --version \ |
52 | | grep automake | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"` |
51 | | grep automake | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"` |
… | |
… | |
86 | |
85 | |
87 | # optionally feature autoheader |
86 | # optionally feature autoheader |
88 | (autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader |
87 | (autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader |
89 | |
88 | |
90 | (cd m4 && make -f Makefile.am.in Makefile.am) |
89 | (cd m4 && make -f Makefile.am.in Makefile.am) |
91 | touch doc/vpe.texi |
90 | touch doc/gvpe.texi |
92 | $AUTOMAKE --add-missing |
91 | $AUTOMAKE -f --add-missing |
93 | rm doc/vpe.texi |
92 | rm doc/gvpe.texi |
94 | autoconf |
93 | autoconf |
95 | autoheader |
94 | autoheader |
96 | |
95 | |
97 | |
96 | |
98 | #intltoolize --copy --force --automake |
97 | #intltoolize --copy --force --automake |