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

Comparing gvpe/autogen.sh (file contents):
Revision 1.1 by pcg, Sat Mar 1 15:53:02 2003 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/"`
85$ACLOCAL -I m4 84$ACLOCAL -I m4
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
89(cd m4 && make -f Makefile.am.in Makefile.am)
90touch doc/gvpe.texi
90$AUTOMAKE --add-missing 91$AUTOMAKE -f --add-missing
92rm doc/gvpe.texi
91autoconf 93autoconf
92autoheader 94autoheader
93(cd m4 && make -f Makefile.am.in Makefile.am)
94 95
95#intltoolize --copy --force --automake 96#intltoolize --copy --force --automake
96 97
97cd $ORIGDIR 98cd $ORIGDIR
98 99
100if [ -e reconf ]; then
101 ./reconf "$@"
99if $srcdir/configure --enable-maintainer-mode "$@"; then 102elif $srcdir/configure --enable-maintainer-mode "$@"; then
100 echo 103 echo
101 echo "Now type 'make' to compile $PROJECT." 104 echo "Now type 'make' to compile $PROJECT."
102else 105else
103 echo 106 echo
104 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