annotate autogen.sh @ 2380:6f83c22d9e70

[gaim-migrate @ 2393] (19:13:52) vanguardist: it's easy mmmkay committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 28 Sep 2001 02:16:34 +0000
parents f7bf34a3b535
children 88e35feb75f8
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
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
3 (gettextize --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
4 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
5 echo "You must have gettext installed to compile Gaim";
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
6 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
7 exit;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
8 }
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
9
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
10 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
11 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
12 echo "You must have libtool installed to compile Gaim";
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 exit;
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 (automake --version) < /dev/null > /dev/null 2>&1 || {
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
18 echo;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
19 echo "You must have automake installed to compile Gaim";
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 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
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 echo "You must have autoconf installed to compile Gaim";
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
2129
7b68621e26db [gaim-migrate @ 2139]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1863
diff changeset
31 # Thanks decklin
2177
72586b12179c [gaim-migrate @ 2187]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2176
diff changeset
32 if test ! -f configure.in ; then
2176
fd0b454ad4c5 [gaim-migrate @ 2186]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2175
diff changeset
33 if autoconf --version | grep '2\.[01]' > /dev/null 2>&1 ; then
fd0b454ad4c5 [gaim-migrate @ 2186]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2175
diff changeset
34 ln -sf configure.ac configure.in
fd0b454ad4c5 [gaim-migrate @ 2186]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2175
diff changeset
35 fi
2129
7b68621e26db [gaim-migrate @ 2139]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1863
diff changeset
36 fi
7b68621e26db [gaim-migrate @ 2139]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1863
diff changeset
37
1863
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 gettextize, please ignore non-fatal messages...."
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
42 echo n | gettextize --copy --force;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
43 echo "Running libtoolize, please ignore non-fatal messages...."
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
44 echo n | libtoolize --copy --force;
2162
a464da684307 [gaim-migrate @ 2172]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2157
diff changeset
45
1863
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
46 aclocal -I m4 $ACLOCAL_FLAGS;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
47 autoheader;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
48 automake --add-missing --copy;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
49 autoconf;
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
50 ./configure $@
bf2434d36e54 [gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
51