| |
1 #!/bin/sh |
| |
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 |
| |
31 echo "Generating configuration files for Gaim, please wait...." |
| |
32 echo; |
| |
33 |
| |
34 echo "Running gettextize, please ignore non-fatal messages...." |
| |
35 echo n | gettextize --copy --force; |
| |
36 echo "Running libtoolize, please ignore non-fatal messages...." |
| |
37 echo n | libtoolize --copy --force; |
| |
38 aclocal -I m4 $ACLOCAL_FLAGS; |
| |
39 autoheader; |
| |
40 automake --add-missing --copy; |
| |
41 autoconf; |
| |
42 ./configure $@ |
| |
43 |