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

Comparing gvpe/autogen.sh (file contents):
Revision 1.4 by pcg, Wed Jul 7 00:28:06 2004 UTC vs.
Revision 1.7 by pcg, Sat Nov 10 05:14:21 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/"`
92$AUTOMAKE -f --add-missing 91$AUTOMAKE -f --add-missing
93rm doc/gvpe.texi 92rm doc/gvpe.texi
94autoconf 93autoconf
95autoheader 94autoheader
96 95
97
98#intltoolize --copy --force --automake 96#intltoolize --copy --force --automake
99 97
100cd $ORIGDIR 98cd $ORIGDIR
101 99
100if [ -e reconf ]; then
101 ./reconf "$@"
102if $srcdir/configure --enable-maintainer-mode "$@"; then 102elif $srcdir/configure --enable-maintainer-mode "$@"; then
103 echo 103 echo
104 echo "Now type 'make' to compile $PROJECT." 104 echo "Now type 'make' to compile $PROJECT."
105else 105else
106 echo 106 echo
107 echo "Configure failed or did not finish!" 107 echo "Configure failed or did not finish!"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines