Mercurial > pidgin
annotate autogen.sh @ 14264:d171bdecf17b
[gaim-migrate @ 16946]
Use the gtk conversation unseen_count instead of keeping my own count.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Mon, 21 Aug 2006 06:06:54 +0000 |
parents | c18bdf510325 |
children | b4a5b77e167e |
rev | line source |
---|---|
2275
f7bf34a3b535
[gaim-migrate @ 2285]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2177
diff
changeset
|
1 #!/bin/sh |
1863 | 2 |
14228 | 3 (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || { |
4 echo; | |
5 echo "You must have glib-gettextize installed to compile Gaim"; | |
6 echo; | |
7 exit; | |
8 } | |
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; |
13187
7e34397e134e
[gaim-migrate @ 15550]
Richard Laager <rlaager@wiktel.com>
parents:
13179
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 | 15 } |
16 | |
17 (libtoolize --version) < /dev/null > /dev/null 2>&1 || { | |
18 echo; | |
19 echo "You must have libtool installed to compile Gaim"; | |
20 echo; | |
21 exit; | |
22 } | |
23 | |
24 (automake --version) < /dev/null > /dev/null 2>&1 || { | |
25 echo; | |
26 echo "You must have automake installed to compile Gaim"; | |
27 echo; | |
28 exit; | |
29 } | |
30 | |
31 (autoconf --version) < /dev/null > /dev/null 2>&1 || { | |
32 echo; | |
33 echo "You must have autoconf installed to compile Gaim"; | |
34 echo; | |
35 exit; | |
36 } | |
37 | |
38 echo "Generating configuration files for Gaim, please wait...." | |
39 echo; | |
40 | |
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 | 54 |
13179
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12024
diff
changeset
|
55 libtoolize -c -f --automake |
14228 | 56 glib-gettextize --force --copy |
13179
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12024
diff
changeset
|
57 intltoolize --force --copy |
13293 | 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 | 63 ./configure $@ |
64 |