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

Comparing gvpe/autogen.sh (file contents):
Revision 1.5 by pcg, Thu Mar 29 17:35:20 2007 UTC vs.
Revision 1.8 by pcg, Sun Nov 11 04:08:58 2007 UTC

2 2
3AUTOCONF_REQUIRED_VERSION=2.57 3AUTOCONF_REQUIRED_VERSION=2.57
4AUTOMAKE_REQUIRED_VERSION=1.7 4AUTOMAKE_REQUIRED_VERSION=1.7
5INTLTOOL_REQUIRED_VERSION=0.17 5INTLTOOL_REQUIRED_VERSION=0.17
6 6
7if ! [ -e libev/ev++.h ]; then
8 cat <<EOF
9**
10** libev/ directory is missing
11**
12** you need a checkout of libev (http://software.schmorp.de/pkg/libev)
13** in the top-level build directory.
14**
15EOF
16 exit 1
17fi
7 18
8srcdir=`dirname $0` 19srcdir=`dirname $0`
9test -z "$srcdir" && srcdir=. 20test -z "$srcdir" && srcdir=.
10ORIGDIR=`pwd` 21ORIGDIR=`pwd`
11cd $srcdir 22cd $srcdir
41 AUTOMAKE=automake-1.7 52 AUTOMAKE=automake-1.7
42 ACLOCAL=aclocal-1.7 53 ACLOCAL=aclocal-1.7
43else 54else
44 echo 55 echo
45 echo " You must have automake 1.7 installed to compile $PROJECT." 56 echo " You must have automake 1.7 installed to compile $PROJECT."
46 echo " (or a newer version if it is available)"
47# DIE=1 57# DIE=1
48fi 58fi
49 59
50if test x$AUTOMAKE != x; then 60if test x$AUTOMAKE != x; then
51 VER=`$AUTOMAKE --version \ 61 VER=`$AUTOMAKE --version \
92$AUTOMAKE -f --add-missing 102$AUTOMAKE -f --add-missing
93rm doc/gvpe.texi 103rm doc/gvpe.texi
94autoconf 104autoconf
95autoheader 105autoheader
96 106
97
98#intltoolize --copy --force --automake 107#intltoolize --copy --force --automake
99 108
100cd $ORIGDIR 109cd $ORIGDIR
101 110
111if [ -e reconf ]; then
112 ./reconf "$@"
102if $srcdir/configure --enable-maintainer-mode "$@"; then 113elif $srcdir/configure --enable-maintainer-mode "$@"; then
103 echo 114 echo
104 echo "Now type 'make' to compile $PROJECT." 115 echo "Now type 'make' to compile $PROJECT."
105else 116else
106 echo 117 echo
107 echo "Configure failed or did not finish!" 118 echo "Configure failed or did not finish!"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines