annotate autogen.sh @ 333:dff611cb9f7b

fixed a bug that in_reply_to_status_id field had been ignored.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 13 Oct 2009 13:34:29 +0900
parents c2620a99622b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
1 #!/bin/sh
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
2
254
c2620a99622b - divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 3
diff changeset
3 [ -f configure.ac ] || {
3
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
4 echo "autogen.sh: run this command only at the top of a pidgin-twitter source tree."
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
5 exit 1
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
6 }
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
7
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
8 DIE=0
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
9
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
10 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
11 echo
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
12 echo "You must have autoconf installed to compile pidgin-twitter."
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
13 echo "Get ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.62.tar.gz"
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
14 echo "(or a newer version if it is available)"
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
15 DIE=1
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
16 NO_AUTOCONF=yes
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
17 }
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
18
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
19 (automake --version) < /dev/null > /dev/null 2>&1 || {
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
20 echo
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
21 echo "You must have automake installed to compile pidgin-twitter."
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
22 echo "Get ftp://ftp.gnu.org/pub/gnu/automake/automake-1.10.1.tar.gz"
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
23 echo "(or a newer version if it is available)"
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
24 DIE=1
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
25 NO_AUTOMAKE=yes
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
26 }
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
27
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
28 # if no automake, don't bother testing for aclocal
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
29 test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
30 echo
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
31 echo "**Error**: Missing \`aclocal'. The version of \`automake'"
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
32 echo "installed doesn't appear recent enough."
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
33 echo "Get ftp://ftp.gnu.org/pub/gnu/automake/automake-1.10.1.tar.gz"
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
34 echo "(or a newer version if it is available)"
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
35 DIE=1
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
36 }
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
37
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
38 # if no autoconf, don't bother testing for autoheader
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
39 test -n "$NO_AUTOCONF" || (autoheader --version) < /dev/null > /dev/null 2>&1 || {
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
40 echo
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
41 echo "**Error**: Missing \`autoheader'. The version of \`autoheader'"
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
42 echo "installed doesn't appear recent enough."
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
43 echo "Get ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.62.tar.gz"
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
44 echo "(or a newer version if it is available)"
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
45 DIE=1
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
46 }
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
47
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
48 if test "$DIE" -eq 1; then
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
49 exit 1
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
50 fi
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
51
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
52 echo "Generating configure script and Makefiles for pidgin-twitter."
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
53
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
54 echo "Running aclocal ..."
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
55 aclocal -I .
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
56 echo "Running autoconf ..."
71241cfaef1e - added custom autogen.sh
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
57 autoconf