Mercurial > pidgin
annotate console/libgnt/autogen.sh @ 14799:e908bff64af5
[gaim-migrate @ 17564]
Revert the changes from 17036. The log-displaying signal has a GaimGtkLogViewer argument, and gaim-encryption uses it. Accessor methods would be another way to solve this, but I don't really want to risk breaking things more.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 23 Oct 2006 01:07:27 +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 |