annotate autogen.sh @ 18808:f15bdcc44fc1

Fix a compile warning
author Mark Doliner <mark@kingant.net>
date Mon, 06 Aug 2007 00:16:31 +0000
parents a4d9505bd307
children 57d350900136 6e93a79b2ae5 50a9c82d32a1
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
15313
c273952a004d [gaim-migrate @ 18103]
Gary Kramlich <grim@reaperworld.com>
parents: 14441
diff changeset
3 CONFIGURE_ARGS=""
c273952a004d [gaim-migrate @ 18103]
Gary Kramlich <grim@reaperworld.com>
parents: 14441
diff changeset
4 if [ -f configure.args ] ; then
16933
a4d9505bd307 Changing configure.args to be a sh script that is sourced. This way we can set any environment variables to be set/passed to configure.
Gary Kramlich <grim@reaperworld.com>
parents: 15631
diff changeset
5 . configure.args
15313
c273952a004d [gaim-migrate @ 18103]
Gary Kramlich <grim@reaperworld.com>
parents: 14441
diff changeset
6 fi
c273952a004d [gaim-migrate @ 18103]
Gary Kramlich <grim@reaperworld.com>
parents: 14441
diff changeset
7
14228
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
8 (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || {
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
9 echo;
15631
593534b724b0 s/Gaim/Pidgin
Evan Schoenberg <evan.s@dreskin.net>
parents: 15313
diff changeset
10 echo "You must have glib-gettextize installed to compile Pidgin.";
14228
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
11 echo;
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
12 exit;
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
13 }
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
14
13187
7e34397e134e [gaim-migrate @ 15550]
Richard Laager <rlaager@wiktel.com>
parents: 13179
diff changeset
15 (intltoolize --version) < /dev/null > /dev/null 2>&1 || {
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
16 echo;
15631
593534b724b0 s/Gaim/Pidgin
Evan Schoenberg <evan.s@dreskin.net>
parents: 15313
diff changeset
17 echo "You must have intltool installed to compile Pidgin.";
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
18 echo;
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
19 exit;
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
20 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
21
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
22 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
23 echo;
15631
593534b724b0 s/Gaim/Pidgin
Evan Schoenberg <evan.s@dreskin.net>
parents: 15313
diff changeset
24 echo "You must have libtool installed to compile Pidgin.";
1863
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 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
27 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
28
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
29 (automake --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
30 echo;
15631
593534b724b0 s/Gaim/Pidgin
Evan Schoenberg <evan.s@dreskin.net>
parents: 15313
diff changeset
31 echo "You must have automake installed to compile Pidgin.";
1863
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 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
34 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
35
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
36 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
37 echo;
15631
593534b724b0 s/Gaim/Pidgin
Evan Schoenberg <evan.s@dreskin.net>
parents: 15313
diff changeset
38 echo "You must have autoconf installed to compile Pidgin.";
1863
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 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
41 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
42
15631
593534b724b0 s/Gaim/Pidgin
Evan Schoenberg <evan.s@dreskin.net>
parents: 15313
diff changeset
43 echo "Generating configuration files for Pidgin, please wait...."
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
44 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
45
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
46 echo "Running libtoolize, please ignore non-fatal messages...."
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
47 echo n | libtoolize --copy --force || exit;
2162
a464da684307 [gaim-migrate @ 2172]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2157
diff changeset
48
3566
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
49 # Add other directories to this list if people continue to experience
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
50 # brokennesses ... Obviously the real answer is for them to fix it
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
51 # themselves, but for Luke's sake we have this.
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
52 for dir in "/usr/local/share/aclocal" \
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
53 "/opt/gnome-1.4/share/aclocal"
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
54 do
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
55 if test -d $dir ; then
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
56 ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir"
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
57 fi
1496be1c345c [gaim-migrate @ 3661]
Christian Hammond <chipx86@chipx86.com>
parents: 3505
diff changeset
58 done
3505
67b0832e9542 [gaim-migrate @ 3570]
Sean Egan <seanegan@gmail.com>
parents: 3444
diff changeset
59
13179
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12024
diff changeset
60 libtoolize -c -f --automake
14228
c18bdf510325 [gaim-migrate @ 16910]
Stu Tomlinson <stu@nosnilmot.com>
parents: 13293
diff changeset
61 glib-gettextize --force --copy
13179
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12024
diff changeset
62 intltoolize --force --copy
13293
44a8d46ee3c1 [gaim-migrate @ 15659]
Sean Egan <seanegan@gmail.com>
parents: 13187
diff changeset
63 aclocal $ACLOCAL_FLAGS || exit;
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
64 autoheader || exit;
2770
24ebd5e321e4 [gaim-migrate @ 2783]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2754
diff changeset
65 automake --add-missing --copy;
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
66 autoconf || exit;
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
67 automake || exit;
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
68
15313
c273952a004d [gaim-migrate @ 18103]
Gary Kramlich <grim@reaperworld.com>
parents: 14441
diff changeset
69 echo;
c273952a004d [gaim-migrate @ 18103]
Gary Kramlich <grim@reaperworld.com>
parents: 14441
diff changeset
70 echo "Running ./configure ${CONFIGURE_ARGS} $@"
c273952a004d [gaim-migrate @ 18103]
Gary Kramlich <grim@reaperworld.com>
parents: 14441
diff changeset
71 echo;
c273952a004d [gaim-migrate @ 18103]
Gary Kramlich <grim@reaperworld.com>
parents: 14441
diff changeset
72 ./configure ${CONFIGURE_ARGS} $@
c273952a004d [gaim-migrate @ 18103]
Gary Kramlich <grim@reaperworld.com>
parents: 14441
diff changeset
73