annotate autogen.sh @ 3420:bd05f8566531

[gaim-migrate @ 3442] Latest version of setup-gettext. Fixes some of the bashisms, but not the sed issue. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 24 Aug 2002 02:15:37 +0000
parents 4149e5e36eb9
children d5bb9c7b6e0a
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
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
3 SETUP_GETTEXT=./setup-gettext
3388
83314a9985ef [gaim-migrate @ 3407]
Christian Hammond <chipx86@chipx86.com>
parents: 3174
diff changeset
4
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
5 ($SETUP_GETTEXT --gettext-tool) < /dev/null > /dev/null 2>&1 || {
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 echo "You must have gettext installed to compile Gaim";
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
8 echo;
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
9 exit;
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
10 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
11
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
12 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
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 echo "You must have libtool installed to compile Gaim";
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
15 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
16 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
17 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
18
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
19 (automake --version) < /dev/null > /dev/null 2>&1 || {
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 echo "You must have automake installed to compile Gaim";
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
22 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
23 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
24 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
25
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
26 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
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 echo "You must have autoconf installed to compile Gaim";
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
29 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
30 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
31 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
32
2129
7b68621e26db [gaim-migrate @ 2139]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1863
diff changeset
33 # Thanks decklin
3174
e75b4df7a770 [gaim-migrate @ 3190]
Sean Egan <seanegan@gmail.com>
parents: 2770
diff changeset
34 if test -f configure.ac ; then
2176
fd0b454ad4c5 [gaim-migrate @ 2186]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2175
diff changeset
35 if autoconf --version | grep '2\.[01]' > /dev/null 2>&1 ; then
3174
e75b4df7a770 [gaim-migrate @ 3190]
Sean Egan <seanegan@gmail.com>
parents: 2770
diff changeset
36 mv configure.ac configure.2.1x;
e75b4df7a770 [gaim-migrate @ 3190]
Sean Egan <seanegan@gmail.com>
parents: 2770
diff changeset
37 echo "configure.ac has been moved to configure.2.1x to retain compatibility with autoconf 2.1x"
e75b4df7a770 [gaim-migrate @ 3190]
Sean Egan <seanegan@gmail.com>
parents: 2770
diff changeset
38 echo "Future versions of Gaim will not support autoconf versions older than 2.50"
e75b4df7a770 [gaim-migrate @ 3190]
Sean Egan <seanegan@gmail.com>
parents: 2770
diff changeset
39
2176
fd0b454ad4c5 [gaim-migrate @ 2186]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2175
diff changeset
40 fi
2129
7b68621e26db [gaim-migrate @ 2139]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1863
diff changeset
41 fi
7b68621e26db [gaim-migrate @ 2139]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1863
diff changeset
42
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
43 echo "Generating configuration files for Gaim, please wait...."
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 gettextize, please ignore non-fatal messages...."
3414
4149e5e36eb9 [gaim-migrate @ 3433]
Christian Hammond <chipx86@chipx86.com>
parents: 3413
diff changeset
47 $SETUP_GETTEXT
3407
02a10c03e3e1 [gaim-migrate @ 3426]
Christian Hammond <chipx86@chipx86.com>
parents: 3405
diff changeset
48
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
49 echo "Running libtoolize, please ignore non-fatal messages...."
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
50 echo n | libtoolize --copy --force || exit;
2162
a464da684307 [gaim-migrate @ 2172]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2157
diff changeset
51
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
52 aclocal -I m4 $ACLOCAL_FLAGS || exit;
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
53 autoheader || exit;
2770
24ebd5e321e4 [gaim-migrate @ 2783]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2754
diff changeset
54 automake --add-missing --copy;
2754
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
55 autoconf || exit;
642413968b03 [gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2415
diff changeset
56 automake || exit;
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
57 ./configure $@
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
58