… | |
… | |
2 | |
2 | |
3 | AUTOCONF_REQUIRED_VERSION=2.57 |
3 | AUTOCONF_REQUIRED_VERSION=2.57 |
4 | AUTOMAKE_REQUIRED_VERSION=1.7 |
4 | AUTOMAKE_REQUIRED_VERSION=1.7 |
5 | INTLTOOL_REQUIRED_VERSION=0.17 |
5 | INTLTOOL_REQUIRED_VERSION=0.17 |
6 | |
6 | |
|
|
7 | if ! [ -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 | ** |
|
|
15 | EOF |
|
|
16 | exit 1 |
|
|
17 | fi |
7 | |
18 | |
8 | srcdir=`dirname $0` |
19 | srcdir=`dirname $0` |
9 | test -z "$srcdir" && srcdir=. |
20 | test -z "$srcdir" && srcdir=. |
10 | ORIGDIR=`pwd` |
21 | ORIGDIR=`pwd` |
11 | cd $srcdir |
22 | cd $srcdir |
… | |
… | |
41 | AUTOMAKE=automake-1.7 |
52 | AUTOMAKE=automake-1.7 |
42 | ACLOCAL=aclocal-1.7 |
53 | ACLOCAL=aclocal-1.7 |
43 | else |
54 | else |
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 |
48 | fi |
58 | fi |
49 | |
59 | |
50 | if test x$AUTOMAKE != x; then |
60 | if test x$AUTOMAKE != x; then |
51 | VER=`$AUTOMAKE --version \ |
61 | VER=`$AUTOMAKE --version \ |
… | |
… | |
92 | $AUTOMAKE -f --add-missing |
102 | $AUTOMAKE -f --add-missing |
93 | rm doc/gvpe.texi |
103 | rm doc/gvpe.texi |
94 | autoconf |
104 | autoconf |
95 | autoheader |
105 | autoheader |
96 | |
106 | |
97 | |
|
|
98 | #intltoolize --copy --force --automake |
107 | #intltoolize --copy --force --automake |
99 | |
108 | |
100 | cd $ORIGDIR |
109 | cd $ORIGDIR |
101 | |
110 | |
|
|
111 | if [ -e reconf ]; then |
|
|
112 | ./reconf "$@" |
102 | if $srcdir/configure --enable-maintainer-mode "$@"; then |
113 | elif $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." |
105 | else |
116 | else |
106 | echo |
117 | echo |
107 | echo "Configure failed or did not finish!" |
118 | echo "Configure failed or did not finish!" |