annotate autogen.sh @ 15097:060594ebbef9

[gaim-migrate @ 17883] compile first, commit second committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 02 Dec 2006 23:01:02 +0000
parents b4a5b77e167e
children c273952a004d
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
14228
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
3 (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || {
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
4 echo;
14441
b4a5b77e167e [gaim-migrate @ 17155]
Mark Doliner <mark@kingant.net>
parents: 14228
diff changeset
5 echo "You must have glib-gettextize installed to compile Gaim.";
14228
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
6 echo;
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
7 exit;
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
8 }
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
9
13187
7e34397e134e [gaim-migrate @ 15550]
Richard Laager <rlaager@wiktel.com>
parents: 13179
diff changeset
10 (intltoolize --version) < /dev/null > /dev/null 2>&1 || {
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
11 echo;
14441
b4a5b77e167e [gaim-migrate @ 17155]
Mark Doliner <mark@kingant.net>
parents: 14228
diff changeset
12 echo "You must have intltool installed to compile Gaim.";
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
13 echo;
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
14 exit;
1863
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 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
18 echo;
14441
b4a5b77e167e [gaim-migrate @ 17155]
Mark Doliner <mark@kingant.net>
parents: 14228
diff changeset
19 echo "You must have libtool installed to compile Gaim.";
1863
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 (automake --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
25 echo;
14441
b4a5b77e167e [gaim-migrate @ 17155]
Mark Doliner <mark@kingant.net>
parents: 14228
diff changeset
26 echo "You must have automake installed to compile Gaim.";
1863
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 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
32 echo;
14441
b4a5b77e167e [gaim-migrate @ 17155]
Mark Doliner <mark@kingant.net>
parents: 14228
diff changeset
33 echo "You must have autoconf installed to compile Gaim.";
1863
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 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
36 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
37
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
38 echo "Generating configuration files for Gaim, please wait...."
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
39 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
40
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
41 echo "Running libtoolize, please ignore non-fatal messages...."
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
42 echo n | libtoolize --copy --force || exit;
2162
a464da684307 [gaim-migrate @ 2172]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2157
diff changeset
43
3566
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
44 # Add other directories to this list if people continue to experience
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
45 # brokennesses ... Obviously the real answer is for them to fix it
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
46 # themselves, but for Luke's sake we have this.
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
47 for dir in "/usr/local/share/aclocal" \
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
48 "/opt/gnome-1.4/share/aclocal"
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
49 do
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
50 if test -d $dir ; then
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
51 ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir"
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
52 fi
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
53 done
3505
67b0832e9542 [gaim-migrate @ 3570]
Sean Egan <seanegan@gmail.com>
parents: 3444
diff changeset
54
13179
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12024
diff changeset
55 libtoolize -c -f --automake
14228
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
56 glib-gettextize --force --copy
13179
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12024
diff changeset
57 intltoolize --force --copy
13293
44a8d46ee3c1 [gaim-migrate @ 15659]
Sean Egan <seanegan@gmail.com>
parents: 13187
diff changeset
58 aclocal $ACLOCAL_FLAGS || exit;
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
59 autoheader || exit;
2770
24ebd5e321e4 [gaim-migrate @ 2783]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2754
diff changeset
60 automake --add-missing --copy;
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
61 autoconf || exit;
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
62 automake || exit;
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
63 ./configure $@
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
64