ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/autogen.sh
(Generate patch)

Comparing gvpe/autogen.sh (file contents):
Revision 1.2 by pcg, Sat Mar 1 16:56:43 2003 UTC vs.
Revision 1.6 by pcg, Mon Oct 15 22:19:49 2007 UTC

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
24DIE=0 24DIE=0
25 25
41 AUTOMAKE=automake-1.7 41 AUTOMAKE=automake-1.7
42 ACLOCAL=aclocal-1.7 42 ACLOCAL=aclocal-1.7
43else 43else
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
48fi 47fi
49 48
50if test x$AUTOMAKE != x; then 49if 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)
90touch doc/gvpe.texi
91$AUTOMAKE --add-missing 91$AUTOMAKE -f --add-missing
92rm doc/gvpe.texi
92autoconf 93autoconf
93autoheader 94autoheader
95
94 96
95#intltoolize --copy --force --automake 97#intltoolize --copy --force --automake
96 98
97cd $ORIGDIR 99cd $ORIGDIR
98 100

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines