Mercurial > pidgin
annotate autogen.sh @ 3189:dd03116e0f8d
[gaim-migrate @ 3206]
is this better
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sun, 28 Apr 2002 17:25:30 +0000 |
parents | e75b4df7a770 |
children | 83314a9985ef |
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 |
3174 | 32 if test -f configure.ac ; 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 |
3174 | 34 mv configure.ac configure.2.1x; |
35 echo "configure.ac has been moved to configure.2.1x to retain compatibility with autoconf 2.1x" | |
36 echo "Future versions of Gaim will not support autoconf versions older than 2.50" | |
37 | |
2176
fd0b454ad4c5
[gaim-migrate @ 2186]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2175
diff
changeset
|
38 fi |
2129
7b68621e26db
[gaim-migrate @ 2139]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1863
diff
changeset
|
39 fi |
7b68621e26db
[gaim-migrate @ 2139]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1863
diff
changeset
|
40 |
1863 | 41 echo "Generating configuration files for Gaim, please wait...." |
42 echo; | |
43 | |
44 echo "Running gettextize, please ignore non-fatal messages...." | |
2754
642413968b03
[gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2415
diff
changeset
|
45 echo n | gettextize --copy --force || exit; |
1863 | 46 echo "Running libtoolize, please ignore non-fatal messages...." |
2754
642413968b03
[gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2415
diff
changeset
|
47 echo n | libtoolize --copy --force || exit; |
2162
a464da684307
[gaim-migrate @ 2172]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2157
diff
changeset
|
48 |
2754
642413968b03
[gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2415
diff
changeset
|
49 aclocal -I m4 $ACLOCAL_FLAGS || exit; |
642413968b03
[gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2415
diff
changeset
|
50 autoheader || exit; |
2770
24ebd5e321e4
[gaim-migrate @ 2783]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2754
diff
changeset
|
51 automake --add-missing --copy; |
2754
642413968b03
[gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2415
diff
changeset
|
52 autoconf || exit; |
642413968b03
[gaim-migrate @ 2767]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2415
diff
changeset
|
53 automake || exit; |
1863 | 54 ./configure $@ |
55 |