annotate configure.in @ 151:8ba0c0593621

img_type for wassr is always png. it should be set in request_icon().
author Yoshiki Yazawa <yaz@honeyplnaet.jp>
date Thu, 24 Jul 2008 21:49:20 +0900
parents 484ca3d18ebb
children c76cd73cd2e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
1 # -*- Autoconf -*-
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
2 # Process this file with autoconf to produce a configure script.
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
3
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
4 AC_PREREQ(2.59)
57
8e1c8afac4dd - adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 3
diff changeset
5 AC_INIT(pidgin-twitter, 0.6.0, yaz@honeyplanet.jp)
0
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
6 AC_CONFIG_SRCDIR([pidgin-twitter.c])
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
7
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
8 # Checks for programs.
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
9 AC_PROG_CC
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
10
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
11 # Checks for libraries.
126
bac987852e66 switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 115
diff changeset
12 PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.12.0], , [
bac987852e66 switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 115
diff changeset
13 AC_MSG_RESULT(no)
bac987852e66 switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 115
diff changeset
14 AC_MSG_ERROR([
bac987852e66 switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 115
diff changeset
15
bac987852e66 switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 115
diff changeset
16 You must have gtk+-2.0 >= 2.12.0 development headers installed to build.
bac987852e66 switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 115
diff changeset
17 ])])
bac987852e66 switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 115
diff changeset
18
1
799955af57ad alpha version
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 0
diff changeset
19 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.14.0], , [
0
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
20 AC_MSG_RESULT(no)
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
21 AC_MSG_ERROR([
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
22
1
799955af57ad alpha version
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 0
diff changeset
23 You must have glib >= 2.14.0 development headers installed to build.
0
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
24 ])])
1
799955af57ad alpha version
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 0
diff changeset
25
799955af57ad alpha version
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 0
diff changeset
26 GLIB_CFLAGS=`pkg-config --cflags glib-2.0 2> /dev/null`
799955af57ad alpha version
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 0
diff changeset
27 GLIB_LIBS=`pkg-config --libs glib-2.0 2> /dev/null`
799955af57ad alpha version
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 0
diff changeset
28 GLIB_LIB_DIR=`pkg-config --variable=lib_dir glib-2.0 2> /dev/null`
799955af57ad alpha version
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 0
diff changeset
29 AC_SUBST(GLIB_CFLAGS)
799955af57ad alpha version
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 0
diff changeset
30 AC_SUBST(GLIB_LIBS)
799955af57ad alpha version
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 0
diff changeset
31 AC_SUBST(GLIB_LIB_DIR)
0
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
32
126
bac987852e66 switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 115
diff changeset
33 PKG_CHECK_MODULES(PIDGIN, [pidgin >= 2.4.0], , [
0
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
34 AC_MSG_RESULT(no)
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
35 AC_MSG_ERROR([
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
36
126
bac987852e66 switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 115
diff changeset
37 You must have pidgin >= 2.4.0 development headers installed to build.
0
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
38 ])])
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
39 PIDGIN_CFLAGS=`pkg-config --cflags pidgin 2> /dev/null`
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
40 PIDGIN_LIBS=`pkg-config --libs pidgin 2> /dev/null`
57
8e1c8afac4dd - adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 3
diff changeset
41 if test x"$prefix" = x"NONE" ; then
8e1c8afac4dd - adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 3
diff changeset
42 PIDGIN_PREFIX=`pkg-config --variable=prefix pidgin 2> /dev/null`
8e1c8afac4dd - adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 3
diff changeset
43 else
8e1c8afac4dd - adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 3
diff changeset
44 PIDGIN_PREFIX=$prefix
8e1c8afac4dd - adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 3
diff changeset
45 fi
0
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
46 AC_SUBST(PIDGIN_CFLAGS)
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
47 AC_SUBST(PIDGIN_LIBS)
57
8e1c8afac4dd - adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 3
diff changeset
48 AC_SUBST(PIDGIN_PREFIX)
0
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
49
115
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
50 PKG_CHECK_MODULES(GLIB, [libxml-2.0 >= 2.6.27], , [
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
51 AC_MSG_RESULT(no)
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
52 AC_MSG_ERROR([
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
53
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
54 You must have libxml2 >= 2.6.27 installed to build.
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
55 ])])
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
56
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
57 XML_CFLAGS=`pkg-config --cflags libxml-2.0 2> /dev/null`
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
58 XML_LIBS=`pkg-config --libs libxml-2.0 2> /dev/null`
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
59 XML_LIB_DIR=`pkg-config --variable=lib_dir libxml-2.0 2> /dev/null`
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
60 AC_SUBST(XML_CFLAGS)
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
61 AC_SUBST(XML_LIBS)
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
62 AC_SUBST(XML_LIB_DIR)
7d0dd0e1dbd0 very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 57
diff changeset
63
0
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
64 # Checks for header files.
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
65 AC_HEADER_STDC
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
66 AC_CHECK_HEADERS([stdlib.h string.h])
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
67
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
68 # Checks for typedefs, structures, and compiler characteristics.
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
69 AC_C_CONST
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
70
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
71 # Checks for library functions.
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
72 AC_CHECK_FUNCS([strstr])
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
73
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
74 #AC_CONFIG_FILES([Makefile])
2413369d1b01 initial import
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff changeset
75 AC_OUTPUT(Makefile)