Mercurial > pidgin
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 |
rev | line source |
---|---|
2275
f7bf34a3b535
[gaim-migrate @ 2285]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2177
diff
changeset
|
1 #!/bin/sh |
1863 | 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 | 8 } |
9 | |
10 (libtoolize --version) < /dev/null > /dev/null 2>&1 || { | |
11 echo; | |
12 echo "You must have libtool installed to compile Gaim"; | |
13 echo; | |
14 exit; | |
15 } | |
16 | |
17 (automake --version) < /dev/null > /dev/null 2>&1 || { | |
18 echo; | |
19 echo "You must have automake installed to compile Gaim"; | |
20 echo; | |
21 exit; | |
22 } | |
23 | |
24 (autoconf --version) < /dev/null > /dev/null 2>&1 || { | |
25 echo; | |
26 echo "You must have autoconf installed to compile Gaim"; | |
27 echo; | |
28 exit; | |
29 } | |
30 | |
31 echo "Generating configuration files for Gaim, please wait...." | |
32 echo; | |
33 | |
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 | 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 | 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 | 55 ./configure $@ |
56 |