Mercurial > pidgin
comparison finch/libgnt/autogen.sh @ 15817:0e3a8505ebbe
renamed gaim-text to finch
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 18 Mar 2007 19:38:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15816:317e7613e581 | 15817:0e3a8505ebbe |
---|---|
1 #!/bin/sh | |
2 | |
3 (libtoolize --version) < /dev/null > /dev/null 2>&1 || { | |
4 echo; | |
5 echo "You must have libtool installed to compile LibGNT"; | |
6 echo; | |
7 exit; | |
8 } | |
9 | |
10 (automake --version) < /dev/null > /dev/null 2>&1 || { | |
11 echo; | |
12 echo "You must have automake installed to compile LibGNT"; | |
13 echo; | |
14 exit; | |
15 } | |
16 | |
17 (autoconf --version) < /dev/null > /dev/null 2>&1 || { | |
18 echo; | |
19 echo "You must have autoconf installed to compile LibGNT"; | |
20 echo; | |
21 exit; | |
22 } | |
23 | |
24 echo "Generating configuration files for LibGNT, please wait...." | |
25 echo; | |
26 | |
27 echo "Running libtoolize, please ignore non-fatal messages...." | |
28 echo n | libtoolize --copy --force || exit; | |
29 | |
30 # Add other directories to this list if people continue to experience | |
31 # brokennesses ... Obviously the real answer is for them to fix it | |
32 # themselves, but for Luke's sake we have this. | |
33 for dir in "/usr/local/share/aclocal" \ | |
34 "/opt/gnome-1.4/share/aclocal" | |
35 do | |
36 if test -d $dir ; then | |
37 ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir" | |
38 fi | |
39 done | |
40 | |
41 libtoolize -c -f --automake | |
42 aclocal $ACLOCAL_FLAGS || exit; | |
43 autoheader || exit; | |
44 automake --add-missing --copy; | |
45 autoconf || exit; | |
46 automake || exit; | |
47 ./configure $@ | |
48 |