annotate autogen.sh @ 13808:34d086c78a0d

[gaim-migrate @ 16234] Use libxml2 on win32 too. This increases the installer size by ~400K (oh well). committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 08 Jun 2006 15:13:39 +0000
parents 44a8d46ee3c1
children c18bdf510325
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
13187
7e34397e134e [gaim-migrate @ 15550]
Richard Laager <rlaager@wiktel.com>
parents: 13179
diff changeset
3 (intltoolize --version) < /dev/null > /dev/null 2>&1 || {
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
4 echo;
13187
7e34397e134e [gaim-migrate @ 15550]
Richard Laager <rlaager@wiktel.com>
parents: 13179
diff changeset
5 echo "You must have intltool installed to compile Gaim";
3414
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 exit;
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
8 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
9
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
10 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
11 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
12 echo "You must have libtool installed to compile Gaim";
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 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
15 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
16
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
17 (automake --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
18 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
19 echo "You must have automake installed to compile Gaim";
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 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
22 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
23
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
24 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
25 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
26 echo "You must have autoconf installed to compile Gaim";
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 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
29 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
30
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
31 echo "Generating configuration files for Gaim, please wait...."
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
32 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
33
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
34 echo "Running libtoolize, please ignore non-fatal messages...."
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
35 echo n | libtoolize --copy --force || exit;
2162
a464da684307 [gaim-migrate @ 2172]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2157
diff changeset
36
3566
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
37 # Add other directories to this list if people continue to experience
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
38 # brokennesses ... Obviously the real answer is for them to fix it
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
39 # themselves, but for Luke's sake we have this.
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
40 for dir in "/usr/local/share/aclocal" \
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
41 "/opt/gnome-1.4/share/aclocal"
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
42 do
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
43 if test -d $dir ; then
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
44 ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir"
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
45 fi
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
46 done
3505
67b0832e9542 [gaim-migrate @ 3570]
Sean Egan <seanegan@gmail.com>
parents: 3444
diff changeset
47
13179
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12024
diff changeset
48 libtoolize -c -f --automake
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12024
diff changeset
49 intltoolize --force --copy
13293
44a8d46ee3c1 [gaim-migrate @ 15659]
Sean Egan <seanegan@gmail.com>
parents: 13187
diff changeset
50 aclocal $ACLOCAL_FLAGS || exit;
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
51 autoheader || exit;
2770
24ebd5e321e4 [gaim-migrate @ 2783]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2754
diff changeset
52 automake --add-missing --copy;
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
53 autoconf || exit;
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
54 automake || exit;
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
55 ./configure $@
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
56