annotate autogen.sh @ 10810:9a1ced2bc585

[gaim-migrate @ 12463] This makes conversations contact aware, or is a start to it anyway. All messages from the same contact will appear in the same IM tab. Whoever messaged you last is who your messages go to. Don't forget to run make install in the top level src directory, or some plugin will likely crash gaim, as I changed a struct they use. Known bugs include a crash if you close the convo window (clicking the X on the tab doesn't crash however [actually it used to, but i fixed that one already]), and the history plugin inserting history when it shouldn't. There's probably many more tiny bugs. If you're wondering "how does it handle X?" the answer is probably it doesn't. However, I think this is all stuff our CPWs can handle, if I don't have time to fix it first (and I probably won't til friday). committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Mon, 11 Apr 2005 02:20:34 +0000
parents d881871490dd
children e67993da8a22
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2275
f7bf34a3b535 [gaim-migrate @ 2285]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2177
diff changeset
1 #!/bin/sh
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
2
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
3 SETUP_GETTEXT=./setup-gettext
3388
83314a9985ef [gaim-migrate @ 3407]
Christian Hammond <chipx86@chipx86.com>
parents: 3174
diff changeset
4
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
5 ($SETUP_GETTEXT --gettext-tool) < /dev/null > /dev/null 2>&1 || {
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
6 echo;
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
7 echo "You must have gettext installed to compile Gaim";
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
8 echo;
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
9 exit;
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
10 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
11
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
12 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
13 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
14 echo "You must have libtool installed to compile Gaim";
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
15 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
16 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
17 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
18
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
19 (automake --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
20 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
21 echo "You must have automake installed to compile Gaim";
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
22 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
23 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
24 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
25
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
26 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
27 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
28 echo "You must have autoconf installed to compile Gaim";
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
29 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
30 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
31 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
32
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
33 echo "Generating configuration files for Gaim, please wait...."
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
34 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
35
3444
d5bb9c7b6e0a [gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents: 3414
diff changeset
36 # Backup the po/ChangeLog. This should prevent the annoying
d5bb9c7b6e0a [gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents: 3414
diff changeset
37 # gettext ChangeLog modifications.
d5bb9c7b6e0a [gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents: 3414
diff changeset
38
d5bb9c7b6e0a [gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents: 3414
diff changeset
39 cp -p po/ChangeLog po/ChangeLog.save
d5bb9c7b6e0a [gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents: 3414
diff changeset
40
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
41 echo "Running gettextize, please ignore non-fatal messages...."
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
42 $SETUP_GETTEXT
3407
02a10c03e3e1 [gaim-migrate @ 3426]
Christian Hammond <chipx86@chipx86.com>
parents: 3405
diff changeset
43
3444
d5bb9c7b6e0a [gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents: 3414
diff changeset
44 # Restore the po/ChangeLog file.
d5bb9c7b6e0a [gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents: 3414
diff changeset
45 mv po/ChangeLog.save po/ChangeLog
d5bb9c7b6e0a [gaim-migrate @ 3485]
Christian Hammond <chipx86@chipx86.com>
parents: 3414
diff changeset
46
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
47 echo "Running libtoolize, please ignore non-fatal messages...."
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
48 echo n | libtoolize --copy --force || exit;
2162
a464da684307 [gaim-migrate @ 2172]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2157
diff changeset
49
3566
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
50 # Add other directories to this list if people continue to experience
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
51 # brokennesses ... Obviously the real answer is for them to fix it
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
52 # themselves, but for Luke's sake we have this.
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
53 for dir in "/usr/local/share/aclocal" \
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
54 "/opt/gnome-1.4/share/aclocal"
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
55 do
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
56 if test -d $dir ; then
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
57 ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir"
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
58 fi
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
59 done
3505
67b0832e9542 [gaim-migrate @ 3570]
Sean Egan <seanegan@gmail.com>
parents: 3444
diff changeset
60
4564
27354602734d [gaim-migrate @ 4845]
Nathan Walp <nwalp@pidgin.im>
parents: 3566
diff changeset
61 aclocal $ACLOCAL_FLAGS || exit;
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
62 autoheader || exit;
2770
24ebd5e321e4 [gaim-migrate @ 2783]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2754
diff changeset
63 automake --add-missing --copy;
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
64 autoconf || exit;
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
65 automake || exit;
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
66 ./configure $@
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
67