Last change
on this file since 10151 was
10151,
checked in by charles, 12 years ago
|
(trunk) #2553 "autogen failure" -- fixed in trunk for 1.90
|
-
Property svn:executable set to
*
|
File size:
1.0 KB
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | srcdir=`dirname $0` |
---|
3 | test -z "$srcdir" && srcdir=. |
---|
4 | |
---|
5 | ORIGDIR=`pwd` |
---|
6 | cd "$srcdir" |
---|
7 | PROJECT=Transmission |
---|
8 | |
---|
9 | GETTEXTIZE="glib-gettextize" |
---|
10 | $GETTEXTIZE --version < /dev/null > /dev/null 2>&1 |
---|
11 | if test $? -ne 0; then |
---|
12 | GETTEXTIZE="" |
---|
13 | fi |
---|
14 | |
---|
15 | LIBTOOLIZE=libtoolize |
---|
16 | if libtoolize --help >/dev/null 2>&1 |
---|
17 | then |
---|
18 | : |
---|
19 | elif glibtoolize --help >/dev/null 2>&1 |
---|
20 | then |
---|
21 | LIBTOOLIZE=glibtoolize |
---|
22 | fi |
---|
23 | export LIBTOOLIZE |
---|
24 | |
---|
25 | ./update-version-h.sh |
---|
26 | |
---|
27 | autoreconf -fi -I "${ORIGDIR}/m4" |
---|
28 | |
---|
29 | if test "$GETTEXTIZE"; then |
---|
30 | echo "Creating aclocal.m4 ..." |
---|
31 | test -r aclocal.m4 || touch aclocal.m4 |
---|
32 | echo "Running $GETTEXTIZE... Ignore non-fatal messages." |
---|
33 | echo "no" | $GETTEXTIZE --force --copy |
---|
34 | echo "Making aclocal.m4 writable ..." |
---|
35 | test -r aclocal.m4 && chmod u+w aclocal.m4 |
---|
36 | echo "Running intltoolize..." |
---|
37 | intltoolize --copy --force --automake |
---|
38 | fi |
---|
39 | |
---|
40 | cd "$ORIGDIR" || exit $? |
---|
41 | |
---|
42 | if test -z "$AUTOGEN_SUBDIR_MODE"; then |
---|
43 | echo Running $srcdir/configure --enable-maintainer-mode "$@" |
---|
44 | $srcdir/configure --enable-maintainer-mode "$@" |
---|
45 | |
---|
46 | echo |
---|
47 | echo "Now type 'make' to compile $PROJECT." |
---|
48 | fi |
---|
49 | |
---|
Note: See
TracBrowser
for help on using the repository browser.