… | |
… | |
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 |
… | |
… | |
91 | $AUTOMAKE -f --add-missing |
102 | $AUTOMAKE -f --add-missing |
92 | rm doc/gvpe.texi |
103 | rm doc/gvpe.texi |
93 | autoconf |
104 | autoconf |
94 | autoheader |
105 | autoheader |
95 | |
106 | |
96 | |
|
|
97 | #intltoolize --copy --force --automake |
107 | #intltoolize --copy --force --automake |
98 | |
108 | |
99 | cd $ORIGDIR |
109 | cd $ORIGDIR |
100 | |
110 | |
|
|
111 | if [ -e reconf ]; then |
|
|
112 | ./reconf "$@" |
101 | if $srcdir/configure --enable-maintainer-mode "$@"; then |
113 | elif $srcdir/configure --enable-maintainer-mode "$@"; then |
102 | echo |
114 | echo |
103 | echo "Now type 'make' to compile $PROJECT." |
115 | echo "Now type 'make' to compile $PROJECT." |
104 | else |
116 | else |
105 | echo |
117 | echo |
106 | echo "Configure failed or did not finish!" |
118 | echo "Configure failed or did not finish!" |