Last change
on this file since 5008 was
5008,
checked in by charles, 15 years ago
|
invoke configure at the end of autogen
|
-
Property svn:executable set to
*
|
File size:
976 bytes
|
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 && glibtoolize --help >/dev/null 2>&1 |
---|
17 | then |
---|
18 | LIBTOOLIZE=glibtoolize |
---|
19 | fi |
---|
20 | export LIBTOOLIZE |
---|
21 | |
---|
22 | autoreconf -fi -I m4 |
---|
23 | |
---|
24 | if test "$GETTEXTIZE"; then |
---|
25 | echo "Creating aclocal.m4 ..." |
---|
26 | test -r aclocal.m4 || touch aclocal.m4 |
---|
27 | echo "Running $GETTEXTIZE... Ignore non-fatal messages." |
---|
28 | echo "no" | $GETTEXTIZE --force --copy |
---|
29 | echo "Making aclocal.m4 writable ..." |
---|
30 | test -r aclocal.m4 && chmod u+w aclocal.m4 |
---|
31 | echo "Running intltoolize..." |
---|
32 | intltoolize --copy --force --automake |
---|
33 | fi |
---|
34 | |
---|
35 | cd $ORIGDIR || exit $? |
---|
36 | |
---|
37 | if test -z "$AUTOGEN_SUBDIR_MODE"; then |
---|
38 | $srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" || exit $? |
---|
39 | echo |
---|
40 | echo "Now type 'make' to compile $PROJECT." |
---|
41 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.