Thu, 16 Feb 2006 02:08:04 +0000
[gaim-migrate @ 15664]
Make the i18n stuff work again.
|
2275
137bb0c5d76e
[gaim-migrate @ 2285]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2177
diff
changeset
|
1 | #!/bin/sh |
| 1863 | 2 | |
|
13188
18c84b642ab7
[gaim-migrate @ 15550]
Richard Laager <rlaager@pidgin.im>
parents:
13180
diff
changeset
|
3 | (intltoolize --version) < /dev/null > /dev/null 2>&1 || { |
|
3414
6bb9e43e50b5
[gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents:
3413
diff
changeset
|
4 | echo; |
|
13188
18c84b642ab7
[gaim-migrate @ 15550]
Richard Laager <rlaager@pidgin.im>
parents:
13180
diff
changeset
|
5 | echo "You must have intltool installed to compile Gaim"; |
|
3414
6bb9e43e50b5
[gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents:
3413
diff
changeset
|
6 | echo; |
|
6bb9e43e50b5
[gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents:
3413
diff
changeset
|
7 | exit; |
| 1863 | 8 | } |
| 9 | ||
| 10 | (libtoolize --version) < /dev/null > /dev/null 2>&1 || { | |
| 11 | echo; | |
| 12 | echo "You must have libtool installed to compile Gaim"; | |
| 13 | echo; | |
| 14 | exit; | |
| 15 | } | |
| 16 | ||
| 17 | (automake --version) < /dev/null > /dev/null 2>&1 || { | |
| 18 | echo; | |
| 19 | echo "You must have automake installed to compile Gaim"; | |
| 20 | echo; | |
| 21 | exit; | |
| 22 | } | |
| 23 | ||
| 24 | (autoconf --version) < /dev/null > /dev/null 2>&1 || { | |
| 25 | echo; | |
| 26 | echo "You must have autoconf installed to compile Gaim"; | |
| 27 | echo; | |
| 28 | exit; | |
| 29 | } | |
| 30 | ||
| 31 | echo "Generating configuration files for Gaim, please wait...." | |
| 32 | echo; | |
| 33 | ||
| 34 | echo "Running libtoolize, please ignore non-fatal messages...." | |
|
2754
1deb656ee517
[gaim-migrate @ 2767]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2415
diff
changeset
|
35 | echo n | libtoolize --copy --force || exit; |
|
2162
2a9f076b0af9
[gaim-migrate @ 2172]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2157
diff
changeset
|
36 | |
| 3566 | 37 | # Add other directories to this list if people continue to experience |
| 38 | # brokennesses ... Obviously the real answer is for them to fix it | |
| 39 | # themselves, but for Luke's sake we have this. | |
| 40 | for dir in "/usr/local/share/aclocal" \ | |
| 41 | "/opt/gnome-1.4/share/aclocal" | |
| 42 | do | |
| 43 | if test -d $dir ; then | |
| 44 | ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir" | |
| 45 | fi | |
| 46 | done | |
| 3505 | 47 | |
|
13180
4cce5a554f53
[gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents:
12024
diff
changeset
|
48 | libtoolize -c -f --automake |
|
4cce5a554f53
[gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents:
12024
diff
changeset
|
49 | intltoolize --force --copy |
| 13294 | 50 | aclocal $ACLOCAL_FLAGS || exit; |
|
2754
1deb656ee517
[gaim-migrate @ 2767]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2415
diff
changeset
|
51 | autoheader || exit; |
|
2770
d601b7b6eec9
[gaim-migrate @ 2783]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2754
diff
changeset
|
52 | automake --add-missing --copy; |
|
2754
1deb656ee517
[gaim-migrate @ 2767]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2415
diff
changeset
|
53 | autoconf || exit; |
|
1deb656ee517
[gaim-migrate @ 2767]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2415
diff
changeset
|
54 | automake || exit; |
| 1863 | 55 | ./configure $@ |
| 56 |