Mercurial > pidgin
annotate autogen.sh @ 2434:20d1c2c945c9
[gaim-migrate @ 2447]
not polished. NOT POLISHED!!!! IT DOESN'T LOOK POLISHED!!!!!!
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 05 Oct 2001 21:05:04 +0000 |
parents | 88e35feb75f8 |
children | 642413968b03 |
rev | line source |
---|---|
2275
f7bf34a3b535
[gaim-migrate @ 2285]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2177
diff
changeset
|
1 #!/bin/sh |
1863 | 2 |
3 (gettextize --version) < /dev/null > /dev/null 2>&1 || { | |
4 echo; | |
5 echo "You must have gettext installed to compile Gaim"; | |
6 echo; | |
7 exit; | |
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 | |
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 | 38 echo "Generating configuration files for Gaim, please wait...." |
39 echo; | |
40 | |
41 echo "Running gettextize, please ignore non-fatal messages...." | |
42 echo n | gettextize --copy --force; | |
43 echo "Running libtoolize, please ignore non-fatal messages...." | |
44 echo n | libtoolize --copy --force; | |
2162
a464da684307
[gaim-migrate @ 2172]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2157
diff
changeset
|
45 |
1863 | 46 aclocal -I m4 $ACLOCAL_FLAGS; |
47 autoheader; | |
48 automake --add-missing --copy; | |
49 autoconf; | |
2415
88e35feb75f8
[gaim-migrate @ 2428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2275
diff
changeset
|
50 automake; |
1863 | 51 ./configure $@ |
52 |