Mercurial > pidgin
annotate console/libgnt/autogen.sh @ 14985:6bdcfafc2259
[gaim-migrate @ 17764]
Don't install incompatible GTK+ versions on Win95/98/ME. Alert the user about the incompatibility and abort installation if a good version of GTK+ isn't already installed.
Also don't allow a theme selection because it wont work with our GTK+ 2.6.10 runtime.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 17 Nov 2006 03:26:19 +0000 |
parents | da1046158b3b |
children |
rev | line source |
---|---|
13891
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
1 #!/bin/sh |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
2 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
3 (libtoolize --version) < /dev/null > /dev/null 2>&1 || { |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
4 echo; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
5 echo "You must have libtool installed to compile LibGNT"; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
6 echo; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
7 exit; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
8 } |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
9 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
10 (automake --version) < /dev/null > /dev/null 2>&1 || { |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
11 echo; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
12 echo "You must have automake installed to compile LibGNT"; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
13 echo; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
14 exit; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
15 } |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
16 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
17 (autoconf --version) < /dev/null > /dev/null 2>&1 || { |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
18 echo; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
19 echo "You must have autoconf installed to compile LibGNT"; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
20 echo; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
21 exit; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
22 } |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
23 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
24 echo "Generating configuration files for LibGNT, please wait...." |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
25 echo; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
26 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
27 echo "Running libtoolize, please ignore non-fatal messages...." |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
28 echo n | libtoolize --copy --force || exit; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
29 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
30 # Add other directories to this list if people continue to experience |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
31 # brokennesses ... Obviously the real answer is for them to fix it |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
32 # themselves, but for Luke's sake we have this. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
33 for dir in "/usr/local/share/aclocal" \ |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
34 "/opt/gnome-1.4/share/aclocal" |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
35 do |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
36 if test -d $dir ; then |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
37 ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir" |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
38 fi |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
39 done |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
40 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
41 libtoolize -c -f --automake |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
42 aclocal $ACLOCAL_FLAGS || exit; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
43 autoheader || exit; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
44 automake --add-missing --copy; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
45 autoconf || exit; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
46 automake || exit; |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
47 ./configure $@ |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
48 |