Sun, 28 Aug 2016 20:43:17 -0400
Remove AC_HEADER_STDC and related C89 tests.
AC_HEADER_STDC is obsolescent because all current systems have
conforming header files. As we also claim to depend on C89, there's
no need to check for any headers defined in that standard.
| 2129 | 1 | dnl Process this file with autoconf to produce a configure script. |
|
33667
cdadca41673b
Bump up our required version of autoconf.
Mark Doliner <mark@kingant.net>
parents:
33629
diff
changeset
|
2 | AC_PREREQ([2.63]) |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
3 | |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
4 | # UPDATING VERSION NUMBERS FOR RELEASES |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
5 | # |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
6 | # purple_micro_version += 1 |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
7 | # |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
8 | # If any functions have been added to libpurple, Pidgin, or Finch: |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
9 | # purple_micro_version = 0 |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
10 | # purple_minor_version += 1 |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
11 | # purple_lt_current += 1 |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
12 | # |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
13 | # If backwards compatibility has been broken in libpurple, Pidgin, or Finch: |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
14 | # purple_micro_version = 0 |
|
16699
4e0b13d87131
To do libtool soversioning properly, we need to manage lt_current separately and
Richard Laager <rlaager@pidgin.im>
parents:
16655
diff
changeset
|
15 | # purple_minor_version = 0 |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
16 | # purple_major_version += 1; |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
17 | # purple_lt_current += 1 |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
18 | # |
|
16704
fdfda1dda3a0
Preparing for beta 7
Mark Doliner <markdoliner@pidgin.im>
parents:
16655
diff
changeset
|
19 | # purple_version_suffix should be similar to one of the following: |
|
fdfda1dda3a0
Preparing for beta 7
Mark Doliner <markdoliner@pidgin.im>
parents:
16655
diff
changeset
|
20 | # For beta releases: [beta2] |
|
fdfda1dda3a0
Preparing for beta 7
Mark Doliner <markdoliner@pidgin.im>
parents:
16655
diff
changeset
|
21 | # For code under development: [devel] |
|
fdfda1dda3a0
Preparing for beta 7
Mark Doliner <markdoliner@pidgin.im>
parents:
16655
diff
changeset
|
22 | # For production releases: [] |
|
fdfda1dda3a0
Preparing for beta 7
Mark Doliner <markdoliner@pidgin.im>
parents:
16655
diff
changeset
|
23 | # |
|
16738
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
24 | # |
| 19044 | 25 | # If any code has changed in libgnt: |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
26 | # gnt_micro_version += 1 |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
27 | # |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
28 | # If any functions have been added to libgnt: |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
29 | # gnt_micro_version = 0 |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
30 | # gnt_minor_version += 1 |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
31 | # gnt_lt_current += 1 |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
32 | # |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
33 | # If backwards compatibility has been broken in libgnt: |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
34 | # gnt_micro_version = 0 |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
35 | # gnt_minor_version = 0 |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
36 | # gnt_major_version += 1; |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
37 | # gnt_lt_current += 1 |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
38 | # |
|
16738
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
39 | # gnt_version_suffix should be similar to one of the following: |
|
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
40 | # For beta releases: [beta2] |
|
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
41 | # For code under development: [devel] |
|
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
42 | # For production releases: [] |
|
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
43 | # |
|
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
44 | # Make sure to update finch/libgnt/configure.ac with libgnt version changes. |
|
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
45 | # |
|
31575
27e264ec6bb8
Per discussion with rlaager both on the mailing list and in the XMPP MUC, bump
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31574
diff
changeset
|
46 | m4_define([purple_lt_current], [20]) |
|
31571
b2c7811c9f4b
3.0.0devel. Let the mergefest begin.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31565
diff
changeset
|
47 | m4_define([purple_major_version], [3]) |
|
b2c7811c9f4b
3.0.0devel. Let the mergefest begin.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31565
diff
changeset
|
48 | m4_define([purple_minor_version], [0]) |
| 37754 | 49 | m4_define([purple_micro_version], [0]) |
|
36276
fb41de6b6fbb
2.10.11 has been tagged, so switch this back to dev mode.
Mark Doliner <mark@kingant.net>
parents:
36272
diff
changeset
|
50 | m4_define([purple_version_suffix], [devel]) |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
51 | m4_define([purple_version], |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
52 | [purple_major_version.purple_minor_version.purple_micro_version]) |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
53 | m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix])) |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
54 | |
|
35887
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
55 | # the last version for Finch 2 was 2.8.10, |
|
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
56 | # the first version for Finch 3 was 2.9.0 |
|
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
57 | m4_define([gnt_lt_current], [9]) |
|
18140
3a40ec9ee97d
Bump the major for libgnt for the awesome workspace support.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
18125
diff
changeset
|
58 | m4_define([gnt_major_version], [2]) |
|
35887
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
59 | m4_define([gnt_minor_version], [9]) |
|
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
60 | m4_define([gnt_micro_version], [0]) |
|
36276
fb41de6b6fbb
2.10.11 has been tagged, so switch this back to dev mode.
Mark Doliner <mark@kingant.net>
parents:
36272
diff
changeset
|
61 | m4_define([gnt_version_suffix], [devel]) |
|
16738
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
62 | m4_define([gnt_version], |
|
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
63 | [gnt_major_version.gnt_minor_version.gnt_micro_version]) |
|
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
64 | m4_define([gnt_display_version], gnt_version[]m4_ifdef([gnt_version_suffix],[gnt_version_suffix])) |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
65 | |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
66 | |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
67 | AC_INIT([pidgin], [purple_display_version], [devel@pidgin.im]) |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
68 | |
|
22780
c8b56750aa67
I've personally seen a few people have problems because they tried to build
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22758
diff
changeset
|
69 | if test `pwd | wc -w` -ne 1; then |
|
c8b56750aa67
I've personally seen a few people have problems because they tried to build
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22758
diff
changeset
|
70 | AC_MSG_ERROR([ |
|
c8b56750aa67
I've personally seen a few people have problems because they tried to build
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22758
diff
changeset
|
71 | You are attempting to build in a path that contains spaces. This |
|
c8b56750aa67
I've personally seen a few people have problems because they tried to build
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22758
diff
changeset
|
72 | will fail. Relocate this source tree to a path that does not contain |
|
c8b56750aa67
I've personally seen a few people have problems because they tried to build
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22758
diff
changeset
|
73 | spaces and run configure again. |
|
c8b56750aa67
I've personally seen a few people have problems because they tried to build
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22758
diff
changeset
|
74 | ]) |
|
c8b56750aa67
I've personally seen a few people have problems because they tried to build
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22758
diff
changeset
|
75 | fi |
|
c8b56750aa67
I've personally seen a few people have problems because they tried to build
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22758
diff
changeset
|
76 | |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
77 | AC_CANONICAL_HOST |
|
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
78 | AC_CONFIG_HEADERS([config.h]) |
|
35899
ea4adba0d70f
a config for m4macros directory
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35893
diff
changeset
|
79 | AC_CONFIG_MACRO_DIR([m4macros]) |
|
35933
67fbcda8b47f
Make automake 1.14 not yell about sources in subdirs
Ankit Vani <a@nevitus.org>
parents:
35932
diff
changeset
|
80 | AM_INIT_AUTOMAKE([1.11 -Wno-portability dist-bzip2 subdir-objects]) |
| 33672 | 81 | AM_SILENT_RULES([yes]) |
| 3174 | 82 | |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
83 | PURPLE_MAJOR_VERSION=purple_major_version |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
84 | PURPLE_MINOR_VERSION=purple_minor_version |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
85 | PURPLE_MICRO_VERSION=purple_micro_version |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
86 | PURPLE_VERSION=purple_display_version |
|
35887
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
87 | PURPLE_API_VERSION=$((purple_lt_current - purple_minor_version)) |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
88 | AC_SUBST(PURPLE_MAJOR_VERSION) |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
89 | AC_SUBST(PURPLE_MINOR_VERSION) |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
90 | AC_SUBST(PURPLE_MICRO_VERSION) |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
91 | AC_SUBST(PURPLE_VERSION) |
|
35887
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
92 | AC_SUBST(PURPLE_API_VERSION) |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
93 | |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
94 | PURPLE_LT_VERSION_INFO="purple_lt_current:purple_micro_version:purple_minor_version" |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
95 | AC_SUBST(PURPLE_LT_VERSION_INFO) |
| 2129 | 96 | |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
97 | GNT_MAJOR_VERSION=gnt_major_version |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
98 | GNT_MINOR_VERSION=gnt_minor_version |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
99 | GNT_MICRO_VERSION=gnt_micro_version |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
100 | GNT_VERSION=gnt_display_version |
|
35887
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
101 | GNT_API_VERSION=$((gnt_lt_current - gnt_minor_version)) |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
102 | AC_SUBST(GNT_MAJOR_VERSION) |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
103 | AC_SUBST(GNT_MINOR_VERSION) |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
104 | AC_SUBST(GNT_MICRO_VERSION) |
|
16738
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
105 | AC_SUBST(GNT_VERSION) |
|
35887
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
106 | AC_SUBST(GNT_API_VERSION) |
|
16738
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
107 | |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
108 | GNT_LT_VERSION_INFO="gnt_lt_current:gnt_micro_version:gnt_minor_version" |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
109 | AC_SUBST(GNT_LT_VERSION_INFO) |
|
15498
2ee3112b6f24
This should be the last of the string changes
Sean Egan <seanegan@pidgin.im>
parents:
15495
diff
changeset
|
110 | |
| 2129 | 111 | AC_PATH_PROG(sedpath, sed) |
|
33922
61f997b47954
Split debug window HTML into a separate file.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33862
diff
changeset
|
112 | AC_PATH_PROG(xxdpath, xxd) |
| 2129 | 113 | |
| 8919 | 114 | dnl Storing configure arguments |
| 115 | AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments]) | |
| 116 | ||
| 2129 | 117 | dnl Checks for programs. |
| 118 | AC_PROG_CC | |
|
23352
9714223ca7a7
A patch from Peter O'Gorman at The Written Word, Inc. to fix various
Peter O'Gorman <pogma@thewrittenword.com>
parents:
23341
diff
changeset
|
119 | AM_PROG_CC_C_O |
|
34059
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
120 | AC_PROG_CXX |
|
33678
9b535f78ad07
Use LT_INIT instead of deprecated AC_PROG_LIBTOOL.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33677
diff
changeset
|
121 | LT_PREREQ([2.2.6]) |
|
9b535f78ad07
Use LT_INIT instead of deprecated AC_PROG_LIBTOOL.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33677
diff
changeset
|
122 | LT_INIT([disable-static]) |
| 2129 | 123 | AC_PROG_INSTALL |
|
15146
915827bf73d3
[gaim-migrate @ 17870]
Gary Kramlich <grim@reaperworld.com>
parents:
15133
diff
changeset
|
124 | PKG_PROG_PKG_CONFIG |
|
23352
9714223ca7a7
A patch from Peter O'Gorman at The Written Word, Inc. to fix various
Peter O'Gorman <pogma@thewrittenword.com>
parents:
23341
diff
changeset
|
125 | AC_FUNC_ALLOCA |
|
17006
9681a0900eb2
With this change, if autoconf doesn't find msgfmt, configure will fail
Ethan Blanton <elb@pidgin.im>
parents:
16977
diff
changeset
|
126 | |
|
30263
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
127 | dnl Check for Sun compiler |
|
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
128 | AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"]) |
|
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
129 | |
|
35848
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
130 | dnl Check for Win32 |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
131 | case "$host" in |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
132 | *-*-mingw* | *-*-cygwin*) |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
133 | is_win32="yes" |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
134 | is_not_win32="no" |
|
35855
3e60f9385431
cross-win32: libpurple builds now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35854
diff
changeset
|
135 | LIBS="$LIBS -lws2_32" |
|
3e60f9385431
cross-win32: libpurple builds now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35854
diff
changeset
|
136 | DNSAPI_LIBS="-ldnsapi" |
|
35860
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
137 | PLUGIN_LDFLAGS="-avoid-version -no-undefined" |
|
35855
3e60f9385431
cross-win32: libpurple builds now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35854
diff
changeset
|
138 | AC_SUBST(DNSAPI_LIBS) |
|
35865
7f49bc843ce1
cross-win32: add version information to Pidgin/libpurple binaries
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35864
diff
changeset
|
139 | AC_CHECK_TOOL(WINDRES, windres) |
|
35859
3d157ce203ed
cross-win32: make libpidgin and libfinch shared, disable hacky libpidgin loading code. Pidgin runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35856
diff
changeset
|
140 | AC_DEFINE(IS_WIN32_CROSS_COMPILED, 1, |
|
3d157ce203ed
cross-win32: make libpidgin and libfinch shared, disable hacky libpidgin loading code. Pidgin runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35856
diff
changeset
|
141 | [Define to 1, when building with autotools (not necessarily |
|
3d157ce203ed
cross-win32: make libpidgin and libfinch shared, disable hacky libpidgin loading code. Pidgin runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35856
diff
changeset
|
142 | cross-compiling) for windows. It's a temporary hack to remain |
|
3d157ce203ed
cross-win32: make libpidgin and libfinch shared, disable hacky libpidgin loading code. Pidgin runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35856
diff
changeset
|
143 | non-autotools win32 build working. Drop it when we fully |
|
3d157ce203ed
cross-win32: make libpidgin and libfinch shared, disable hacky libpidgin loading code. Pidgin runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35856
diff
changeset
|
144 | switch our win32 build to autotools.]) |
|
35892
02bf3200b9cb
cross-win32: make use of WIN32_LEAN_AND_MEAN define
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35888
diff
changeset
|
145 | AC_DEFINE(WIN32_LEAN_AND_MEAN, 1, |
|
35893
c83a09a6e3d5
Fix legacy win32 build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35892
diff
changeset
|
146 | [Define to 1, to build faster for win32.]) |
|
35848
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
147 | ;; |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
148 | *) |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
149 | is_win32="no" |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
150 | is_not_win32="yes" |
|
35860
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
151 | PLUGIN_LDFLAGS="-avoid-version" |
|
35848
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
152 | ;; |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
153 | esac |
|
35852
fe350399078a
cross-win32: fix prpls
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35851
diff
changeset
|
154 | AM_CONDITIONAL(IS_WIN32, test "x$is_win32" = "xyes") |
|
35860
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
155 | AC_SUBST([PLUGIN_LDFLAGS]) |
|
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
156 | |
|
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
157 | dnl Define *_LIBS |
|
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
158 | PURPLE_LIBS="\$(top_builddir)/libpurple/libpurple.la \$(GLIB_LIBS)" |
|
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
159 | PIDGIN_LIBS="\$(top_builddir)/pidgin/libpidgin.la \$(GTK_LIBS)" |
|
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
160 | FINCH_LIBS="\$(top_builddir)/finch/libfinch.la \$(top_builddir)/finch/libgnt/libgnt.la \$(GLIB_LIBS)" |
|
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
161 | AC_SUBST(PURPLE_LIBS) |
|
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
162 | AC_SUBST(PIDGIN_LIBS) |
|
9ec9886a1ad3
cross-win32: correct dependencies and linker flags for Pidgin/libpurple/Finch plugins. They builds and runs now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35859
diff
changeset
|
163 | AC_SUBST(FINCH_LIBS) |
|
35848
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
164 | |
| 2129 | 165 | dnl Checks for header files. |
| 166 | AC_HEADER_SYS_WAIT | |
|
38047
312be70f9de6
Remove AC_HEADER_STDC and related C89 tests.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38013
diff
changeset
|
167 | AC_CHECK_HEADERS(fcntl.h unistd.h stdint.h) |
| 2129 | 168 | |
| 169 | dnl Checks for typedefs, structures, and compiler characteristics. | |
|
14049
c15c41423e19
[gaim-migrate @ 16559]
Richard Laager <rlaager@pidgin.im>
parents:
13932
diff
changeset
|
170 | AC_CHECK_SIZEOF(time_t, ,[ |
|
c15c41423e19
[gaim-migrate @ 16559]
Richard Laager <rlaager@pidgin.im>
parents:
13932
diff
changeset
|
171 | #include <stdio.h> |
|
c15c41423e19
[gaim-migrate @ 16559]
Richard Laager <rlaager@pidgin.im>
parents:
13932
diff
changeset
|
172 | #include <time.h>]) |
| 2129 | 173 | |
|
12423
e83c899d3be9
[gaim-migrate @ 14730]
Richard Laager <rlaager@pidgin.im>
parents:
12385
diff
changeset
|
174 | AC_C_BIGENDIAN |
|
e83c899d3be9
[gaim-migrate @ 14730]
Richard Laager <rlaager@pidgin.im>
parents:
12385
diff
changeset
|
175 | |
|
35901
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
176 | AC_ARG_WITH(win32-dirs, [AS_HELP_STRING([--with-win32-dirs=<classic|fhs>], |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
177 | [use win32 classic (Program Files-like) or FHS (unix-like) directory structure (default: classic)])], [ |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
178 | if test "x$withval" != "xclassic" -a "x$withval" != "xfhs" ; then |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
179 | AC_MSG_ERROR([Unsupported win32-dirs option. Please choose "classic" or "fhs".]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
180 | fi |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
181 | with_win32_dirs="$withval" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
182 | ], with_win32_dirs="classic") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
183 | if test "x$is_win32" = "xyes" -a "x$with_win32_dirs" = "xfhs" ; then |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
184 | AC_DEFINE(USE_WIN32_FHS, 1, [Define to 1, to use FHS on win32.]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
185 | fi |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
186 | |
|
35850
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
187 | dnl Check for directories |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
188 | if test "x$is_win32" = "xyes" ; then |
|
35901
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
189 | if test "x$with_win32_dirs" = "xfhs" ; then |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
190 | AS_AC_EXPAND(win32_fhs_bindir, "$bindir") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
191 | AC_DEFINE_UNQUOTED([WIN32_FHS_BINDIR], ["$win32_fhs_bindir"], |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
192 | [bindir, as defined by configure]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
193 | AS_AC_EXPAND(win32_fhs_libdir, "$libdir") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
194 | AC_DEFINE_UNQUOTED([WIN32_FHS_LIBDIR], ["$win32_fhs_libdir"], |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
195 | [libdir, as defined by configure]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
196 | AS_AC_EXPAND(win32_fhs_datadir, "$datadir") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
197 | AC_DEFINE_UNQUOTED([WIN32_FHS_DATADIR], ["$win32_fhs_datadir"], |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
198 | [datadir, as defined by configure]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
199 | AS_AC_EXPAND(win32_fhs_sysconfdir, "$sysconfdir") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
200 | AC_DEFINE_UNQUOTED([WIN32_FHS_SYSCONFDIR], ["$win32_fhs_sysconfdir"], |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
201 | [sysconfdir, as defined by configure]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
202 | AS_AC_EXPAND(win32_fhs_localedir, "$localedir") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
203 | AC_DEFINE_UNQUOTED([WIN32_FHS_LOCALEDIR], ["$win32_fhs_localedir"], |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
204 | [localedir, as defined by configure]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
205 | |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
206 | purple_libdir="wpurple_lib_dir(\"purple-$PURPLE_MAJOR_VERSION\")" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
207 | pidgin_libdir="wpurple_lib_dir(\"pidgin-$PURPLE_MAJOR_VERSION\")" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
208 | finch_libdir="wpurple_lib_dir(\"finch-$PURPLE_MAJOR_VERSION\")" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
209 | else |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
210 | purple_libdir="wpurple_lib_dir(NULL)" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
211 | pidgin_libdir="wpurple_lib_dir(NULL)" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
212 | finch_libdir="wpurple_lib_dir(NULL)" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
213 | fi |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
214 | |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
215 | purple_datadir="wpurple_data_dir()" |
|
35850
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
216 | purple_sysconfdir="wpurple_sysconf_dir()" |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
217 | purple_localedir="wpurple_locale_dir()" |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
218 | else |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
219 | AS_AC_EXPAND(purple_datadir, "$datadir") |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
220 | purple_datadir="\"$purple_datadir\"" |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
221 | AS_AC_EXPAND(purple_sysconfdir, "$sysconfdir") |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
222 | purple_sysconfdir="\"$purple_sysconfdir\"" |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
223 | AS_AC_EXPAND(purple_localedir, "$localedir") |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
224 | purple_localedir="\"$purple_localedir\"" |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
225 | |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
226 | AS_AC_EXPAND(common_libdir, "$libdir") |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
227 | purple_libdir="\"$common_libdir/purple-$PURPLE_MAJOR_VERSION\"" |
|
35888
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
228 | pidgin_libdir="\"$common_libdir/pidgin-$PURPLE_MAJOR_VERSION\"" |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
229 | finch_libdir="\"$common_libdir/finch-$PURPLE_MAJOR_VERSION\"" |
|
35850
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
230 | fi |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
231 | AC_DEFINE_UNQUOTED([PURPLE_DATADIR], [$purple_datadir], |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
232 | [datadir to use, may expand into a function call that returns const char *]) |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
233 | AC_DEFINE_UNQUOTED([PURPLE_LIBDIR], [$purple_libdir], |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
234 | [libdir to use for libpurple, may expand into a function call that returns const char *]) |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
235 | AC_DEFINE_UNQUOTED([PIDGIN_LIBDIR], [$pidgin_libdir], |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
236 | [libdir to use for Pidgin, may expand into a function call that returns const char *]) |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
237 | AC_DEFINE_UNQUOTED([FINCH_LIBDIR], [$finch_libdir], |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
238 | [libdir to use for Finch, may expand into a function call that returns const char *]) |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
239 | AC_DEFINE_UNQUOTED([PURPLE_SYSCONFDIR], [$purple_sysconfdir], |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
240 | [sysconfdir to use, may expand into a function call that returns const char *]) |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
241 | AC_DEFINE_UNQUOTED([PURPLE_LOCALEDIR], [$purple_localedir], |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
242 | [localedir to use, may expand into a function call that returns const char *]) |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
243 | |
|
35888
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
244 | PURPLE_PLUGINDIR="\$(libdir)/purple-$PURPLE_MAJOR_VERSION" |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
245 | AC_SUBST([PURPLE_PLUGINDIR]) |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
246 | PIDGIN_PLUGINDIR="\$(libdir)/pidgin-$PURPLE_MAJOR_VERSION" |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
247 | AC_SUBST([PIDGIN_PLUGINDIR]) |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
248 | FINCH_PLUGINDIR="\$(libdir)/finch-$PURPLE_MAJOR_VERSION" |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
249 | AC_SUBST([FINCH_PLUGINDIR]) |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
250 | |
| 2129 | 251 | dnl Checks for library functions. |
|
13217
a159125835c0
[gaim-migrate @ 15580]
Richard Laager <rlaager@pidgin.im>
parents:
13180
diff
changeset
|
252 | AC_CHECK_FUNCS(strdup strstr atexit setlocale) |
| 2129 | 253 | dnl Checks for getopt in standard library |
|
7451
41329081eb6d
[gaim-migrate @ 8063]
Christian Hammond <chipx86@chipx86.com>
parents:
7396
diff
changeset
|
254 | AC_CHECK_FUNCS(getopt_long,, |
|
41329081eb6d
[gaim-migrate @ 8063]
Christian Hammond <chipx86@chipx86.com>
parents:
7396
diff
changeset
|
255 | [ |
|
41329081eb6d
[gaim-migrate @ 8063]
Christian Hammond <chipx86@chipx86.com>
parents:
7396
diff
changeset
|
256 | AC_LIBOBJ(getopt) |
|
41329081eb6d
[gaim-migrate @ 8063]
Christian Hammond <chipx86@chipx86.com>
parents:
7396
diff
changeset
|
257 | AC_LIBOBJ(getopt1) |
|
41329081eb6d
[gaim-migrate @ 8063]
Christian Hammond <chipx86@chipx86.com>
parents:
7396
diff
changeset
|
258 | ]) |
| 2129 | 259 | |
| 2959 | 260 | dnl Check for inet_aton |
|
35848
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
261 | if test "x$is_win32" != "xyes" ; then |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
262 | AC_CHECK_FUNC(inet_aton, , [AC_CHECK_LIB(resolv, inet_aton, , |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
263 | [AC_MSG_ERROR([inet_aton not found])])]) |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
264 | fi |
|
11373
80fd6df6fbe0
[gaim-migrate @ 13598]
Thomas Butter <tbutter@users.sourceforge.net>
parents:
11356
diff
changeset
|
265 | AC_CHECK_LIB(resolv, __res_query) |
| 4424 | 266 | AC_CHECK_LIB(nsl, gethostent) |
|
36033
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
267 | if test "x$is_win32" = "xyes" ; then |
|
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
268 | AC_DEFINE(HAVE_GETADDRINFO, 1, [Define to 1 if you have the getaddrinfo function.]) |
|
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
269 | AC_DEFINE(HAVE_INET_NTOP, 1, [Define to 1 if you have the `inet_ntop' function.]) |
|
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
270 | else |
|
35848
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
271 | AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket, socket, , |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
272 | [AC_MSG_ERROR([socket not found])])]) |
|
36033
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
273 | dnl If all goes well, by this point the previous two checks will have |
|
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
274 | dnl pulled in -lsocket and -lnsl if we need them. |
|
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
275 | AC_CHECK_FUNC(getaddrinfo, |
|
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
276 | [AC_DEFINE([HAVE_GETADDRINFO], [1], |
|
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
277 | [Define to 1 if you have the getaddrinfo function.])], |
|
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
278 | [AC_CHECK_LIB(socket, getaddrinfo, |
|
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
279 | [AC_DEFINE([HAVE_GETADDRINFO]) LIBS="-lsocket -lnsl $LIBS"], , -lnsl)]) |
|
1bed3dca6bd2
Configure: don't look for getaddrinfo and inet_ntop on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35989
diff
changeset
|
280 | AC_CHECK_FUNCS(inet_ntop) |
|
35848
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
281 | fi |
|
29714
8c1f3beb9fdc
network: Use getifaddrs() to enumerate local interfaces/IPs if available.
Paul Aurich <darkrain42@pidgin.im>
parents:
29698
diff
changeset
|
282 | AC_CHECK_FUNCS(getifaddrs) |
| 3150 | 283 | dnl Check for socklen_t (in Unix98) |
| 284 | AC_MSG_CHECKING(for socklen_t) | |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
285 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
286 | #include <sys/types.h> |
|
35849
77efee65c5f4
cross-win32: fix socklen_t check, win32dep.h include, undef pthread's localtime_r
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35848
diff
changeset
|
287 | #ifdef _WIN32 |
|
77efee65c5f4
cross-win32: fix socklen_t check, win32dep.h include, undef pthread's localtime_r
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35848
diff
changeset
|
288 | # include <ws2tcpip.h> |
|
77efee65c5f4
cross-win32: fix socklen_t check, win32dep.h include, undef pthread's localtime_r
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35848
diff
changeset
|
289 | #else |
|
77efee65c5f4
cross-win32: fix socklen_t check, win32dep.h include, undef pthread's localtime_r
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35848
diff
changeset
|
290 | # include <sys/socket.h> |
|
77efee65c5f4
cross-win32: fix socklen_t check, win32dep.h include, undef pthread's localtime_r
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35848
diff
changeset
|
291 | #endif |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
292 | socklen_t x; |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
293 | ]], [[]])], [ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
294 | AC_MSG_RESULT(yes) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
295 | ], [ |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
296 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
297 | #include <sys/types.h> |
|
35871
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
298 | #ifdef _WIN32 |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
299 | # include <ws2tcpip.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
300 | #else |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
301 | # include <sys/socket.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
302 | #endif |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
303 | int accept(int, struct sockaddr *, size_t *); |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
304 | ]], [[]])], [ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
305 | AC_MSG_RESULT(size_t) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
306 | AC_DEFINE(socklen_t, size_t, [socklen_t size]) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
307 | ], [ |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
308 | AC_MSG_RESULT(int) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
309 | AC_DEFINE(socklen_t, int, [socklen_t size]) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
310 | ]) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
311 | ]) |
| 3150 | 312 | |
|
23352
9714223ca7a7
A patch from Peter O'Gorman at The Written Word, Inc. to fix various
Peter O'Gorman <pogma@thewrittenword.com>
parents:
23341
diff
changeset
|
313 | dnl Some systems do not have sa_len field for struct sockaddr. |
|
9714223ca7a7
A patch from Peter O'Gorman at The Written Word, Inc. to fix various
Peter O'Gorman <pogma@thewrittenword.com>
parents:
23341
diff
changeset
|
314 | AC_CHECK_MEMBER([struct sockaddr.sa_len], |
|
9714223ca7a7
A patch from Peter O'Gorman at The Written Word, Inc. to fix various
Peter O'Gorman <pogma@thewrittenword.com>
parents:
23341
diff
changeset
|
315 | [AC_DEFINE([HAVE_STRUCT_SOCKADDR_SA_LEN],[1], |
|
9714223ca7a7
A patch from Peter O'Gorman at The Written Word, Inc. to fix various
Peter O'Gorman <pogma@thewrittenword.com>
parents:
23341
diff
changeset
|
316 | [Define if struct sockaddr has an sa_len member])],[:], |
|
35871
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
317 | [ |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
318 | #ifdef _WIN32 |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
319 | # include <ws2tcpip.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
320 | #else |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
321 | # include <sys/socket.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
322 | #endif |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
323 | ]) |
|
23352
9714223ca7a7
A patch from Peter O'Gorman at The Written Word, Inc. to fix various
Peter O'Gorman <pogma@thewrittenword.com>
parents:
23341
diff
changeset
|
324 | |
|
30027
2ab6e591cf72
Add network listen functions that accept a family argument (AF_INET(6?)).
Paul Aurich <darkrain42@pidgin.im>
parents:
29960
diff
changeset
|
325 | dnl Check for v6-only sockets |
|
2ab6e591cf72
Add network listen functions that accept a family argument (AF_INET(6?)).
Paul Aurich <darkrain42@pidgin.im>
parents:
29960
diff
changeset
|
326 | AC_CHECK_DECL([IPV6_V6ONLY], |
|
2ab6e591cf72
Add network listen functions that accept a family argument (AF_INET(6?)).
Paul Aurich <darkrain42@pidgin.im>
parents:
29960
diff
changeset
|
327 | [AC_DEFINE([HAVE_IPV6_V6ONLY],[1], |
|
2ab6e591cf72
Add network listen functions that accept a family argument (AF_INET(6?)).
Paul Aurich <darkrain42@pidgin.im>
parents:
29960
diff
changeset
|
328 | [Define if the IPV6_V6ONLY setsockopt option exists])], |
|
35871
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
329 | [], [ |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
330 | #ifdef _WIN32 |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
331 | # include <ws2tcpip.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
332 | #else |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
333 | # include <netinet/in.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
334 | #endif |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
335 | ]) |
|
30027
2ab6e591cf72
Add network listen functions that accept a family argument (AF_INET(6?)).
Paul Aurich <darkrain42@pidgin.im>
parents:
29960
diff
changeset
|
336 | |
|
10622
8faf2d7a4afe
[gaim-migrate @ 12091]
Luke Schierer <lschiere@pidgin.im>
parents:
10620
diff
changeset
|
337 | dnl to prevent the g_stat()/g_unlink() crash, |
|
8faf2d7a4afe
[gaim-migrate @ 12091]
Luke Schierer <lschiere@pidgin.im>
parents:
10620
diff
changeset
|
338 | dnl (09:50:07) Robot101: LSchiere2: it's easy. +LC_SYS_LARGEFILE somewhere in configure.ac |
|
8faf2d7a4afe
[gaim-migrate @ 12091]
Luke Schierer <lschiere@pidgin.im>
parents:
10620
diff
changeset
|
339 | AC_SYS_LARGEFILE |
|
8faf2d7a4afe
[gaim-migrate @ 12091]
Luke Schierer <lschiere@pidgin.im>
parents:
10620
diff
changeset
|
340 | |
|
12038
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
341 | dnl FreeBSD doesn't have libdl, dlopen is provided by libc |
|
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
342 | AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")]) |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
343 | |
|
32770
d7f8a016cb22
rekkanoryo pointed out that this error message is for a different
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32750
diff
changeset
|
344 | dnl Windows and Haiku do not use libm for the math functions, they are part |
|
32076
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
345 | dnl of the C library |
|
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
346 | AC_SEARCH_LIBS([ceil], [m], [], [ |
|
32770
d7f8a016cb22
rekkanoryo pointed out that this error message is for a different
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32750
diff
changeset
|
347 | AC_MSG_ERROR([unable to find the ceil() function]) |
|
32076
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
348 | ]) |
|
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
349 | |
|
33674
bdf9bd73a37d
These parentheses should be quoted.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33673
diff
changeset
|
350 | AC_MSG_CHECKING([for fileno()]) |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
351 | AC_RUN_IFELSE([AC_LANG_SOURCE([[ |
|
21421
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
352 | #include <stdio.h> |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
353 | |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
354 | int main(int argc, char *argv[]) |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
355 | { |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
356 | int fd; |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
357 | |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
358 | fd = fileno(stdout); |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
359 | |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
360 | return !(fd > 0); |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
361 | } |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
362 | ]])], [ |
|
21421
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
363 | AC_MSG_RESULT(yes) |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
364 | AC_DEFINE([HAVE_FILENO], [1], |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
365 | [Define to 1 if your stdio has int fileno(FILE *).]) |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
366 | ], [ |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
367 | AC_MSG_RESULT(no) |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
368 | ], [ |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
369 | # Fallback for Cross Compiling... |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
370 | # This will enable the compatibility code. |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
371 | AC_MSG_RESULT(no) |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
372 | ]) |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
373 | |
|
33674
bdf9bd73a37d
These parentheses should be quoted.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33673
diff
changeset
|
374 | AC_MSG_CHECKING([for the %z format string in strftime()]) |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
375 | AC_RUN_IFELSE([AC_LANG_SOURCE([[ |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
376 | #include <time.h> |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
377 | #include <stdio.h> |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
378 | |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
379 | int main() |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
380 | { |
|
37566
792ff0633917
configure.ac: Allocate 64 bytes for strftime buffer in order to avoid potential crashing on Windows.
Unknown Name <fracting@gmail.com>
parents:
37558
diff
changeset
|
381 | char buf[64]; |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
382 | time_t t = time(NULL); |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
383 | |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
384 | if (strftime(buf, sizeof(buf), "%z", localtime(&t)) != 5) |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
385 | return 1; |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
386 | |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
387 | fprintf(stderr, "strftime(\"%%z\") yields: \"%s\"\n", buf); |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
388 | |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
389 | return !((buf[0] == '-' || buf[0] == '+') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
390 | (buf[1] >= '0' && buf[1] <= '9') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
391 | (buf[2] >= '0' && buf[2] <= '9') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
392 | (buf[3] >= '0' && buf[3] <= '9') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
393 | (buf[4] >= '0' && buf[4] <= '9') |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
394 | ); |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
395 | } |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
396 | ]])], [ |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
397 | AC_MSG_RESULT(yes) |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
398 | AC_DEFINE([HAVE_STRFTIME_Z_FORMAT], [1], |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
399 | [Define to 1 if you have a strftime() that supports the %z format string.]) |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
400 | ], [ |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
401 | AC_MSG_RESULT(no) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
402 | ], [ |
|
13226
92b014d46d83
[gaim-migrate @ 15589]
Richard Laager <rlaager@pidgin.im>
parents:
13217
diff
changeset
|
403 | # Fallback for Cross Compiling... |
|
92b014d46d83
[gaim-migrate @ 15589]
Richard Laager <rlaager@pidgin.im>
parents:
13217
diff
changeset
|
404 | # This will enable the compatibility code. |
|
92b014d46d83
[gaim-migrate @ 15589]
Richard Laager <rlaager@pidgin.im>
parents:
13217
diff
changeset
|
405 | AC_MSG_RESULT(no) |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
406 | ]) |
|
11949
ee1bbb072d4a
[gaim-migrate @ 14240]
Christopher O'Brien <siege@pidgin.im>
parents:
11945
diff
changeset
|
407 | |
|
31516
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
408 | # before gettexting, in case iconv matters |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
409 | case "$host_os" in |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
410 | darwin*) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
411 | AC_CHECK_LIB(resolv, res_query) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
412 | |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
413 | AC_CHECK_HEADER(CoreFoundation/CoreFoundation.h, [ |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
414 | AC_CHECK_HEADER(IOKit/IOKitLib.h, [ |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
415 | AC_DEFINE(HAVE_IOKIT, 1, [Define if we have IOKit]) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
416 | LIBS="$LIBS -framework IOKit -framework CoreFoundation" |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
417 | ], []) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
418 | ], []) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
419 | |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
420 | AC_MSG_CHECKING([for fink]) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
421 | if test -d /sw; then |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
422 | AC_MSG_RESULT([found, adding /sw to search paths]) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
423 | CPPFLAGS="$CPPFLAGS -I/sw/include" |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
424 | LDFLAGS="$LDFLAGS -L/sw/lib" |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
425 | else |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
426 | AC_MSG_RESULT([not found]) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
427 | fi |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
428 | ;; |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
429 | *) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
430 | ;; |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
431 | esac |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
432 | |
| 13720 | 433 | dnl ####################################################################### |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
434 | dnl # Disable creation and installation of translation files |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
435 | dnl ####################################################################### |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
436 | AC_ARG_ENABLE(nls, AS_HELP_STRING([--disable-nls], [disable installation of translation files]), enable_i18n="$enableval", enable_i18n=yes) |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
437 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
438 | if test x$enable_i18n = xyes; then |
|
33677
a6c779d99320
Replace obsolete AC_PROG_INTLTOOL with IT_PROG_INTLTOOL.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33676
diff
changeset
|
439 | IT_PROG_INTLTOOL |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
440 | GETTEXT_PACKAGE=pidgin |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
441 | AC_SUBST(GETTEXT_PACKAGE) |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
442 | |
|
36340
2b41c6ce5c4f
Add a new Malay (Malaysia) translator
Richard Laager <rlaager@pidgin.im>
parents:
36335
diff
changeset
|
443 | ALL_LINGUAS="af am ar as ast az be@latin bg bn_IN bn br brx bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es_AR es et eu fa fi fr ga gl gu he hi hr hu id it ja ka kk km kn ko ks ku_IQ ku lt lv mai mhr mk ml mn mr ms_MY my_MM nb ne nl nn oc or pa pl ps pt_BR pt ro ru sd si sk sl sq sr@latin sr sv sw ta te th tr tt uk ur uz vi xh zh_CN zh_HK zh_TW" |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
444 | AM_GLIB_GNU_GETTEXT |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
445 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
446 | dnl If we don't have msgfmt, then po/ is going to fail -- ensure that |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
447 | dnl AM_GLIB_GNU_GETTEXT found it. |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
448 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
449 | if test x$MSGFMT = xno -o x$MSGFMT$GMSGFMT$INTLTOOL_MSGFMT = x |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
450 | then |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
451 | AC_MSG_ERROR([ |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
452 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
453 | The msgfmt command is required to build libpurple. If it is installed |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
454 | on your system, ensure that it is in your path. If it is not, install |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
455 | GNU gettext to continue. |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
456 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
457 | If you have msgfmt installed, but for some reason this error message |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
458 | is still displayed, you have encountered what appears to be a bug in |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
459 | third-party configure macros. Try setting the MSGFMT environment |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
460 | variable to the absolute path to your msgfmt binary and trying |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
461 | configure again, like this: |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
462 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
463 | MSGFMT=/path/to/msgfmt ./configure ... |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
464 | ]) |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
465 | fi |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
466 | fi #enable_i18n |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
467 | |
|
30358
78ae7bcfa65c
I don't know why this AM_CONDITIONAL is so far away from its setup.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30263
diff
changeset
|
468 | AM_CONDITIONAL(INSTALL_I18N, test "x$enable_i18n" = "xyes") |
|
78ae7bcfa65c
I don't know why this AM_CONDITIONAL is so far away from its setup.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30263
diff
changeset
|
469 | |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
470 | dnl ####################################################################### |
|
37976
743a04636b7b
configure.ac: Bump GLib dependency version to 2.36
Mike Ruprecht <cmaiku@gmail.com>
parents:
37938
diff
changeset
|
471 | dnl # Check for GLib 2.36 (required) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
472 | dnl ####################################################################### |
|
37976
743a04636b7b
configure.ac: Bump GLib dependency version to 2.36
Mike Ruprecht <cmaiku@gmail.com>
parents:
37938
diff
changeset
|
473 | PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.36.0 gio-2.0 gobject-2.0 gthread-2.0], , [ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
474 | AC_MSG_RESULT(no) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
475 | AC_MSG_ERROR([ |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
476 | |
|
37976
743a04636b7b
configure.ac: Bump GLib dependency version to 2.36
Mike Ruprecht <cmaiku@gmail.com>
parents:
37938
diff
changeset
|
477 | You must have GLib 2.36.0 or newer development headers installed to build. |
|
21700
2ac5912cbeb6
Add a note about pkg-config to configure.ac if glib2 headers were not
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21600
diff
changeset
|
478 | |
|
2ac5912cbeb6
Add a note about pkg-config to configure.ac if glib2 headers were not
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21600
diff
changeset
|
479 | If you have these installed already you may need to install pkg-config so |
|
2ac5912cbeb6
Add a note about pkg-config to configure.ac if glib2 headers were not
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21600
diff
changeset
|
480 | I can find them. |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
481 | ])]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
482 | AC_SUBST(GLIB_CFLAGS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
483 | AC_SUBST(GLIB_LIBS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
484 | |
|
37485
778662f494ee
Use $PKG_CONFIG instead of assuming that pkg-config is the right one
Gary Kramlich <grim@reaperworld.com>
parents:
37466
diff
changeset
|
485 | GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` |
|
23697
299bafcd8eb8
Updates voice and video to use Farsight 2, gets XMPP voice conferences
Michael Ruprecht <maiku@pidgin.im>
parents:
23696
diff
changeset
|
486 | AC_SUBST(GLIB_GENMARSHAL) |
|
299bafcd8eb8
Updates voice and video to use Farsight 2, gets XMPP voice conferences
Michael Ruprecht <maiku@pidgin.im>
parents:
23696
diff
changeset
|
487 | |
|
37485
778662f494ee
Use $PKG_CONFIG instead of assuming that pkg-config is the right one
Gary Kramlich <grim@reaperworld.com>
parents:
37466
diff
changeset
|
488 | GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` |
|
34597
4c0ae73d3745
Added autogeneration of GEnums using glib-mkenums to enums.c and enums.h
Ankit Vani <a@nevitus.org>
parents:
34208
diff
changeset
|
489 | AC_SUBST(GLIB_MKENUMS) |
|
4c0ae73d3745
Added autogeneration of GEnums using glib-mkenums to enums.c and enums.h
Ankit Vani <a@nevitus.org>
parents:
34208
diff
changeset
|
490 | |
|
37593
17c34d87c5b3
Initial conversion to gtester
Gary Kramlich <grim@reaperworld.com>
parents:
37566
diff
changeset
|
491 | AC_PATH_PROG(GTESTER, gtester) |
|
17c34d87c5b3
Initial conversion to gtester
Gary Kramlich <grim@reaperworld.com>
parents:
37566
diff
changeset
|
492 | GLIB_TESTS |
|
17c34d87c5b3
Initial conversion to gtester
Gary Kramlich <grim@reaperworld.com>
parents:
37566
diff
changeset
|
493 | |
|
21106
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
494 | AC_ARG_WITH([extraversion], |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
495 | AS_HELP_STRING([--with-extraversion=STRING], |
|
21106
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
496 | [extra version number to be displayed in Help->About and --help (for packagers)]), |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
497 | EXTRA_VERSION=$withval) |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
498 | |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
499 | if test x"$EXTRA_VERSION" != "x" ; then |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
500 | AC_DEFINE_UNQUOTED(DISPLAY_VERSION, "$VERSION-$EXTRA_VERSION", [display version info]) |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
501 | else |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
502 | AC_DEFINE_UNQUOTED(DISPLAY_VERSION, "$VERSION", [display version info]) |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
503 | fi |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
504 | |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
505 | AC_ARG_ENABLE(missing-dependencies, [AS_HELP_STRING([--disable-missing-dependencies], |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
506 | [skip missing dependencies instead of aborting configure])], |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
507 | force_deps="$enableval", force_deps="yes") |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
508 | |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
509 | AC_ARG_WITH(x, [], |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
510 | with_x="$withval", with_x="$is_not_win32") |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
511 | AC_ARG_ENABLE(gtkui, [AS_HELP_STRING([--disable-gtkui], |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
512 | [compile without GTK+ user interface])], |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
513 | enable_gtkui="$enableval", enable_gtkui="yes") |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
514 | AC_ARG_ENABLE(consoleui, [AS_HELP_STRING([--disable-consoleui], |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
515 | [compile without console user interface])], |
|
21822
20878ac233be
Error out when --enable-consoleui is used but finch can't be built. Fixes #3910.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21762
diff
changeset
|
516 | [enable_consoleui=$enableval force_finch=$enableval], [enable_consoleui=yes force_finch=no]) |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
517 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
518 | dnl ####################################################################### |
|
33682
cb3c2ebadbf1
When building with gtk 2, require at least 2.18.0
Mark Doliner <mark@kingant.net>
parents:
33672
diff
changeset
|
519 | dnl # Check for GTK+ 2.18 and other things used by the GTK UI |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
520 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
521 | AC_ARG_ENABLE(screensaver, |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
522 | [AS_HELP_STRING([--disable-screensaver], |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
523 | [compile without X screensaver extension (used to detect idleness)])], |
| 14859 | 524 | enable_screensaver="$enableval", enable_screensaver="yes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
525 | AC_ARG_ENABLE(sm, |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
526 | [AS_HELP_STRING([--disable-sm], |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
527 | [compile without X session management support])], |
| 14859 | 528 | enable_sm="$enableval", enable_sm="yes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
529 | AC_ARG_ENABLE(startup-notification, |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
530 | [AS_HELP_STRING([--disable-startup-notification], |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
531 | [compile without startup notification support])], |
| 14859 | 532 | enable_startup_notification="$enableval", enable_startup_notification="yes") |
|
35911
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
533 | AC_ARG_ENABLE(enchant, |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
534 | [AS_HELP_STRING([--disable-enchant], |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
535 | [compile without Enchant spell checking support])], |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
536 | enable_enchant="$enableval", enable_enchant="yes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
537 | AC_ARG_ENABLE(gevolution, |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
538 | [AS_HELP_STRING([--enable-gevolution], |
|
22783
43b697ca2f9e
Make the gevolution plugin disabled by default. Again, if anyone disagrees
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22780
diff
changeset
|
539 | [compile with the Evolution plugin])], |
|
43b697ca2f9e
Make the gevolution plugin disabled by default. Again, if anyone disagrees
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22780
diff
changeset
|
540 | enable_gevolution="$enableval", enable_gevolution="no") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
541 | AC_ARG_ENABLE(cap, |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
542 | [AS_HELP_STRING([--enable-cap], |
|
22784
36a4d7c64d00
Make the cap plugin disabled by default. As usual, anyone who disagrees or
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22783
diff
changeset
|
543 | [compile with Contact Availability Prediction plugin])], |
|
36a4d7c64d00
Make the cap plugin disabled by default. As usual, anyone who disagrees or
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22783
diff
changeset
|
544 | enable_cap="$enableval", enable_cap="no") |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
545 | AC_ARG_ENABLE(gestures, |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
546 | [AS_HELP_STRING([--disable-gestures], |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
547 | [compile without the gestures plugin])], |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
548 | enable_gestures="$enableval", enable_gestures="yes") |
|
32771
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
549 | AC_ARG_ENABLE(gcr, |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
550 | [AS_HELP_STRING([--enable-gcr], |
|
32771
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
551 | [compile with GCR certificate widgets])], |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
552 | enable_gcr="$enableval", enable_gcr="no") |
|
14621
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
553 | |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
554 | AC_PATH_XTRA |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
555 | # We can't assume that $x_libraries will be set, because autoconf does not |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
556 | # set it in the case when the X libraries are in a standard place. |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
557 | # Ditto for $x_includes |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
558 | if test X"$x_libraries" = X"" || test X"$x_libraries" = XNONE; then |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
559 | x_libpath_add= |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
560 | else |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
561 | x_libpath_add="-L$x_libraries" |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
562 | fi |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
563 | if test X"$x_includes" = X"" || test X"$x_includes" = XNONE; then |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
564 | x_incpath_add= |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
565 | else |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
566 | x_incpath_add="-I$x_includes" |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
567 | fi |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
568 | |
|
37422
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
569 | dnl ####################################################################### |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
570 | dnl Check Pidgin dependencies |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
571 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
572 | if test "x$enable_gtkui" = "xyes" ; then |
|
37991
b344343d3cf0
Raise minimum GTK+ to 3.4.2.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37976
diff
changeset
|
573 | PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= 3.4.2], , [ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
574 | AC_MSG_RESULT(no) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
575 | AC_MSG_ERROR([ |
|
38006
98fc851b9c99
Fix configure error message.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37991
diff
changeset
|
576 | You must have GTK+ 3.4.2 or newer development headers installed to compile |
|
28285
d288a79d7401
applied changes from 72b3be2a12aafc0f3b5367f8ca20a893422d36f6
Mark Doliner <markdoliner@pidgin.im>
parents:
28241
diff
changeset
|
577 | Pidgin. If you want to build only Finch then specify --disable-gtkui when |
|
d288a79d7401
applied changes from 72b3be2a12aafc0f3b5367f8ca20a893422d36f6
Mark Doliner <markdoliner@pidgin.im>
parents:
28241
diff
changeset
|
578 | running configure. |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
579 | ])]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
580 | AC_SUBST(GTK_CFLAGS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
581 | AC_SUBST(GTK_LIBS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
582 | |
|
16291
acbfc9276da1
Fix for using Pango < 1.4, will not have complete RTL support with older
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16287
diff
changeset
|
583 | dnl We only really need Pango >= 1.4 for decent RTL support |
|
21702
37553b232826
The use of lowercase "pango" looks out of place when appended with _CFLAGS
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21701
diff
changeset
|
584 | PKG_CHECK_MODULES(PANGO, [pango >= 1.4.0], |
|
16292
4927daf9501e
Don't error out of ./configure on older pango versions
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16291
diff
changeset
|
585 | AC_DEFINE(HAVE_PANGO14, 1, [Define if we have Pango 1.4 or newer.]),:) |
|
16291
acbfc9276da1
Fix for using Pango < 1.4, will not have complete RTL support with older
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16287
diff
changeset
|
586 | |
|
35193
11152544c1e0
webkit_web_inspector_inspect_node requires webkit 1.3.7
Ankit Vani <a@nevitus.org>
parents:
35192
diff
changeset
|
587 | WEBKIT_VERSION=1.3.7 |
|
37932
81b06ce81755
Remove more GTK+2 compatibility.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37931
diff
changeset
|
588 | PKG_CHECK_MODULES(WEBKIT, ["webkitgtk-3.0" >= $WEBKIT_VERSION], , [ |
|
37422
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
589 | AC_MSG_RESULT(no) |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
590 | AC_MSG_ERROR([ |
|
33230
e34d71219cce
Make it clear which GTK+-dependent library we need.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33171
diff
changeset
|
591 | You must have WebKit for GTK+3 $WEBKIT_VERSION or newer development headers |
|
e34d71219cce
Make it clear which GTK+-dependent library we need.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33171
diff
changeset
|
592 | installed to compile Pidgin. If you want to build only Finch then specify |
|
e34d71219cce
Make it clear which GTK+-dependent library we need.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33171
diff
changeset
|
593 | --disable-gtkui when running configure. |
|
32512
9436e345acf9
WebKit is only required when building Pidgin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32507
diff
changeset
|
594 | ])]) |
|
9436e345acf9
WebKit is only required when building Pidgin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32507
diff
changeset
|
595 | AC_SUBST(WEBKIT_CFLAGS) |
|
9436e345acf9
WebKit is only required when building Pidgin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32507
diff
changeset
|
596 | AC_SUBST(WEBKIT_LIBS) |
|
9436e345acf9
WebKit is only required when building Pidgin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32507
diff
changeset
|
597 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
598 | dnl ####################################################################### |
|
35911
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
599 | dnl # Check if we should compile with enchant support |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
600 | dnl ####################################################################### |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
601 | dnl We need enchant for spell checking dictionary enumeration, |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
602 | dnl because webkit1 doesn't have this. |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
603 | use_enchant=no |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
604 | if test "x$enable_enchant" = "xyes" ; then |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
605 | use_enchant=yes |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
606 | PKG_CHECK_MODULES(ENCHANT, enchant, , [ |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
607 | AC_MSG_RESULT(no) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
608 | use_enchant=no |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
609 | ]) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
610 | if test "x$force_deps" = "xyes" -a "x$use_enchant" = "xno"; then |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
611 | AC_MSG_ERROR([ |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
612 | Enchant development headers not found. |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
613 | Use --disable-enchant if you do not need it. |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
614 | ]) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
615 | fi |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
616 | if test "x$use_enchant" = "xyes" ; then |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
617 | AC_DEFINE(USE_ENCHANT, 1, [Define if we're using enchant]) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
618 | AC_SUBST(ENCHANT_CFLAGS) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
619 | AC_SUBST(ENCHANT_LIBS) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
620 | fi |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
621 | fi |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
622 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
623 | dnl ####################################################################### |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
624 | dnl # Check if we should compile with X support |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
625 | dnl ####################################################################### |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
626 | if test "x$with_x" = "xyes" ; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
627 | PKG_CHECK_MODULES(X11, x11, |
|
20069
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
628 | [AC_DEFINE(HAVE_X11, 1, [Define to 1 if you have X11])], |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
629 | [AC_MSG_RESULT(no) |
|
20069
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
630 | if test "x$x_incpath_add" != "x" -a "x$x_libpath_add" != "x"; then |
|
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
631 | X11_LIBS="$x_libpath_add" |
|
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
632 | X11_CFLAGS="$x_incpath_add" |
|
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
633 | else |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
634 | with_x="no" |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
635 | if test "x$force_deps" = "xyes" ; then |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
636 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
637 | X11 development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
638 | Use --without-x if you do not need X11 support. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
639 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
640 | fi |
|
20069
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
641 | fi |
|
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
642 | ]) |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
643 | AC_SUBST(X11_LIBS) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
644 | AC_SUBST(X11_CFLAGS) |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
645 | else |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
646 | enable_screensaver=no |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
647 | enable_sm=no |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
648 | enable_gestures=no |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
649 | fi |
|
20069
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
650 | |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
651 | dnl ####################################################################### |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
652 | dnl # Check for XScreenSaver |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
653 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
654 | if test "x$enable_screensaver" = "xyes" ; then |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
655 | if test "x$with_x" = "xyes" ; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
656 | old_LIBS="$LIBS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
657 | LIBS="$LIBS $GTK_LIBS $x_libpath_add" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
658 | XSS_LIBS="" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
659 | XSS_HEADERS="" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
660 | AC_CHECK_LIB(Xext, XScreenSaverRegister,[XSS_LIBS="$X_LIBS $X_PRE_LIBS -lX11 -lXext $X_EXTRA_LIBS"],[],[-lX11 -lXext -lm]) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
661 | AC_CHECK_LIB(Xss, XScreenSaverRegister,[XSS_LIBS="$X_LIBS $X_PRE_LIBS -lX11 -lXext $X_LIBS $X_EXTRA_LIBS -lXss"],[],[-lX11 -lXext -lm]) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
662 | if test "x$XSS_LIBS" != "x"; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
663 | oldCPPFLAGS="$CPPFLAGS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
664 | CPPFLAGS="$CPPFLAGS $x_incpath_add" |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
665 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
666 | #include <X11/Xlib.h> |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
667 | #include <X11/extensions/scrnsaver.h> |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
668 | ]], [[]])], [], [enable_screensaver=no]) |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
669 | CPPFLAGS="$oldCPPFLAGS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
670 | else |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
671 | enable_screensaver=no |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
672 | fi |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
673 | LIBS="$old_LIBS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
674 | |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
675 | if test "x$enable_screensaver" = "xyes" ; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
676 | AC_DEFINE(USE_SCREENSAVER, 1, [Define if we're using XScreenSaver.]) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
677 | AC_SUBST(XSS_LIBS) |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
678 | else |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
679 | if test "x$force_deps" = "xyes" ; then |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
680 | AC_MSG_ERROR([ |
|
35931
56d2fa8e8698
Better description for XScreenSaver configure error
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35930
diff
changeset
|
681 | XScreenSaver extension development headers (libXScrnSaver-devel or libxss-dev) not found. |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
682 | Use --disable-screensaver if you do not need XScreenSaver extension support, |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
683 | this is required for detecting idle time by mouse and keyboard usage. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
684 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
685 | fi |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
686 | fi |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
687 | else |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
688 | AC_MSG_ERROR([X support is required to build with XScreenSaver extensions]) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
689 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
690 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
691 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
692 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
693 | dnl # Check for X session management libs |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
694 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
695 | if test "x$enable_sm" = "xyes"; then |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
696 | if test "x$with_x" = "xyes" ; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
697 | enable_sm=no |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
698 | AC_CHECK_LIB(SM, SmcSaveYourselfDone, found_sm_lib=true, , [$x_libpath_add -lICE]) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
699 | if test "x$found_sm_lib" = "xtrue"; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
700 | oldCPPFLAGS="$CPPFLAGS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
701 | CPPFLAGS="$CPPFLAGS $x_incpath_add" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
702 | AC_CHECK_HEADERS(X11/SM/SMlib.h, SM_LIBS="$x_libpath_add -lSM -lICE" enable_sm=yes) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
703 | CPPFLAGS="$oldCPPFLAGS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
704 | fi |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
705 | |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
706 | if test "x$enable_sm" = "xyes"; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
707 | AC_DEFINE(USE_SM, 1, [Define if we're using X Session Management.]) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
708 | AC_SUBST(SM_LIBS) |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
709 | else |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
710 | if test "x$force_deps" = "xyes" ; then |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
711 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
712 | X session management development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
713 | Use --disable-sm if you do not need session management support. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
714 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
715 | fi |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
716 | fi |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
717 | else |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
718 | AC_MSG_ERROR([X support is required to build with X session management support]) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
719 | fi |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
720 | fi |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
721 | |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
722 | dnl ####################################################################### |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
723 | dnl # Check for X11 to allow the gestures plugin |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
724 | dnl ####################################################################### |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
725 | if test "x$enable_gestures" = "xyes"; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
726 | if test "x$with_x" = "xno" ; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
727 | enable_gestures=no |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
728 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
729 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
730 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
731 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
732 | dnl # Check for stuff needed by the Evolution integration plugin. |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
733 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
734 | if test "x$enable_gevolution" = "xyes"; then |
|
35522
82139d173179
Fix gevolution build with e-d-s >= 3.6 and drop older versions. Fixes #15353
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35520
diff
changeset
|
735 | evo_deps="libebook-1.2 libedata-book-1.2 evolution-data-server-1.2 >= 3.6" |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
736 | PKG_CHECK_MODULES(EVOLUTION_ADDRESSBOOK, $evo_deps, , [ |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
737 | enable_gevolution="no" |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
738 | ]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
739 | if test "x$enable_gevolution" = "xyes"; then |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
740 | AC_DEFINE(HAVE_EVOLUTION_ADDRESSBOOK, 1, [Define if we're using evolution addressbook.]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
741 | AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
742 | AC_SUBST(EVOLUTION_ADDRESSBOOK_LIBS) |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
743 | else |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
744 | if test "x$force_deps" = "xyes" ; then |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
745 | AC_MSG_ERROR([ |
| 35578 | 746 | Evolution development headers not found (libebook, libedata-book, evolution-data-server >= 3.6). |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
747 | Use --disable-gevolution if you do not need it. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
748 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
749 | fi |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
750 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
751 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
752 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
753 | dnl ####################################################################### |
|
14573
7e18a0a07718
[gaim-migrate @ 17231]
Geoff Foster <g-off_@users.sourceforge.net>
parents:
14539
diff
changeset
|
754 | dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
755 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
756 | if test "x$enable_cap" = "xyes"; then |
|
14733
7e2a1598624d
[gaim-migrate @ 17417]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14666
diff
changeset
|
757 | PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.3,,[ |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
758 | AC_MSG_RESULT(no) |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
759 | enable_cap="no" |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
760 | if test "x$force_deps" = "xyes" ; then |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
761 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
762 | sqlite3 development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
763 | Use --disable-cap if you do not need the Contact Availability Prediction plugin. |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
764 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
765 | fi]) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
766 | fi |
|
32771
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
767 | |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
768 | dnl ####################################################################### |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
769 | dnl # Check for GCR for its certificate widgets |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
770 | dnl ####################################################################### |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
771 | if test "x$enable_gcr" = "xyes"; then |
|
37422
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
772 | PKG_CHECK_MODULES(GCR, gcr-3, [ |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
773 | AC_DEFINE(ENABLE_GCR, 1, [Define to 1 if GCR is found.])], [ |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
774 | AC_MSG_RESULT(no) |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
775 | enable_gcr="no" |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
776 | if test "x$force_deps" = "xyes" ; then |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
777 | AC_MSG_ERROR([ |
|
33230
e34d71219cce
Make it clear which GTK+-dependent library we need.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33171
diff
changeset
|
778 | GCR for GTK+3 development headers not found. |
|
32771
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
779 | Use --disable-gcr if you do not need GCR certificate widgets. |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
780 | ]) |
|
37422
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
781 | fi]) |
|
32771
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
782 | fi |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
783 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
784 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
785 | else # GTK |
|
32771
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
786 | enable_gcr=no |
|
14733
7e2a1598624d
[gaim-migrate @ 17417]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14666
diff
changeset
|
787 | enable_cap=no |
|
7e2a1598624d
[gaim-migrate @ 17417]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14666
diff
changeset
|
788 | enable_gevolution=no |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
789 | enable_screensaver=no |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
790 | enable_sm=no |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
791 | enable_startup_notification=no |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
792 | fi # GTK |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
793 | |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
794 | AM_CONDITIONAL(ENABLE_GTK, test "x$enable_gtkui" = "xyes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
795 | AM_CONDITIONAL(BUILD_GEVOLUTION, test "x$enable_gevolution" = "xyes") |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
796 | AM_CONDITIONAL(ENABLE_CAP, test "x$enable_cap" = "xyes") |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
797 | AM_CONDITIONAL(ENABLE_GESTURES, test "x$enable_gestures" = "xyes") |
|
32771
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
798 | AM_CONDITIONAL(ENABLE_GCR, test "x$enable_gcr" = "xyes") |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
799 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
800 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
801 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
802 | dnl # Check for ncurses and other things used by the console UI |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
803 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
804 | GNT_LIBS="" |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
805 | GNT_CFLAGS="" |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
806 | AC_ARG_WITH(ncurses-headers, [AS_HELP_STRING([--with-ncurses-headers=DIR], |
|
15909
0ee1e930d385
Rename/update finch man page
Richard Nelson <wabz@pidgin.im>
parents:
15901
diff
changeset
|
807 | [compile finch against the ncurses includes in DIR])], |
|
15312
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
808 | [ac_ncurses_includes="$withval"], [ac_ncurses_includes=""]) |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
809 | if test "x$enable_consoleui" = "xyes"; then |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
810 | AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_consoleui=no]) |
|
28300
a4516ae76153
Properly detect libpanel by including ncurses libs in linking test.
Paul Aurich <darkrain42@pidgin.im>
parents:
28285
diff
changeset
|
811 | AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], |
|
a4516ae76153
Properly detect libpanel by including ncurses libs in linking test.
Paul Aurich <darkrain42@pidgin.im>
parents:
28285
diff
changeset
|
812 | [enable_consoleui=no], [$GNT_LIBS]) |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
813 | |
|
35877
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
814 | if test "x$is_win32" = "xyes" ; then |
|
36036
40aa2248e2a0
Fix ncurses detection for Fedora
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36033
diff
changeset
|
815 | ncurses_sys_prefix="/usr/$host/sys-root/mingw" |
|
35877
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
816 | else |
|
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
817 | ncurses_sys_prefix="/usr" |
|
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
818 | fi |
|
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
819 | |
|
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
820 | ncurses_sys_dirs="$ncurses_sys_prefix/include/ncursesw $ncurses_sys_prefix/include" |
|
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
821 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
822 | if test "x$enable_consoleui" = "xyes"; then |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
823 | dnl # Some distros put the headers in ncursesw/, some don't |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
824 | found_ncurses_h=no |
|
35877
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
825 | for location in $ac_ncurses_includes $NCURSES_HEADERS $ncurses_sys_dirs |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
826 | do |
|
15312
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
827 | f="$location/ncurses.h" |
|
30498
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
828 | orig_CFLAGS="$CFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
829 | orig_CPPFLAGS="$CPPFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
830 | CFLAGS="$CFLAGS -I$location" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
831 | CPPFLAGS="$CPPFLAGS -I$location" |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
832 | AC_CHECK_HEADER($f,[ |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
833 | AC_MSG_CHECKING([if $f supports wide characters]) |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
834 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
835 | #define _XOPEN_SOURCE_EXTENDED |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
836 | #include <$f> |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
837 | ]], [[ |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
838 | #ifndef get_wch |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
839 | # error get_wch not found! |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
840 | #endif |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
841 | ]])], [ |
|
15332
91c86b5315fb
[gaim-migrate @ 18060]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15312
diff
changeset
|
842 | dir=$location |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
843 | if test x"$dir" != x"." ; then |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
844 | GNT_CFLAGS="-I$dir/" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
845 | else |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
846 | GNT_CFLAGS="" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
847 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
848 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
849 | found_ncurses_h=yes |
|
30498
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
850 | CFLAGS="$orig_CFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
851 | CPPFLAGS="$orig_CPPFLAGS" |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
852 | AC_MSG_RESULT([yes]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
853 | break |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
854 | ], [ |
|
30498
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
855 | CFLAGS="$orig_CFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
856 | CPPFLAGS="$orig_CPPFLAGS" |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
857 | AC_MSG_RESULT([no]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
858 | ]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
859 | ]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
860 | done |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
861 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
862 | if test x"$found_ncurses_h" = x"no" ; then |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
863 | GNT_LIBS="" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
864 | GNT_CFLAGS="" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
865 | enable_consoleui=no |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
866 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
867 | else |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
868 | # ncursesw was not found. Look for plain old ncurses |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
869 | enable_consoleui=yes |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
870 | AC_CHECK_LIB(ncurses, initscr, [GNT_LIBS="-lncurses"], [enable_consoleui=no]) |
|
28300
a4516ae76153
Properly detect libpanel by including ncurses libs in linking test.
Paul Aurich <darkrain42@pidgin.im>
parents:
28285
diff
changeset
|
871 | AC_CHECK_LIB(panel, update_panels, [GNT_LIBS="$GNT_LIBS -lpanel"], |
|
a4516ae76153
Properly detect libpanel by including ncurses libs in linking test.
Paul Aurich <darkrain42@pidgin.im>
parents:
28285
diff
changeset
|
872 | [enable_consoleui=no], [$GNT_LIBS]) |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
873 | AC_DEFINE(NO_WIDECHAR, 1, [Define to 1 if you don't have wide-character support.]) |
|
15312
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
874 | if test x"$ac_ncurses_includes" != "x"; then |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
875 | GNT_CFLAGS="-I$ac_ncurses_includes" |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
876 | else |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
877 | if test x"$NCURSES_HEADERS" != "x"; then |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
878 | GNT_CFLAGS="-I$NCURSES_HEADERS" |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
879 | fi |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
880 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
881 | fi |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
882 | fi |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
883 | |
|
21822
20878ac233be
Error out when --enable-consoleui is used but finch can't be built. Fixes #3910.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21762
diff
changeset
|
884 | if test "x$force_finch" = "xyes" -a "x$enable_consoleui" != "xyes"; then |
|
20878ac233be
Error out when --enable-consoleui is used but finch can't be built. Fixes #3910.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21762
diff
changeset
|
885 | AC_MSG_ERROR([ |
|
20878ac233be
Error out when --enable-consoleui is used but finch can't be built. Fixes #3910.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21762
diff
changeset
|
886 | |
|
20878ac233be
Error out when --enable-consoleui is used but finch can't be built. Fixes #3910.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21762
diff
changeset
|
887 | Finch will not be built. You need to install ncursesw (or ncurses) and its development headers. |
|
20878ac233be
Error out when --enable-consoleui is used but finch can't be built. Fixes #3910.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21762
diff
changeset
|
888 | |
|
20878ac233be
Error out when --enable-consoleui is used but finch can't be built. Fixes #3910.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21762
diff
changeset
|
889 | ]) |
|
20878ac233be
Error out when --enable-consoleui is used but finch can't be built. Fixes #3910.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21762
diff
changeset
|
890 | fi |
|
20878ac233be
Error out when --enable-consoleui is used but finch can't be built. Fixes #3910.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21762
diff
changeset
|
891 | |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
892 | AC_SUBST(GNT_LIBS) |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
893 | AC_SUBST(GNT_CFLAGS) |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
894 | AM_CONDITIONAL(ENABLE_GNT, test "x$enable_consoleui" = "xyes") |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
895 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
896 | #AC_CHECK_FUNC(wcwidth, [AC_DEFINE([HAVE_WCWIDTH], [1], [Define to 1 if you have wcwidth function.])]) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
897 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
898 | dnl ####################################################################### |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
899 | dnl # Check for LibXML2 (required) |
| 13720 | 900 | dnl ####################################################################### |
|
14621
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
901 | PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.6.0], , [ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
902 | AC_MSG_RESULT(no) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
903 | AC_MSG_ERROR([ |
|
16247
f9e1e46abbae
Deal with Gaim in some error messages.
Richard Laager <rlaager@pidgin.im>
parents:
16206
diff
changeset
|
904 | You must have libxml2 >= 2.6.0 development headers installed to build. |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
905 | ])]) |
|
26754
216b79c00415
Print a warning if compiling against libxml2 < 2.6.18 as it may cause XMPP
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26729
diff
changeset
|
906 | PKG_CHECK_EXISTS([libxml-2.0 >= 2.6.18], , [ |
|
216b79c00415
Print a warning if compiling against libxml2 < 2.6.18 as it may cause XMPP
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26729
diff
changeset
|
907 | AC_MSG_WARN([ |
|
216b79c00415
Print a warning if compiling against libxml2 < 2.6.18 as it may cause XMPP
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26729
diff
changeset
|
908 | Versions of libxml2 < 2.6.18 may contain bugs that could cause XMPP messages to be discarded. |
|
216b79c00415
Print a warning if compiling against libxml2 < 2.6.18 as it may cause XMPP
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26729
diff
changeset
|
909 | ])]) |
|
216b79c00415
Print a warning if compiling against libxml2 < 2.6.18 as it may cause XMPP
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26729
diff
changeset
|
910 | |
| 13808 | 911 | AC_SUBST(LIBXML_CFLAGS) |
| 912 | AC_SUBST(LIBXML_LIBS) | |
|
14498
ede839a78714
[gaim-migrate @ 17150]
Mark Doliner <markdoliner@pidgin.im>
parents:
14492
diff
changeset
|
913 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
914 | dnl ####################################################################### |
|
33572
1121664fc0a8
Make JSON-GLib required, fixes #15430. Cause: libpurple core code uses this
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33515
diff
changeset
|
915 | dnl # Check for JSON-GLib (required) |
|
33410
6cb7038d8172
New dependency: json-glib
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33377
diff
changeset
|
916 | dnl ####################################################################### |
|
6cb7038d8172
New dependency: json-glib
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33377
diff
changeset
|
917 | |
|
35196
4e8497f23b7c
Revert changeset 2b3fba3cf555 (Reduce JSON-GLib requirement to 0.10)
Ankit Vani <a@nevitus.org>
parents:
35193
diff
changeset
|
918 | PKG_CHECK_MODULES([JSON], [json-glib-1.0 >= 0.14.0], , [ |
|
33572
1121664fc0a8
Make JSON-GLib required, fixes #15430. Cause: libpurple core code uses this
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33515
diff
changeset
|
919 | AC_MSG_RESULT(no) |
|
1121664fc0a8
Make JSON-GLib required, fixes #15430. Cause: libpurple core code uses this
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33515
diff
changeset
|
920 | AC_MSG_ERROR([ |
|
35196
4e8497f23b7c
Revert changeset 2b3fba3cf555 (Reduce JSON-GLib requirement to 0.10)
Ankit Vani <a@nevitus.org>
parents:
35193
diff
changeset
|
921 | You must have JSON-GLib >= 0.14.0 development headers installed to build. |
|
33572
1121664fc0a8
Make JSON-GLib required, fixes #15430. Cause: libpurple core code uses this
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33515
diff
changeset
|
922 | ])]) |
|
33410
6cb7038d8172
New dependency: json-glib
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33377
diff
changeset
|
923 | |
|
33461
7f67e9178ed9
Fix compilation from clean working directory
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33423
diff
changeset
|
924 | AC_SUBST(JSON_CFLAGS) |
|
7f67e9178ed9
Fix compilation from clean working directory
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33423
diff
changeset
|
925 | AC_SUBST(JSON_LIBS) |
|
7f67e9178ed9
Fix compilation from clean working directory
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33423
diff
changeset
|
926 | |
|
33410
6cb7038d8172
New dependency: json-glib
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33377
diff
changeset
|
927 | dnl ####################################################################### |
|
33314
57013b9e1a8e
Gadu-Gadu: roster - downloading
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33300
diff
changeset
|
928 | dnl # Check for zlib (required) |
|
57013b9e1a8e
Gadu-Gadu: roster - downloading
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33300
diff
changeset
|
929 | dnl ####################################################################### |
|
57013b9e1a8e
Gadu-Gadu: roster - downloading
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33300
diff
changeset
|
930 | |
|
57013b9e1a8e
Gadu-Gadu: roster - downloading
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33300
diff
changeset
|
931 | PKG_CHECK_MODULES(ZLIB, [zlib >= 1.2.0], , [ |
|
33368
6aa16fdab83f
Fix compilation of older distros. Fixes #15310
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33330
diff
changeset
|
932 | AC_SEARCH_LIBS([deflate], [z], [], AC_MSG_ERROR([You must have zlib >= 1.2.0 development headers installed to build.]), []) |
|
6aa16fdab83f
Fix compilation of older distros. Fixes #15310
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33330
diff
changeset
|
933 | ]) |
|
33314
57013b9e1a8e
Gadu-Gadu: roster - downloading
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33300
diff
changeset
|
934 | |
|
57013b9e1a8e
Gadu-Gadu: roster - downloading
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33300
diff
changeset
|
935 | AC_SUBST(ZLIB_CFLAGS) |
|
57013b9e1a8e
Gadu-Gadu: roster - downloading
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33300
diff
changeset
|
936 | AC_SUBST(ZLIB_LIBS) |
|
57013b9e1a8e
Gadu-Gadu: roster - downloading
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33300
diff
changeset
|
937 | |
|
57013b9e1a8e
Gadu-Gadu: roster - downloading
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33300
diff
changeset
|
938 | dnl ####################################################################### |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
939 | dnl # Check for GStreamer |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
940 | dnl ####################################################################### |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
941 | AC_ARG_ENABLE(gstreamer, |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
942 | [AS_HELP_STRING([--disable-gstreamer], [compile without GStreamer audio support])], |
| 14859 | 943 | enable_gst="$enableval", enable_gst="yes") |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
944 | |
|
37421
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
945 | if test x"$enable_gst" != "xno"; then |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
946 | PKG_CHECK_MODULES(GSTREAMER, [gstreamer-1.0], [ |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
947 | AC_DEFINE(USE_GSTREAMER, 1, [Use GStreamer for playing sounds]) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
948 | AC_SUBST(GSTREAMER_CFLAGS) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
949 | AC_SUBST(GSTREAMER_LIBS) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
950 | ], [ |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
951 | AC_MSG_RESULT(no) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
952 | enable_gst="no" |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
953 | if test "x$force_deps" = "xyes" ; then |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
954 | AC_MSG_ERROR([ |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
955 | GStreamer development headers not found. |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
956 | Use --disable-gstreamer if you do not need GStreamer (sound) support. |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
957 | ]) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
958 | fi |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
959 | ]) |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
960 | fi |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
961 | |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
962 | dnl ####################################################################### |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
963 | dnl # Check for GStreamer Video |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
964 | dnl ####################################################################### |
|
37421
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
965 | if test "x$enable_gst" != "xno"; then |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
966 | AC_ARG_ENABLE(gstreamer-video, |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
967 | [AS_HELP_STRING([--disable-gstreamer-video], [compile without GStreamer 1.0 Video Overlay support])], |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
968 | enable_gstvideo="$enableval", enable_gstvideo="yes") |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
969 | if test "x$enable_gstvideo" != "xno"; then |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
970 | PKG_CHECK_MODULES(GSTVIDEO, [gstreamer-video-1.0], [ |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
971 | AC_DEFINE(USE_GSTVIDEO, 1, [Use GStreamer Video Overlay support]) |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
972 | AC_SUBST(GSTVIDEO_CFLAGS) |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
973 | AC_SUBST(GSTVIDEO_LIBS) |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
974 | ], [ |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
975 | enable_gstvideo="no" |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
976 | ]) |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
977 | fi |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
978 | else |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
979 | enable_gstvideo="no" |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
980 | fi |
| 13808 | 981 | |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
982 | dnl ####################################################################### |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
983 | dnl # Check for Farstream |
|
19881
d80b4d01457e
Add Farsight to configure.ac
Sean Egan <seanegan@pidgin.im>
parents:
19656
diff
changeset
|
984 | dnl ####################################################################### |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
985 | AC_ARG_ENABLE(farstream, |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
986 | [AS_HELP_STRING([--disable-farstream], [compile without farstream support])], |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
987 | enable_farstream="$enableval", enable_farstream="yes") |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
988 | if test "x$enable_farstream" != "xno"; then |
|
37421
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
989 | PKG_CHECK_MODULES(FARSTREAM, [farstream-0.2 >= 0.2.7], [ |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
990 | AC_SUBST(FARSTREAM_CFLAGS) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
991 | AC_SUBST(FARSTREAM_LIBS) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
992 | ], [ |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
993 | enable_farstream="no" |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
994 | ]) |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
995 | fi |
|
19881
d80b4d01457e
Add Farsight to configure.ac
Sean Egan <seanegan@pidgin.im>
parents:
19656
diff
changeset
|
996 | |
|
22648
e286d795c5f9
Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22647
diff
changeset
|
997 | dnl ####################################################################### |
|
23703
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
998 | dnl # Check for Voice and Video support |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
999 | dnl ####################################################################### |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
1000 | AC_ARG_ENABLE(vv, |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
1001 | [AS_HELP_STRING([--disable-vv], [compile without voice and video support])], |
|
28310
789375153545
Fail the configure script if voice and video dependencies are missing.
Michael Ruprecht <maiku@pidgin.im>
parents:
28302
diff
changeset
|
1002 | enable_vv="$enableval", enable_vv="yes") |
|
23703
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
1003 | if test "x$enable_vv" != "xno"; then |
|
37421
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
1004 | if test "x$enable_gst" != "xno" -a "x$enable_gstvideo" != "xno" -a "x$enable_farstream" != "xno"; then |
|
23703
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
1005 | AC_DEFINE(USE_VV, 1, [Use voice and video]) |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
1006 | else |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
1007 | enable_vv="no" |
|
28310
789375153545
Fail the configure script if voice and video dependencies are missing.
Michael Ruprecht <maiku@pidgin.im>
parents:
28302
diff
changeset
|
1008 | if test "x$force_deps" = "xyes"; then |
|
26656
69f29e0c8111
Abort build if we use --enable-vv, and vv-dependencies are not met.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26637
diff
changeset
|
1009 | AC_MSG_ERROR([ |
|
26714
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
1010 | Dependencies for voice/video were not met. |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
1011 | Install the necessary gstreamer and farstream packages first. |
|
26714
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
1012 | Or use --disable-vv if you do not need voice/video support. |
|
26656
69f29e0c8111
Abort build if we use --enable-vv, and vv-dependencies are not met.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26637
diff
changeset
|
1013 | ]) |
|
69f29e0c8111
Abort build if we use --enable-vv, and vv-dependencies are not met.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26637
diff
changeset
|
1014 | fi |
|
23703
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
1015 | fi |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
1016 | fi |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
1017 | AM_CONDITIONAL(USE_VV, test "x$enable_vv" != "xno") |
|
22648
e286d795c5f9
Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22647
diff
changeset
|
1018 | |
|
29147
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
1019 | dnl ####################################################################### |
|
36333
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
1020 | dnl # Check for Raw data streams support in Farstream |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
1021 | dnl ####################################################################### |
|
37421
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
1022 | if test "x$enable_vv" != "xno"; then |
|
36333
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
1023 | PKG_CHECK_MODULES(GSTAPP, [gstreamer-app-1.0], [ |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
1024 | AC_DEFINE(USE_GSTAPP, 1, [Use GStreamer Video Overlay support]) |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
1025 | AC_SUBST(GSTAPP_CFLAGS) |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
1026 | AC_SUBST(GSTAPP_LIBS) |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
1027 | AC_DEFINE(HAVE_MEDIA_APPLICATION, 1, [Define if we have support for application media type.]) |
|
37230
221a82d46032
Remove spurious 'yes' in configure script.
Michael McConville <mmcconville@mykolab.com>
parents:
37225
diff
changeset
|
1028 | ] , ) |
|
36333
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
1029 | fi |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
1030 | |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
1031 | dnl ####################################################################### |
|
29147
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
1032 | dnl # Check for Internationalized Domain Name support |
|
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
1033 | dnl ####################################################################### |
|
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
1034 | |
|
27849
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1035 | AC_ARG_ENABLE(idn, |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1036 | [AS_HELP_STRING([--disable-idn], [compile without IDN support])], |
|
27849
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1037 | [enable_idn="$enableval" force_idn=$enableval], [enable_idn="yes" force_idn=no]) |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1038 | if test "x$enable_idn" != "xno"; then |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1039 | PKG_CHECK_MODULES(IDN, libidn >= 0.0.0, [ |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1040 | AC_DEFINE(USE_IDN, 1, [Use GNU Libidn for stringprep and IDN]) |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1041 | AC_SUBST(IDN_CFLAGS) |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1042 | AC_SUBST(IDN_LIBS) |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1043 | ], [ |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1044 | AC_MSG_RESULT(no) |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
1045 | enable_idn="no" |
|
27849
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1046 | if test "x$force_deps" = "xyes" ; then |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1047 | AC_MSG_ERROR([ |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1048 | GNU Libidn development headers not found. |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1049 | Use --disable-idn if you do not need it. |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1050 | ]) |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1051 | fi |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1052 | ]) |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1053 | fi |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
1054 | |
|
19881
d80b4d01457e
Add Farsight to configure.ac
Sean Egan <seanegan@pidgin.im>
parents:
19656
diff
changeset
|
1055 | dnl ####################################################################### |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1056 | dnl # Check for Meanwhile headers (for Sametime) |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1057 | dnl ####################################################################### |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1058 | AC_ARG_ENABLE(meanwhile, |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1059 | [AS_HELP_STRING([--disable-meanwhile], |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1060 | [compile without meanwhile (required for Sametime support)])], |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1061 | enable_meanwhile="$enableval", enable_meanwhile="yes") |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1062 | if test "x$enable_meanwhile" = "xyes"; then |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1063 | PKG_CHECK_MODULES(MEANWHILE, [meanwhile >= 1.0.0 meanwhile < 2.0.0], [ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1064 | have_meanwhile="yes" |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1065 | ], [ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1066 | have_meanwhile="no" |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1067 | if test "x$force_deps" = "xyes" ; then |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1068 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1069 | Meanwhile development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1070 | Use --disable-meanwhile if you do not need meanwhile (Sametime) support. |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1071 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1072 | fi]) |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1073 | fi |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1074 | AC_SUBST(MEANWHILE_CFLAGS) |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1075 | AC_SUBST(MEANWHILE_LIBS) |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1076 | |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1077 | dnl ####################################################################### |
|
19100
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1078 | dnl # Check for Native Avahi headers (for Bonjour) |
|
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1079 | dnl ####################################################################### |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1080 | AC_ARG_ENABLE(avahi, |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1081 | [AS_HELP_STRING([--disable-avahi], |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1082 | [compile without avahi (required for Bonjour support)])], |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1083 | enable_avahi="$enableval", enable_avahi="yes") |
|
28302
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1084 | |
|
35885
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
1085 | if test "x$enable_avahi" = "xyes" -a "x$is_win32" = "xyes" ; then |
|
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
1086 | avahiincludes="yes" |
|
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
1087 | avahilibs="yes" |
|
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
1088 | elif test "x$enable_avahi" = "xyes"; then |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1089 | AC_ARG_WITH(avahi-client-includes, [AS_HELP_STRING([--with-avahi-client-includes=DIR], [compile the Bonjour plugin against the Avahi Client includes in DIR])], [ac_avahi_client_includes="$withval"], [ac_avahi_client_includes="no"]) |
|
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1090 | AC_ARG_WITH(avahi-client-libs, [AS_HELP_STRING([--with-avahi-client-libs=DIR], [compile the Bonjour plugin against the Avahi Client libs in DIR])], [ac_avahi_client_libs="$withval"], [ac_avahi_client_libs="no"]) |
|
28302
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1091 | AVAHI_CFLAGS="" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1092 | AVAHI_LIBS="" |
|
19100
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1093 | |
|
28302
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1094 | dnl Attempt to autodetect Avahi |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1095 | PKG_CHECK_MODULES(AVAHI, [avahi-client avahi-glib], [ |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1096 | avahiincludes="yes" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1097 | avahilibs="yes" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1098 | ], [ |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1099 | avahiincludes="no" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1100 | avahilibs="no" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1101 | ]) |
|
19100
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1102 | |
|
28302
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1103 | dnl Override AVAHI_CFLAGS if the user specified an include dir |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1104 | if test "$ac_avahi_client_includes" != "no"; then |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1105 | AVAHI_CFLAGS="-I$ac_avahi_client_includes" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1106 | fi |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1107 | CPPFLAGS_save="$CPPFLAGS" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1108 | CPPFLAGS="$CPPFLAGS $AVAHI_CFLAGS" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1109 | AC_CHECK_HEADER(avahi-client/client.h, [avahiincludes=yes], [avahiincludes=no]) |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1110 | CPPFLAGS="$CPPFLAGS $AVAHI_CFLAGS $GLIB_CFLAGS" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1111 | AC_CHECK_HEADER(avahi-glib/glib-malloc.h, [avahiincludes=yes], [avahiincludes=no]) |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1112 | CPPFLAGS="$CPPFLAGS_save" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1113 | |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1114 | dnl Override AVAHI_LIBS if the user specified a libs dir |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1115 | if test "$ac_avahi_client_libs" != "no"; then |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1116 | AVAHI_LIBS="-L$ac_avahi_client_libs -lavahi-common -lavahi-client -lavahi-glib " |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1117 | fi |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1118 | AC_CHECK_LIB(avahi-client, avahi_client_new, [avahilibs=yes], [avahilibs=no], $AVAHI_LIBS) |
|
19100
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1119 | fi |
|
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1120 | |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
1121 | if test "x$enable_avahi" = "xyes" -a \( "x$avahiincludes" = "xno" -o "x$avahilibs" = "xno" \); then |
|
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
1122 | enable_avahi="no" |
|
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
1123 | if test "x$force_deps" = "xyes"; then |
|
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
1124 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1125 | avahi development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1126 | Use --disable-avahi if you do not need avahi (Bonjour) support. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1127 | ]) |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
1128 | fi |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1129 | fi |
|
19100
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1130 | AC_SUBST(AVAHI_CFLAGS) |
|
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1131 | AC_SUBST(AVAHI_LIBS) |
|
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1132 | |
|
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1133 | |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1134 | dnl ####################################################################### |
|
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1135 | dnl # Check for SILC client includes and libraries |
|
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1136 | dnl ####################################################################### |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1137 | AC_ARG_WITH(silc-includes, [AS_HELP_STRING([--with-silc-includes=DIR], [compile the SILC plugin against includes in DIR])], [ac_silc_includes="$withval"], [ac_silc_includes="no"]) |
|
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1138 | AC_ARG_WITH(silc-libs, [AS_HELP_STRING([--with-silc-libs=DIR], [compile the SILC plugin against the SILC libs in DIR])], [ac_silc_libs="$withval"], [ac_silc_libs="no"]) |
| 9905 | 1139 | SILC_CFLAGS="" |
| 8850 | 1140 | SILC_LIBS="" |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1141 | have_silc="no" |
| 9905 | 1142 | if test -n "$with_silc_includes" || test -n "$with_silc_libs"; then |
| 1143 | silc_manual_check="yes" | |
| 1144 | else | |
| 1145 | silc_manual_check="no" | |
| 8850 | 1146 | fi |
| 9905 | 1147 | if test "x$silc_manual_check" = "xno"; then |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1148 | PKG_CHECK_MODULES(SILC, [silcclient >= 1.1], [ |
| 9905 | 1149 | have_silc="yes" |
| 1150 | silcincludes="yes" | |
| 1151 | silcclient="yes" | |
|
13171
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1152 | ], [ |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1153 | have_silc="no" |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1154 | ]) |
| 9905 | 1155 | else |
| 1156 | if test "$ac_silc_includes" != "no"; then | |
| 1157 | SILC_CFLAGS="-I$ac_silc_includes" | |
| 1158 | fi | |
| 1159 | CPPFLAGS_save="$CPPFLAGS" | |
| 1160 | CPPFLAGS="$CPPFLAGS $SILC_CFLAGS" | |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1161 | AC_CHECK_HEADER(silc.h, [silcincludes=yes]) |
| 9905 | 1162 | CPPFLAGS="$CPPFLAGS_save" |
| 1163 | ||
| 1164 | if test "$ac_silc_libs" != "no"; then | |
| 1165 | SILC_LIBS="-L$ac_silc_libs" | |
| 1166 | fi | |
|
12038
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
1167 | SILC_LIBS="$SILC_LIBS -lsilc -lsilcclient -lpthread $LIBDL" |
| 9905 | 1168 | AC_CHECK_LIB(silcclient, silc_client_init, [silcclient=yes], , $SILC_LIBS) |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1169 | |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1170 | if test "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes"; then |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1171 | have_silc="yes" |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1172 | fi |
| 9905 | 1173 | fi |
| 8850 | 1174 | AC_SUBST(SILC_LIBS) |
| 9905 | 1175 | AC_SUBST(SILC_CFLAGS) |
|
12217
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1176 | dnl SILC Toolkit >= 1.0.1 has a new MIME API |
|
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1177 | if test "x$silcclient" = "xyes"; then |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1178 | AC_DEFINE(HAVE_SILCMIME_H, 1, [Define if we have silcmime.h]) |
|
12217
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1179 | fi |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1180 | |
| 13318 | 1181 | dnl ####################################################################### |
|
36118
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1182 | dnl # Check for Gadu-Gadu protocol library (libgadu) |
| 13318 | 1183 | dnl ####################################################################### |
| 1184 | ||
|
36118
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1185 | PKG_CHECK_MODULES(LIBGADU, [libgadu >= 1.12.0], [have_libgadu=yes], [have_libgadu=no]) |
| 13318 | 1186 | |
|
36118
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1187 | if test "x$have_libgadu" = "xyes"; then |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1188 | AC_CHECK_LIB(gadu, gg_is_gpl_compliant, , [ |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1189 | LIBGADU_LIBS="" |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1190 | LIBGADU_CFLAGS="" |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1191 | have_libgadu=no |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1192 | AC_MSG_WARN([ |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1193 | libgadu is not compatible with the GPL when compiled with OpenSSL support. |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1194 | |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1195 | To compile against system libgadu, please recompile libgadu using: |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1196 | ./configure --with-openssl=no |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1197 | Then rerun this ./configure |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1198 | |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1199 | Falling back to using our own copy of libgadu. |
|
29839
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1200 | ]) |
| 13318 | 1201 | ]) |
| 1202 | fi | |
| 1203 | ||
|
36118
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1204 | AM_CONDITIONAL(HAVE_LIBGADU, test "x$have_libgadu" = "xyes") |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1205 | if test "x$have_libgadu" = "xyes"; then |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1206 | AC_DEFINE(HAVE_LIBGADU, 1, [Linked with external libgadu]) |
|
36120
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1207 | else |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1208 | AC_CHECK_LIB(gnutls, gnutls_certificate_set_x509_system_trust, [gg_have_gnutls_csxst=yes], [gg_have_gnutls_csxst=no]) |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1209 | |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1210 | gg_gnutls_sts="" |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1211 | if test "x$gg_have_gnutls_csxst" = "xno"; then |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1212 | for i in /etc/ssl/ca-bundle.pem \ |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1213 | /etc/ssl/certs/ca-certificates.crt \ |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1214 | /etc/pki/tls/cert.pem \ |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1215 | /usr/local/share/certs/ca-root-nss.crt \ |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1216 | /etc/ssl/cert.pem |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1217 | do |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1218 | if test -e $i; then |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1219 | gg_gnutls_sts="$i" |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1220 | break |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1221 | fi |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1222 | done |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1223 | fi |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1224 | |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1225 | if test "x$gg_have_gnutls_csxst" = "xyes"; then |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1226 | AC_DEFINE(HAVE_GNUTLS_CERTIFICATE_SET_X509_SYSTEM_TRUST, 1, [gnutls contains the gnutls_certificate_set_x509_system_trust function]) |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1227 | fi |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1228 | if test "x$gg_gnutls_sts" != "x"; then |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1229 | AC_DEFINE_UNQUOTED(GG_CONFIG_GNUTLS_SYSTEM_TRUST_STORE, ["$gg_gnutls_sts"], [use the given file as GnuTLS default trust store]) |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1230 | fi |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1231 | |
|
37209
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1232 | dnl # redundant - only here to stay compatible with libgadu upstream |
|
36120
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1233 | PKG_CHECK_MODULES([GNUTLS_2_10], [gnutls >= 2.10.0], [ |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1234 | AC_DEFINE([HAVE_GNUTLS_2_10], [], [Defined if GnuTLS >= 2.10.0 is available.]) |
|
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1235 | ],:) |
|
35617
c9069e0e3c36
Update internal libgadu to 1.12.0-rc2
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35562
diff
changeset
|
1236 | fi |
|
14662
ffa7b2f70a37
[gaim-migrate @ 17327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14647
diff
changeset
|
1237 | |
|
36118
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1238 | AC_SUBST(LIBGADU_LIBS) |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1239 | AC_SUBST(LIBGADU_CFLAGS) |
|
29856
203c3499753f
Properly display "no" in the configure output when not using external libgadu.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29839
diff
changeset
|
1240 | |
| 13318 | 1241 | |
| 2129 | 1242 | AC_ARG_ENABLE(distrib,,,enable_distrib=no) |
| 1243 | AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") | |
| 8031 | 1244 | DYNAMIC_PRPLS=all |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1245 | AC_ARG_WITH(static-prpls, [AS_HELP_STRING([--with-static-prpls], [Link to certain protocols statically])], [STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`], [STATIC_PRPLS=""]) |
| 8031 | 1246 | if test "x$STATIC_PRPLS" != "x" -a "x$DYNAMIC_PRPLS" = "xall"; then |
| 1247 | DYNAMIC_PRPLS="" | |
| 1248 | fi | |
| 1249 | ||
| 2129 | 1250 | if test "x$STATIC_PRPLS" = "xall" ; then |
|
37249
dfa58c08a4fd
facebook: initial protocol plugin
James Geboski <jgeboski@gmail.com>
parents:
37163
diff
changeset
|
1251 | STATIC_PRPLS="bonjour facebook gg irc jabber msn mxit novell oscar sametime silc simple yahoo zephyr" |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1252 | fi |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1253 | if test "x$have_meanwhile" != "xyes" ; then |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1254 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/sametime//'` |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1255 | fi |
|
19100
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1256 | if test "x$avahiincludes" != "xyes" -o "x$avahilibs" != "xyes"; then |
|
21920
3087a567aedf
Update Bonjour prpl to support multiple presence records for the same buddy. Eliminate the Howl backend to avoid having to maintain yet another set of code. References #4187 (more to come to fix the rest of the ticket).
Daniel Atallah <datallah@pidgin.im>
parents:
21915
diff
changeset
|
1257 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/bonjour//'` |
| 2129 | 1258 | fi |
| 8852 | 1259 | if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then |
| 32205 | 1260 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/silc//'` |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1261 | fi |
|
35854
ed4fd1030878
cross-win32: fix libpurple code warnings and errors
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35852
diff
changeset
|
1262 | if test "x$is_win32" = "xyes" ; then |
|
ed4fd1030878
cross-win32: fix libpurple code warnings and errors
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35852
diff
changeset
|
1263 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/zephyr//'` |
| 8852 | 1264 | fi |
| 2129 | 1265 | AC_SUBST(STATIC_PRPLS) |
| 1266 | STATIC_LINK_LIBS= | |
|
36458
a9cccad073e9
Static prpls now work. Added macro PURPLE_PLUGIN_INIT(plugin-name, query-func, load-func, unload-func).
Ankit Vani <a@nevitus.org>
parents:
36442
diff
changeset
|
1267 | extern_load= |
| 2129 | 1268 | load_proto= |
|
36458
a9cccad073e9
Static prpls now work. Added macro PURPLE_PLUGIN_INIT(plugin-name, query-func, load-func, unload-func).
Ankit Vani <a@nevitus.org>
parents:
36442
diff
changeset
|
1269 | extern_unload= |
|
a9cccad073e9
Static prpls now work. Added macro PURPLE_PLUGIN_INIT(plugin-name, query-func, load-func, unload-func).
Ankit Vani <a@nevitus.org>
parents:
36442
diff
changeset
|
1270 | unload_proto= |
| 2129 | 1271 | for i in $STATIC_PRPLS ; do |
|
24609
c119f12de848
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
1272 | dnl Ugly special case for "libsilcpurple.la": |
|
36671
e94d995eaeeb
Removed the ugly special cases for oscar and yahoo from configure.ac
Ankit Vani <a@nevitus.org>
parents:
36641
diff
changeset
|
1273 | if test "x$i" = "xsilc"; then |
|
e94d995eaeeb
Removed the ugly special cases for oscar and yahoo from configure.ac
Ankit Vani <a@nevitus.org>
parents:
36641
diff
changeset
|
1274 | STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib${i}purple.la" |
|
11945
3013d1f6ca43
[gaim-migrate @ 14236]
Mark Doliner <markdoliner@pidgin.im>
parents:
11903
diff
changeset
|
1275 | else |
|
36671
e94d995eaeeb
Removed the ugly special cases for oscar and yahoo from configure.ac
Ankit Vani <a@nevitus.org>
parents:
36641
diff
changeset
|
1276 | STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib$i.la" |
|
11945
3013d1f6ca43
[gaim-migrate @ 14236]
Mark Doliner <markdoliner@pidgin.im>
parents:
11903
diff
changeset
|
1277 | fi |
|
36671
e94d995eaeeb
Removed the ugly special cases for oscar and yahoo from configure.ac
Ankit Vani <a@nevitus.org>
parents:
36641
diff
changeset
|
1278 | extern_load="$extern_load extern gboolean ${i}_plugin_load();" |
|
e94d995eaeeb
Removed the ugly special cases for oscar and yahoo from configure.ac
Ankit Vani <a@nevitus.org>
parents:
36641
diff
changeset
|
1279 | load_proto="$load_proto ${i}_plugin_load();" |
|
e94d995eaeeb
Removed the ugly special cases for oscar and yahoo from configure.ac
Ankit Vani <a@nevitus.org>
parents:
36641
diff
changeset
|
1280 | extern_unload="$extern_unload extern gboolean ${i}_plugin_unload();" |
|
e94d995eaeeb
Removed the ugly special cases for oscar and yahoo from configure.ac
Ankit Vani <a@nevitus.org>
parents:
36641
diff
changeset
|
1281 | unload_proto="$unload_proto ${i}_plugin_unload();" |
|
e94d995eaeeb
Removed the ugly special cases for oscar and yahoo from configure.ac
Ankit Vani <a@nevitus.org>
parents:
36641
diff
changeset
|
1282 | |
| 2129 | 1283 | case $i in |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1284 | bonjour) static_bonjour=yes ;; |
|
37249
dfa58c08a4fd
facebook: initial protocol plugin
James Geboski <jgeboski@gmail.com>
parents:
37163
diff
changeset
|
1285 | facebook) static_facebook=yes ;; |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1286 | gg) static_gg=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1287 | irc) static_irc=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1288 | jabber) static_jabber=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1289 | msn) static_msn=yes ;; |
|
28841
6b9568572bcb
Initial addition of the MXit protocol plugin, provided by the MXit folks
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28693
diff
changeset
|
1290 | mxit) static_mxit=yes ;; |
| 8675 | 1291 | novell) static_novell=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1292 | oscar) static_oscar=yes ;; |
|
15478
e0dc5250f702
I think this is what was meant
Nathan Walp <nwalp@pidgin.im>
parents:
15471
diff
changeset
|
1293 | aim) static_oscar=yes ;; |
|
e0dc5250f702
I think this is what was meant
Nathan Walp <nwalp@pidgin.im>
parents:
15471
diff
changeset
|
1294 | icq) static_oscar=yes ;; |
|
10977
5802457af313
[gaim-migrate @ 12803]
Christopher O'Brien <siege@pidgin.im>
parents:
10975
diff
changeset
|
1295 | sametime) static_sametime=yes ;; |
| 8849 | 1296 | silc) static_silc=yes ;; |
|
11182
9cb28f52220f
[gaim-migrate @ 13294]
Mark Doliner <markdoliner@pidgin.im>
parents:
11181
diff
changeset
|
1297 | simple) static_simple=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1298 | yahoo) static_yahoo=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1299 | zephyr) static_zephyr=yes ;; |
|
33546
a91f4d6cb5dc
configure.ac: do not use exit status 0 in case of error
Michael Fiedler <dev@michael-fiedler.net>
parents:
33474
diff
changeset
|
1300 | *) echo "Invalid static protocol $i!!" ; exit 1 ;; |
| 2129 | 1301 | esac |
| 1302 | done | |
|
19100
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1303 | AM_CONDITIONAL(STATIC_BONJOUR, test "x$static_bonjour" = "xyes") |
|
37249
dfa58c08a4fd
facebook: initial protocol plugin
James Geboski <jgeboski@gmail.com>
parents:
37163
diff
changeset
|
1304 | AM_CONDITIONAL(STATIC_FACEBOOK, test "x$static_facebook" = "xyes") |
|
2393
cfef0212506b
[gaim-migrate @ 2406]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2330
diff
changeset
|
1305 | AM_CONDITIONAL(STATIC_GG, test "x$static_gg" = "xyes") |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1306 | AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1307 | AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1308 | AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") |
|
28841
6b9568572bcb
Initial addition of the MXit protocol plugin, provided by the MXit folks
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28693
diff
changeset
|
1309 | AM_CONDITIONAL(STATIC_MXIT, test "x$static_mxit" = "xyes") |
| 8675 | 1310 | AM_CONDITIONAL(STATIC_NOVELL, test "x$static_novell" = "xyes") |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1311 | AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1312 | AM_CONDITIONAL(STATIC_SAMETIME, test "x$static_sametime" = "xyes" -a "x$have_meanwhile" = "xyes") |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1313 | AM_CONDITIONAL(STATIC_SILC, test "x$static_silc" = "xyes" -a "x$have_silc" = "xyes") |
|
11181
e872a55b9524
[gaim-migrate @ 13292]
Thomas Butter <tbutter@users.sourceforge.net>
parents:
11171
diff
changeset
|
1314 | AM_CONDITIONAL(STATIC_SIMPLE, test "x$static_simple" = "xyes") |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1315 | AM_CONDITIONAL(STATIC_YAHOO, test "x$static_yahoo" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1316 | AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") |
| 2129 | 1317 | AC_SUBST(STATIC_LINK_LIBS) |
|
36458
a9cccad073e9
Static prpls now work. Added macro PURPLE_PLUGIN_INIT(plugin-name, query-func, load-func, unload-func).
Ankit Vani <a@nevitus.org>
parents:
36442
diff
changeset
|
1318 | AC_DEFINE_UNQUOTED(STATIC_PROTO_LOAD, $extern_load static void static_proto_load(void) { $load_proto }, |
|
a9cccad073e9
Static prpls now work. Added macro PURPLE_PLUGIN_INIT(plugin-name, query-func, load-func, unload-func).
Ankit Vani <a@nevitus.org>
parents:
36442
diff
changeset
|
1319 | [Loads protocols from static protocol plugin modules.]) |
|
a9cccad073e9
Static prpls now work. Added macro PURPLE_PLUGIN_INIT(plugin-name, query-func, load-func, unload-func).
Ankit Vani <a@nevitus.org>
parents:
36442
diff
changeset
|
1320 | AC_DEFINE_UNQUOTED(STATIC_PROTO_UNLOAD, $extern_unload static void static_proto_unload(void) { $unload_proto }, |
|
a9cccad073e9
Static prpls now work. Added macro PURPLE_PLUGIN_INIT(plugin-name, query-func, load-func, unload-func).
Ankit Vani <a@nevitus.org>
parents:
36442
diff
changeset
|
1321 | [Unloads protocols from static protocol plugin modules.]) |
| 2129 | 1322 | |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1323 | AC_ARG_WITH(dynamic_prpls, [AS_HELP_STRING([--with-dynamic-prpls], [specify which protocols to build dynamically])], [DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`]) |
| 7373 | 1324 | if test "x$DYNAMIC_PRPLS" = "xall" ; then |
|
37249
dfa58c08a4fd
facebook: initial protocol plugin
James Geboski <jgeboski@gmail.com>
parents:
37163
diff
changeset
|
1325 | DYNAMIC_PRPLS="bonjour facebook gg irc jabber msn mxit novell oscar sametime silc simple yahoo zephyr" |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1326 | fi |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1327 | if test "x$have_meanwhile" != "xyes"; then |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1328 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/sametime//'` |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1329 | fi |
|
19100
28880833384b
Here is a native avahi implementation of the bonjour prpl that I whipped up. Someone more autofoo savvy will probably want to review what I've done to that stuff. Fixes #326.
Daniel Atallah <datallah@pidgin.im>
parents:
19044
diff
changeset
|
1330 | if test "x$avahiincludes" != "xyes" -o "x$avahilibs" != "xyes"; then |
|
21920
3087a567aedf
Update Bonjour prpl to support multiple presence records for the same buddy. Eliminate the Howl backend to avoid having to maintain yet another set of code. References #4187 (more to come to fix the rest of the ticket).
Daniel Atallah <datallah@pidgin.im>
parents:
21915
diff
changeset
|
1331 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'` |
| 7373 | 1332 | fi |
| 8852 | 1333 | if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then |
| 32205 | 1334 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/silc//'` |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1335 | fi |
|
35854
ed4fd1030878
cross-win32: fix libpurple code warnings and errors
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35852
diff
changeset
|
1336 | if test "x$is_win32" = "xyes" ; then |
|
ed4fd1030878
cross-win32: fix libpurple code warnings and errors
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35852
diff
changeset
|
1337 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/zephyr//'` |
| 8852 | 1338 | fi |
| 7373 | 1339 | AC_SUBST(DYNAMIC_PRPLS) |
| 1340 | for i in $DYNAMIC_PRPLS ; do | |
| 1341 | case $i in | |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1342 | bonjour) dynamic_bonjour=yes ;; |
|
37249
dfa58c08a4fd
facebook: initial protocol plugin
James Geboski <jgeboski@gmail.com>
parents:
37163
diff
changeset
|
1343 | facebook) dynamic_facebook=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1344 | gg) dynamic_gg=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1345 | irc) dynamic_irc=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1346 | jabber) dynamic_jabber=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1347 | msn) dynamic_msn=yes ;; |
|
28841
6b9568572bcb
Initial addition of the MXit protocol plugin, provided by the MXit folks
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28693
diff
changeset
|
1348 | mxit) dynamic_mxit=yes ;; |
| 8675 | 1349 | novell) dynamic_novell=yes ;; |
|
25003
4094ff8a95c7
The DYNAMIC_protocol defines aren't used anywhere.
Richard Laager <rlaager@pidgin.im>
parents:
24689
diff
changeset
|
1350 | null) dynamic_null=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1351 | oscar) dynamic_oscar=yes ;; |
|
15471
ed25e8510145
Allow --dynamic-prpls to recognize aim and icq as synonyms for oscar
Ethan Blanton <elb@pidgin.im>
parents:
15458
diff
changeset
|
1352 | aim) dynamic_oscar=yes ;; |
|
ed25e8510145
Allow --dynamic-prpls to recognize aim and icq as synonyms for oscar
Ethan Blanton <elb@pidgin.im>
parents:
15458
diff
changeset
|
1353 | icq) dynamic_oscar=yes ;; |
|
10977
5802457af313
[gaim-migrate @ 12803]
Christopher O'Brien <siege@pidgin.im>
parents:
10975
diff
changeset
|
1354 | sametime) dynamic_sametime=yes ;; |
| 8849 | 1355 | silc) dynamic_silc=yes ;; |
|
11181
e872a55b9524
[gaim-migrate @ 13292]
Thomas Butter <tbutter@users.sourceforge.net>
parents:
11171
diff
changeset
|
1356 | simple) dynamic_simple=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1357 | yahoo) dynamic_yahoo=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1358 | zephyr) dynamic_zephyr=yes ;; |
|
33546
a91f4d6cb5dc
configure.ac: do not use exit status 0 in case of error
Michael Fiedler <dev@michael-fiedler.net>
parents:
33474
diff
changeset
|
1359 | *) echo "Invalid dynamic protocol $i!!" ; exit 1 ;; |
| 7373 | 1360 | esac |
| 1361 | done | |
| 1362 | ||
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1363 | AC_ARG_ENABLE(plugins, [AS_HELP_STRING([--disable-plugins], [compile without plugin support])], , enable_plugins=yes) |
|
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1364 | AC_ARG_WITH(krb4, [AS_HELP_STRING([--with-krb4=PREFIX], [compile Zephyr plugin with Kerberos 4 support])], kerberos="$withval", kerberos="no") |
|
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1365 | AC_ARG_WITH(zephyr, [AS_HELP_STRING([--with-zephyr=PREFIX], [compile Zephyr plugin against external libzephyr])], zephyr="$withval", zephyr="no") |
| 8849 | 1366 | AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno") |
| 2129 | 1367 | |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
1368 | AC_CHECK_HEADERS(sys/utsname.h) |
| 8849 | 1369 | AC_CHECK_FUNC(uname) |
| 8378 | 1370 | |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1371 | AC_ARG_ENABLE(fortify, [AS_HELP_STRING([--disable-fortify], [compile without FORTIFY_SOURCE support])], , enable_fortify=yes) |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1372 | |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
24512
diff
changeset
|
1373 | DEBUG_CFLAGS="$DEBUG_CFLAGS -DPURPLE_DISABLE_DEPRECATED -DPIDGIN_DISABLE_DEPRECATED -DFINCH_DISABLE_DEPRECATED -DGNT_DISABLE_DEPRECATED" |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1374 | if test "x$GCC" = "xyes"; then |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1375 | dnl We enable -Wall later. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1376 | dnl If it's set after the warning CFLAGS in the compiler invocation, it counteracts the -Wno... flags. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1377 | dnl This leads to warnings we don't want. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1378 | CFLAGS=`echo $CFLAGS |$sedpath 's/-Wall//'` |
|
12438
b993017e8f68
[gaim-migrate @ 14745]
Richard Laager <rlaager@pidgin.im>
parents:
12435
diff
changeset
|
1379 | |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1380 | dnl ENABLE WARNINGS SUPPORTED BY THE VERSION OF GCC IN USE |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1381 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1382 | dnl Future Possibilities |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1383 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1384 | dnl Consider adding -Wbad-function-cast. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1385 | dnl This leads to spurious warnings using GPOINTER_TO_INT(), et al. directly on a function call. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1386 | dnl We'd need an intermediate variable. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1387 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1388 | for newflag in \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1389 | "-Waggregate-return" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1390 | "-Wcast-align" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1391 | "-Wdeclaration-after-statement" \ |
|
16650
43ae29f3d728
Add a couple more CFLAGS to highlight some more warnings and change how we
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16590
diff
changeset
|
1392 | "-Wendif-labels" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1393 | "-Werror-implicit-function-declaration" \ |
|
36256
a437550a9308
Remove -Wno-sign-compare and backport fixes from default.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
36249
diff
changeset
|
1394 | "-Wextra -Wno-unused-parameter" \ |
|
25136
026dcbacb44e
Turn on -Wformat-security and make it an error with GCC 4.
Richard Laager <rlaager@pidgin.im>
parents:
24689
diff
changeset
|
1395 | "-Wformat-security" \ |
|
026dcbacb44e
Turn on -Wformat-security and make it an error with GCC 4.
Richard Laager <rlaager@pidgin.im>
parents:
24689
diff
changeset
|
1396 | "-Werror=format-security" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1397 | "-Winit-self" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1398 | "-Wmissing-declarations" \ |
|
16650
43ae29f3d728
Add a couple more CFLAGS to highlight some more warnings and change how we
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16590
diff
changeset
|
1399 | "-Wmissing-noreturn" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1400 | "-Wmissing-prototypes" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1401 | "-Wpointer-arith" \ |
|
34310
a2bc71cb4712
Add -Wfloat-equal compiler switch and fix a warning about that
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34308
diff
changeset
|
1402 | "-Wfloat-equal" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1403 | "-Wundef" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1404 | ; do |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1405 | orig_CFLAGS="$CFLAGS" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1406 | CFLAGS="$CFLAGS $newflag" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1407 | AC_MSG_CHECKING(for $newflag option to gcc) |
|
35631
469b0ae5fee1
Correct invalid AC_LANG_PROGRAM uses
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35625
diff
changeset
|
1408 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], [ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1409 | AC_MSG_RESULT(yes) |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1410 | CFLAGS="$orig_CFLAGS" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1411 | DEBUG_CFLAGS="$DEBUG_CFLAGS $newflag" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1412 | ], [ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1413 | AC_MSG_RESULT(no) |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1414 | CFLAGS="$orig_CFLAGS" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1415 | ]) |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1416 | done |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1417 | |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1418 | if test "x$enable_fortify" = "xyes"; then |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1419 | AC_MSG_CHECKING(for FORTIFY_SOURCE support) |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
1420 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <features.h>]], [[ |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1421 | #if !(__GNUC_PREREQ (4, 1) \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1422 | || (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (4, 0)) \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1423 | || (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (3, 4) \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1424 | && __GNUC_MINOR__ == 4 \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1425 | && (__GNUC_PATCHLEVEL__ > 2 \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1426 | || (__GNUC_PATCHLEVEL__ == 2 && __GNUC_RH_RELEASE__ >= 8)))) |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1427 | #error No FORTIFY_SOURCE support |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1428 | #endif |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1429 | return 0; |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
1430 | ]])], [ |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1431 | AC_MSG_RESULT(yes) |
|
16650
43ae29f3d728
Add a couple more CFLAGS to highlight some more warnings and change how we
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16590
diff
changeset
|
1432 | DEBUG_CFLAGS="$DEBUG_CFLAGS -Wp,-D_FORTIFY_SOURCE=2" |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1433 | ], [ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1434 | AC_MSG_RESULT(no) |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1435 | ]) |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1436 | fi |
|
8525
9e4e0635fd3c
[gaim-migrate @ 9264]
Christian Hammond <chipx86@chipx86.com>
parents:
8485
diff
changeset
|
1437 | |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1438 | DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS" |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1439 | CFLAGS="-g $CFLAGS" |
| 7021 | 1440 | fi |
|
34114
c915903f6e43
Get rid of warnings
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34113
diff
changeset
|
1441 | DEBUG_CPPFLAGS=`echo "$DEBUG_CFLAGS" | $sedpath 's/-Wdeclaration-after-statement//' | $sedpath 's/-Wmissing-prototypes//' | $sedpath 's/-Waggregate-return//'` |
|
30263
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
1442 | |
|
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
1443 | if test "x$SUNCC" = "xyes"; then |
|
34318
cfe1e6c376a7
Remove a few random bits o' unneeded whitespaces.
Mark Doliner <mark@kingant.net>
parents:
34310
diff
changeset
|
1444 | CFLAGS="$CFLAGS -features=extensions" |
|
30263
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
1445 | fi |
|
6723
f62d96da133a
[gaim-migrate @ 7250]
Christian Hammond <chipx86@chipx86.com>
parents:
6722
diff
changeset
|
1446 | AC_SUBST(CFLAGS) |
|
f62d96da133a
[gaim-migrate @ 7250]
Christian Hammond <chipx86@chipx86.com>
parents:
6722
diff
changeset
|
1447 | |
|
15976
dbb3ea0b1f7c
Minor 'make dist' fix and check for installed versions of pidgin, not gaim
Mark Doliner <markdoliner@pidgin.im>
parents:
15966
diff
changeset
|
1448 | AC_PATH_PROG(pidginpath, pidgin) |
|
14253
b63ebf84c42b
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
14184
diff
changeset
|
1449 | |
|
35973
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1450 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [ |
|
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1451 | #if !defined(__clang__) |
|
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1452 | #error |
|
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1453 | #endif |
|
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1454 | ])], have_clang=yes, have_clang=no) |
|
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1455 | |
|
34463
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1456 | AC_ARG_ENABLE(clang-address-sanitizer, |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1457 | [AS_HELP_STRING([--enable-clang-address-sanitizer], |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1458 | [compile with the Clang's address sanitizer enabled])], |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1459 | enable_clang_address_sanitizer="$enableval", enable_clang_address_sanitizer="no") |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1460 | |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1461 | if test "x$enable_clang_address_sanitizer" = "xyes" -a "x$have_clang" = "xno"; then |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1462 | AC_MSG_ERROR([ |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1463 | Clang address sanitizer requested, but we don't compile with Clang. |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1464 | Disable the sanitizer or run configure script with CC and CCX set to clang binaries. |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1465 | ]) |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1466 | fi |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1467 | |
|
35973
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1468 | if test "x$have_clang" = "xyes"; then |
|
34459
f269ff3e4830
Clang warnings: clean up pidgin
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34456
diff
changeset
|
1469 | GLIB_LIBS=`echo $GLIB_LIBS | $sedpath 's/-pthread/-lpthread/'` |
|
34463
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1470 | fi |
|
34460
cdc946c1f079
Clang: enable address sanitizer
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34459
diff
changeset
|
1471 | |
|
34463
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1472 | if test "x$enable_clang_address_sanitizer" = "xyes"; then |
|
34460
cdc946c1f079
Clang: enable address sanitizer
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34459
diff
changeset
|
1473 | CFLAGS="$CFLAGS -faddress-sanitizer -g -fno-omit-frame-pointer -fno-inline -fno-optimize-sibling-calls" |
|
34456
d69aa7d3530c
Clang warnings: gnutls, gnome keyring and G_GNUC_*_IGNORE_DEPRECATIONS
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34455
diff
changeset
|
1474 | fi |
|
d69aa7d3530c
Clang warnings: gnutls, gnome keyring and G_GNUC_*_IGNORE_DEPRECATIONS
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34455
diff
changeset
|
1475 | |
|
35633
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1476 | |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1477 | AC_ARG_ENABLE(glib-errors-trace, [AS_HELP_STRING([--enable-glib-errors-trace], [print backtraces for glib errors])], enable_glibtrace="$enableval", enable_glibtrace="no") |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1478 | if test "x$enable_glibtrace" = "xyes"; then |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1479 | if test "x$have_clang" = "xyes"; then |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1480 | AC_MSG_ERROR([--enable-glib-errors-trace doesn't work with clang]) |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1481 | fi |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1482 | AC_DEFINE(ENABLE_GLIBTRACE, 1, [Define if backtraces should be printed for glib errors.]) |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1483 | dnl CFLAGS="$CFLAGS -rdynamic" |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1484 | CFLAGS="$CFLAGS -rdynamic" |
|
35973
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1485 | fi |
|
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1486 | |
|
8665
03013bac18b9
[gaim-migrate @ 9417]
Christian Hammond <chipx86@chipx86.com>
parents:
8637
diff
changeset
|
1487 | dnl ####################################################################### |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
1488 | dnl # Check for D-Bus libraries |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1489 | dnl ####################################################################### |
|
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1490 | |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1491 | # dbus doesn't compile for win32 at the moment |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1492 | AC_ARG_ENABLE(dbus, |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1493 | [AS_HELP_STRING([--disable-dbus], [disable D-Bus support])], , |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1494 | enable_dbus="$is_not_win32") |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1495 | |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1496 | if test "x$enable_dbus" = "xyes" ; then |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1497 | AC_CHECK_PROG(enable_dbus, dbus-binding-tool, yes, no) |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1498 | fi |
|
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1499 | |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1500 | if test "x$enable_dbus" = "xyes" ; then |
|
22756
c075c698757b
Fix our D-Bus version requirement
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22755
diff
changeset
|
1501 | PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.60 dbus-glib-1 >= 0.60], [ |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1502 | AC_SUBST(DBUS_CFLAGS) |
|
11070
133af4fe08f9
[gaim-migrate @ 13069]
Richard Laager <rlaager@pidgin.im>
parents:
11067
diff
changeset
|
1503 | AC_SUBST(DBUS_LIBS) |
|
133af4fe08f9
[gaim-migrate @ 13069]
Richard Laager <rlaager@pidgin.im>
parents:
11067
diff
changeset
|
1504 | enable_dbus=yes |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
1505 | ], [ |
|
24252
a9e2f64c5287
Report dbus/nm availability correctly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
24244
diff
changeset
|
1506 | enable_dbus=no |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1507 | if test "x$force_deps" = "xyes" ; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1508 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1509 | D-Bus development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1510 | Use --disable-dbus if you do not need D-Bus support. |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1511 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1512 | fi]) |
|
24243
7c7ffeef8338
Don't check for NetworkManager support when we find out we're not
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24224
diff
changeset
|
1513 | fi |
| 14758 | 1514 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1515 | dnl ####################################################################### |
|
35122
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1516 | dnl # Check for Unity and Messaging Menu |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1517 | dnl ####################################################################### |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1518 | AC_ARG_ENABLE(unity, [AC_HELP_STRING([--enable-unity], |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1519 | [compile with support for unity integration plugin])], enable_unity="$enableval", enable_unity="no") |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1520 | if test "$enable_unity" = yes; then |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1521 | PKG_CHECK_MODULES(UNITY, [unity >= 6.8 messaging-menu >= 12.10], , [ |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1522 | AC_MSG_RESULT(no) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1523 | AC_MSG_ERROR([ |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1524 | You must have libunity9 >= 6.8 and libmessaging-menu >= 12.10 to build the unity integration plugin. |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1525 | ])]) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1526 | USES_MM_CHAT_SECTION="X-MessagingMenu-UsesChatSection=true" |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1527 | AC_SUBST(UNITY_CFLAGS) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1528 | AC_SUBST(UNITY_LIBS) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1529 | AC_SUBST(USES_MM_CHAT_SECTION) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1530 | else |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1531 | enable_unity=no |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1532 | fi |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1533 | AM_CONDITIONAL(ENABLE_UNITY, [test "x$enable_unity" = "xyes"]) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1534 | |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1535 | dnl ####################################################################### |
|
34107
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1536 | dnl # Check for Secret Service headers |
|
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1537 | dnl ####################################################################### |
|
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1538 | |
|
34197
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1539 | # disabled - see secretservice.c |
|
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1540 | #AC_ARG_ENABLE(libsecret, [AC_HELP_STRING([--disable-libsecret], [enable Secret Service support])], enable_secret_service=no, enable_secret_service=yes) |
|
34107
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1541 | |
|
34197
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1542 | #if test "x$enable_secret_service" = "xyes" ; then |
|
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1543 | # PKG_CHECK_MODULES(SECRETSERVICE, [libsecret-1], [ |
|
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1544 | # AC_SUBST(SECRETSERVICE_CFLAGS) |
|
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1545 | # AC_SUBST(SECRETSERVICE_LIBS) |
|
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1546 | # AC_DEFINE(HAVE_SECRETSERVICE, 1, [Define if we have Secret Service.]) |
|
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1547 | # ]) |
|
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1548 | #fi |
|
34107
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1549 | |
|
34197
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1550 | #AM_CONDITIONAL(ENABLE_SECRETSERVICE, test "x$enable_secret_service" = "xyes") |
|
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
1551 | AM_CONDITIONAL(ENABLE_SECRETSERVICE, test "x1" = "x2") |
|
34107
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1552 | |
|
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1553 | dnl ####################################################################### |
|
34058
1e4209640749
The GNOME Keyring library may or may not use D-Bus to communicate with
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34038
diff
changeset
|
1554 | dnl # Check for GNOME Keyring headers |
|
1e4209640749
The GNOME Keyring library may or may not use D-Bus to communicate with
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34038
diff
changeset
|
1555 | dnl ####################################################################### |
|
1e4209640749
The GNOME Keyring library may or may not use D-Bus to communicate with
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34038
diff
changeset
|
1556 | |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1557 | AC_ARG_ENABLE(gnome-keyring, |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1558 | [AC_HELP_STRING([--disable-gnome-keyring], [disable GNOME Keyring support])], |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1559 | enable_gnome_keyring="$enableval", enable_gnome_keyring="$is_not_win32") |
|
34000
2a6830e7ceb4
Corrected a typo in keyring.c
Vivien Bernet-Rollande <scrouaf@soc.pidgin.im>
parents:
33999
diff
changeset
|
1560 | |
|
34058
1e4209640749
The GNOME Keyring library may or may not use D-Bus to communicate with
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34038
diff
changeset
|
1561 | if test "x$enable_gnome_keyring" = "xyes" ; then |
|
1e4209640749
The GNOME Keyring library may or may not use D-Bus to communicate with
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34038
diff
changeset
|
1562 | PKG_CHECK_MODULES(GNOMEKEYRING, [gnome-keyring-1], [ |
|
1e4209640749
The GNOME Keyring library may or may not use D-Bus to communicate with
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34038
diff
changeset
|
1563 | AC_SUBST(GNOMEKEYRING_CFLAGS) |
|
1e4209640749
The GNOME Keyring library may or may not use D-Bus to communicate with
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34038
diff
changeset
|
1564 | AC_SUBST(GNOMEKEYRING_LIBS) |
|
1e4209640749
The GNOME Keyring library may or may not use D-Bus to communicate with
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34038
diff
changeset
|
1565 | AC_DEFINE(HAVE_GNOMEKEYRING, 1, [Define if we have GNOME Keyring.]) |
|
34230
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1566 | ], [ |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1567 | AC_MSG_RESULT(no) |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1568 | enable_gnome_keyring="no" |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1569 | if test "x$force_deps" = "xyes" ; then |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1570 | AC_MSG_ERROR([ |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1571 | GNOME Keyring development headers not found |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1572 | Use --disable-gnome-keyring if you do not need it. |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1573 | ]) |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1574 | fi |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1575 | ]) |
|
11067
b6353889a9ba
[gaim-migrate @ 13048]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11055
diff
changeset
|
1576 | fi |
|
b6353889a9ba
[gaim-migrate @ 13048]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11055
diff
changeset
|
1577 | |
|
34000
2a6830e7ceb4
Corrected a typo in keyring.c
Vivien Bernet-Rollande <scrouaf@soc.pidgin.im>
parents:
33999
diff
changeset
|
1578 | AM_CONDITIONAL(ENABLE_GNOMEKEYRING, test "x$enable_gnome_keyring" = "xyes") |
|
2a6830e7ceb4
Corrected a typo in keyring.c
Vivien Bernet-Rollande <scrouaf@soc.pidgin.im>
parents:
33999
diff
changeset
|
1579 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1580 | dnl ####################################################################### |
|
34059
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1581 | dnl # Check for KWallet headers |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1582 | dnl ####################################################################### |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1583 | |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1584 | AC_ARG_ENABLE(kwallet, |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1585 | [AC_HELP_STRING([--disable-kwallet], [disable KWallet support])], |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1586 | enable_kwallet="$enableval", enable_kwallet="$is_not_win32") |
|
34059
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1587 | AC_ARG_WITH(kwallet-includes, [AC_HELP_STRING([--with-kwallet-includes=DIR], [compile the KWallet plugin against includes in DIR])], [ac_kwallet_includes="$withval"], [ac_kwallet_includes="no"]) |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1588 | AC_ARG_WITH(kwallet-libs, [AC_HELP_STRING([--with-kwallet-libs=DIR], [compile the KWallet plugin against the KWallet libs in DIR])], [ac_kwallet_libs="$withval"], [ac_kwallet_libs="no"]) |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1589 | |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1590 | if test "x$enable_kwallet" = "xyes"; then |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1591 | dnl Ensure C++ compiler works |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1592 | AC_CHECK_PROG(CXXTEST, [$CXX], [$CXX]) |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1593 | if test "x$CXXTEST" = "x"; then |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1594 | enable_kwallet=no |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1595 | if test "x$force_deps" = "xyes"; then |
|
34230
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1596 | AC_MSG_ERROR([ |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1597 | A C++ compiler was not found. |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1598 | Use --disable-kwallet if you do not need KWallet support. |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1599 | ]) |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1600 | fi |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1601 | fi |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1602 | fi |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1603 | |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1604 | AC_LANG_PUSH([C++]) |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1605 | CPPFLAGS_save="$CPPFLAGS" |
|
35932
1c082451371d
Fix kwallet build on Ubuntu 14.04
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35931
diff
changeset
|
1606 | LIBS_save="$LIBS" |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1607 | |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1608 | if test "x$enable_kwallet" = "xyes"; then |
|
34078
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1609 | PKG_CHECK_MODULES(QT4, [QtCore], [ |
|
34230
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1610 | AC_SUBST(QT4_CFLAGS) |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1611 | AC_SUBST(QT4_LIBS) |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1612 | ], [ |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1613 | AC_MSG_RESULT(no) |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1614 | enable_kwallet=no |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1615 | if test "x$force_deps" = "xyes"; then |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1616 | AC_MSG_ERROR([ |
|
34078
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1617 | Qt4 development headers not found. |
|
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1618 | Use --disable-kwallet if you do not need KWallet support. |
|
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1619 | ]) |
|
34230
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1620 | fi |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1621 | ]) |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1622 | fi |
|
34078
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1623 | |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1624 | if test "x$enable_kwallet" = "xyes"; then |
|
34084
e94dd262b20a
Fix signal handling. On this side, it's a slot, not a signal.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34083
diff
changeset
|
1625 | AC_MSG_CHECKING([for metaobject compiler]) |
|
e94dd262b20a
Fix signal handling. On this side, it's a slot, not a signal.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34083
diff
changeset
|
1626 | MOC=`$PKG_CONFIG --variable=moc_location QtCore` |
|
e94dd262b20a
Fix signal handling. On this side, it's a slot, not a signal.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34083
diff
changeset
|
1627 | AC_SUBST(MOC) |
|
e94dd262b20a
Fix signal handling. On this side, it's a slot, not a signal.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34083
diff
changeset
|
1628 | AC_MSG_RESULT([$MOC]) |
|
e94dd262b20a
Fix signal handling. On this side, it's a slot, not a signal.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34083
diff
changeset
|
1629 | |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1630 | KWALLET_CXXFLAGS="" |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1631 | KWALLET_LIBS="" |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1632 | if test -z "$with_kwallet_includes" || test -z "$with_kwallet_libs"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1633 | AC_CHECK_PROG(KDE4_CONFIG, kde4-config, kde4-config, no) |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1634 | if test "x$KDE4_CONFIG" = "xno"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1635 | enable_kwallet=no |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1636 | if test "x$force_deps" = "xyes"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1637 | AC_MSG_ERROR([ |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1638 | kde4-config not found. $KDE4_CONFIG |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1639 | Use --disable-kwallet if you do not need KWallet support. |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1640 | Use --with-kwallet-includes and --with-kwallet-libs to set up includes manually. |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1641 | ]) |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1642 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1643 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1644 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1645 | fi |
|
34059
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1646 | |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1647 | if test "x$enable_kwallet" = "xyes"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1648 | if test "$ac_kwallet_includes" != "no"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1649 | KWALLET_CXXFLAGS="-I$ac_kwallet_includes" |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1650 | elif test "x$KDE4_CONFIG" != "xno"; then |
| 35381 | 1651 | KWALLET_CXXFLAGS="$QT4_CFLAGS -I`$KDE4_CONFIG --path include`" |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1652 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1653 | CPPFLAGS="$CPPFLAGS $KWALLET_CXXFLAGS" |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1654 | AC_CHECK_HEADER([kwallet.h], , [ |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1655 | enable_kwallet=no |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1656 | if test "x$force_deps" = "xyes"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1657 | AC_MSG_ERROR([ |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1658 | KWallet development headers not found. |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1659 | Use --disable-kwallet if you do not need KWallet support. |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1660 | ]) |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1661 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1662 | ]) |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1663 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1664 | |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1665 | if test "x$enable_kwallet" = "xyes"; then |
|
34059
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1666 | AC_MSG_CHECKING([for KWallet libraries]) |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1667 | if test "$ac_kwallet_libs" != "no"; then |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1668 | KWALLET_LIBS="-L$ac_kwallet_libs -lkdeui" |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1669 | elif test "x$KDE4_CONFIG" != "xno"; then |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1670 | KWALLET_LIBS="-L`$KDE4_CONFIG --install lib`/kde4/devel -lkdeui" |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1671 | else |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1672 | KWALLET_LIBS="-lkdeui" |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1673 | fi |
|
34078
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1674 | KWALLET_LIBS="$KWALLET_LIBS" |
|
35932
1c082451371d
Fix kwallet build on Ubuntu 14.04
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35931
diff
changeset
|
1675 | LIBS="$LIBS $KWALLET_LIBS $QT4_LIBS" |
|
34059
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1676 | AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <kwallet.h>], |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1677 | [KWallet::Wallet::LocalWallet();])], [AC_MSG_RESULT([yes])], |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1678 | [ |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1679 | AC_MSG_RESULT(no) |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1680 | enable_kwallet=no |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1681 | if test "x$force_deps" = "xyes"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1682 | AC_MSG_ERROR([ |
|
34059
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1683 | KWallet development libraries not found. |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1684 | Use --disable-kwallet if you do not need KWallet support. |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1685 | ]) |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1686 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1687 | ]) |
|
34059
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1688 | fi |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1689 | |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1690 | CPPFLAGS="$CPPFLAGS_save" |
|
35932
1c082451371d
Fix kwallet build on Ubuntu 14.04
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35931
diff
changeset
|
1691 | LIBS="$LIBS_save" |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1692 | AC_LANG_POP |
|
34059
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1693 | |
|
34078
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1694 | AC_SUBST(KWALLET_CXXFLAGS) |
|
34059
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1695 | AC_SUBST(KWALLET_LIBS) |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1696 | |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1697 | AM_CONDITIONAL(ENABLE_KWALLET, test "x$enable_kwallet" = "xyes") |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1698 | |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1699 | dnl ####################################################################### |
|
37152
b32b5689bbbf
Update GPlugin version requirement
Ankit Vani <a@nevitus.org>
parents:
37145
diff
changeset
|
1700 | dnl # Check for GPlugin 0.0.17 |
|
36355
15af9d331ee4
Added external dependency for GPlugin 0.0.3
Ankit Vani <a@nevitus.org>
parents:
34692
diff
changeset
|
1701 | dnl ####################################################################### |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1702 | if test "x$enable_plugins" = "xyes" ; then |
|
37225
1ba4b6569381
Conditionally add gplugin and gplugin-gtk to libpurple's pkg-config requirements (ok'd by elb)
Michael McConville <mmcconville@mykolab.com>
parents:
37217
diff
changeset
|
1703 | PKG_CHECK_MODULES(GPLUGIN, [gplugin >= 0.0.17 gmodule-2.0], [ |
|
1ba4b6569381
Conditionally add gplugin and gplugin-gtk to libpurple's pkg-config requirements (ok'd by elb)
Michael McConville <mmcconville@mykolab.com>
parents:
37217
diff
changeset
|
1704 | dnl # GPLUGIN_REQ sets pkg-config requirements in the .pc file |
|
37558
60ad5e5d4a5e
Remove unneeded gplugin-gtk from purple-3.pc
Mike Ruprecht <cmaiku@gmail.com>
parents:
37493
diff
changeset
|
1705 | GPLUGIN_REQ=[", gplugin"] |
|
37225
1ba4b6569381
Conditionally add gplugin and gplugin-gtk to libpurple's pkg-config requirements (ok'd by elb)
Michael McConville <mmcconville@mykolab.com>
parents:
37217
diff
changeset
|
1706 | ], [ |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1707 | AC_MSG_RESULT(no) |
|
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1708 | AC_MSG_ERROR([ |
|
37152
b32b5689bbbf
Update GPlugin version requirement
Ankit Vani <a@nevitus.org>
parents:
37145
diff
changeset
|
1709 | GPlugin 0.0.17 development headers not found, which are required if you wish to |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1710 | enable plugins. |
|
36641
9207558f0ad3
Removed now-incorrect information from configure error
Ankit Vani <a@nevitus.org>
parents:
36640
diff
changeset
|
1711 | Use --disable-plugins if you want to disable plugins. |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1712 | ])]) |
|
37225
1ba4b6569381
Conditionally add gplugin and gplugin-gtk to libpurple's pkg-config requirements (ok'd by elb)
Michael McConville <mmcconville@mykolab.com>
parents:
37217
diff
changeset
|
1713 | AC_SUBST(GPLUGIN_REQ) |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1714 | AC_SUBST(GPLUGIN_CFLAGS) |
|
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1715 | AC_SUBST(GPLUGIN_LIBS) |
|
36822
7f6509afc91e
disabled perl, tcl, mono loaders. this will be handled by gplugin.
Ankit Vani <a@nevitus.org>
parents:
36818
diff
changeset
|
1716 | else |
|
7f6509afc91e
disabled perl, tcl, mono loaders. this will be handled by gplugin.
Ankit Vani <a@nevitus.org>
parents:
36818
diff
changeset
|
1717 | enable_introspection=no |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1718 | fi |
|
36355
15af9d331ee4
Added external dependency for GPlugin 0.0.3
Ankit Vani <a@nevitus.org>
parents:
34692
diff
changeset
|
1719 | |
|
36822
7f6509afc91e
disabled perl, tcl, mono loaders. this will be handled by gplugin.
Ankit Vani <a@nevitus.org>
parents:
36818
diff
changeset
|
1720 | dnl # Check for gobject introspection |
|
7f6509afc91e
disabled perl, tcl, mono loaders. this will be handled by gplugin.
Ankit Vani <a@nevitus.org>
parents:
36818
diff
changeset
|
1721 | GOBJECT_INTROSPECTION_CHECK([1.30.0]) |
|
7f6509afc91e
disabled perl, tcl, mono loaders. this will be handled by gplugin.
Ankit Vani <a@nevitus.org>
parents:
36818
diff
changeset
|
1722 | |
|
36823
661347ff47e6
Added GObject introspection for libgnt, finch and pidgin.
Ankit Vani <a@nevitus.org>
parents:
36822
diff
changeset
|
1723 | if test "x$enable_introspection" = "xyes" ; then |
|
661347ff47e6
Added GObject introspection for libgnt, finch and pidgin.
Ankit Vani <a@nevitus.org>
parents:
36822
diff
changeset
|
1724 | AC_DEFINE(ENABLE_INTROSPECTION, 1, [Define if GObject introspection is enabled.]) |
|
661347ff47e6
Added GObject introspection for libgnt, finch and pidgin.
Ankit Vani <a@nevitus.org>
parents:
36822
diff
changeset
|
1725 | fi |
|
661347ff47e6
Added GObject introspection for libgnt, finch and pidgin.
Ankit Vani <a@nevitus.org>
parents:
36822
diff
changeset
|
1726 | |
|
36355
15af9d331ee4
Added external dependency for GPlugin 0.0.3
Ankit Vani <a@nevitus.org>
parents:
34692
diff
changeset
|
1727 | dnl ####################################################################### |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1728 | dnl # Check for Python |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1729 | dnl ####################################################################### |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1730 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1731 | dnl Python scripts are used to auto-generate about 3000 lines of C |
|
16247
f9e1e46abbae
Deal with Gaim in some error messages.
Richard Laager <rlaager@pidgin.im>
parents:
16206
diff
changeset
|
1732 | dnl and XML code that wraps (part of) the existing API so that |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
1733 | dnl it is now accessible through D-Bus. |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1734 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1735 | dnl Python is only required if --enable-dbus is used, and only for |
|
15946
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15909
diff
changeset
|
1736 | dnl the build process to generate the code, not for running pidgin. |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1737 | dnl This autogenerated code is system-independent, so in principle we |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1738 | dnl can generate all of it before shipping. But I thought adding |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1739 | dnl auto-generated stuff to the repository is inelegant. |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1740 | dnl Alternatively, these python scripts could be rewritten |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1741 | dnl in C (brrrr ...). |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1742 | |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1743 | AC_ARG_WITH([python], |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1744 | AS_HELP_STRING([--with-python=PATH], |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1745 | [which python interpreter to use for dbus code generation]), |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1746 | PYTHON=$withval) |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1747 | |
|
29960
e6ca0b8ae3b7
Fix Python overrideability in configure script. Closes #11625.
Brad Smith <brad@comstyle.com>
parents:
29957
diff
changeset
|
1748 | if test "x$enable_dbus" = "xyes" || test "x$enable_consoleui" = "xyes" ; then |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1749 | if test -z "$PYTHON" -a "x$is_win32" = "xyes" ; then |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1750 | dnl there are problems with include files when cross compiling |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1751 | dnl feel free to fix it, if you want |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1752 | PYTHON=no |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1753 | elif test -z "$PYTHON" -o "x$PYTHON" = "xyes"; then |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1754 | AC_PATH_PROG([PYTHON], [python], [no]) |
|
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1755 | fi |
|
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1756 | |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1757 | if test x"$PYTHON" = x"no" -a "x$is_win32" != "xyes" ; then |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1758 | AC_MSG_WARN([python interpreter not found in your path]) |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1759 | enable_dbus=no |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1760 | fi |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1761 | |
|
35885
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
1762 | if test "x$PYTHON" != "xno" ; then |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1763 | if $PYTHON -c "import sys; sys.exit(sys.version[[:3]] >= '2.4')" ; then |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1764 | AC_MSG_WARN([python version >= 2.4 required]) |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1765 | enable_dbus=no |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1766 | fi |
|
35885
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
1767 | fi |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1768 | fi |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1769 | |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1770 | dnl ########################################################################### |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1771 | dnl # Find the D-Bus services dir. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1772 | dnl # |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1773 | dnl # This is a 3 step process that |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1774 | dnl # |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1775 | dnl # 1. checks if --with-dbus-services was set, if so use that. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1776 | dnl # 2. checks if --prefix was given, if so use that. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1777 | dnl # 3. fallbacks to installing into what should be the correct system |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1778 | dnl # directories. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1779 | dnl # |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1780 | dnl # This is still prone to error if one of the legacy directories exist |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1781 | dnl # although a newer dbus is installed. But I have tried to order the |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1782 | dnl # directory searching to keep this situation at a minimum. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1783 | dnl ########################################################################### |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1784 | AC_ARG_WITH(dbus-services, [AS_HELP_STRING([--with-dbus-services=<dir>], [where the D-Bus services directory is located.])]) |
|
11351
c29898b1b746
[gaim-migrate @ 13570]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11318
diff
changeset
|
1785 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1786 | DBUS_SERVICES_DIR="" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1787 | |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1788 | if test x"$enable_dbus" = "xyes" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1789 | AC_MSG_CHECKING([location of the D-Bus services directory]) |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1790 | if ! test -z "$with_dbus_services" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1791 | if ! test -d "$with_dbus_services" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1792 | AC_MSG_ERROR([$with_dbus_services does not exist, if this is the correct location please make sure that it exists.]) |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1793 | fi |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1794 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1795 | DBUS_SERVICES_DIR="$with_dbus_services" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1796 | else |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1797 | if test x"$prefix" = x"NONE" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1798 | dnl # no prefix given, so we look for the correct dbus system paths. |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1799 | dnl # if a prefix is given, we use it. |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1800 | |
|
18742
e13a0ecd3093
Apparently we're not supposed to try to expand $datadir or $libdir from inside
Richard Laager <rlaager@pidgin.im>
parents:
18234
diff
changeset
|
1801 | serviceprefixes="$prefix/share $prefix/lib /usr/share /usr/local/share" |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1802 | DBUS_SERVICES_DIR="" |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1803 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1804 | for d in $serviceprefixes ; do |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1805 | dir="$d/dbus-1/services" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1806 | if test -d $dir ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1807 | DBUS_SERVICES_DIR="$dir" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1808 | break |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1809 | fi |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1810 | done |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1811 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1812 | if test -z $DBUS_SERVICES_DIR ; then |
|
29957
c08b2ab5673b
I hate seeing people use "it's" when "its" is the correct word.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29938
diff
changeset
|
1813 | AC_MSG_ERROR([D-Bus services directory was not found! Please use --with-dbus-services and specify its location.]) |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1814 | fi |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1815 | else |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1816 | DBUS_SERVICES_DIR="$datadir/dbus-1/services" |
|
11903
56ae8af14a0d
[gaim-migrate @ 14194]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11874
diff
changeset
|
1817 | fi |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1818 | fi |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1819 | AC_MSG_RESULT([$DBUS_SERVICES_DIR]) |
|
15868
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1820 | AC_DEFINE(HAVE_DBUS, 1, [Define if we are using D-Bus.]) |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1821 | fi |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1822 | AC_SUBST(DBUS_SERVICES_DIR) |
|
11351
c29898b1b746
[gaim-migrate @ 13570]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11318
diff
changeset
|
1823 | |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1824 | if test "x$enable_dbus" = "xyes" ; then |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
1825 | echo "Building with D-Bus support" |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1826 | else |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
1827 | echo "Building without D-Bus support" |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1828 | fi |
|
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1829 | |
|
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1830 | AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes") |
|
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1831 | |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1832 | dnl Check for Python headers (currently useful only for libgnt) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1833 | dnl (Thanks to XChat) |
|
29960
e6ca0b8ae3b7
Fix Python overrideability in configure script. Closes #11625.
Brad Smith <brad@comstyle.com>
parents:
29957
diff
changeset
|
1834 | if test "x$enable_consoleui" = "xyes" -a ! -z "$PYTHON" -a x"$PYTHON" != x"no" ; then |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1835 | AC_MSG_CHECKING(for Python compile flags) |
|
35562
a591c0486b04
Use python-config to find Python headers and libraries.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
35523
diff
changeset
|
1836 | if test -f ${PYTHON}-config; then |
|
a591c0486b04
Use python-config to find Python headers and libraries.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
35523
diff
changeset
|
1837 | PY_CFLAGS=`${PYTHON}-config --includes` |
|
a591c0486b04
Use python-config to find Python headers and libraries.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
35523
diff
changeset
|
1838 | PY_LIBS=`${PYTHON}-config --libs` |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1839 | AC_DEFINE(USE_PYTHON, [1], [Define if python headers are available.]) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1840 | AC_MSG_RESULT(ok) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1841 | else |
|
35562
a591c0486b04
Use python-config to find Python headers and libraries.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
35523
diff
changeset
|
1842 | AC_MSG_RESULT([Cannot find ${PYTHON}-config]) |
|
a591c0486b04
Use python-config to find Python headers and libraries.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
35523
diff
changeset
|
1843 | PY_CFLAGS="" |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1844 | PY_LIBS="" |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1845 | fi |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1846 | fi |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1847 | AC_SUBST(PY_CFLAGS) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1848 | AC_SUBST(PY_LIBS) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1849 | |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1850 | dnl ####################################################################### |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1851 | dnl # SSL support |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1852 | dnl # |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1853 | dnl # Thanks go to Evolution for the checks. |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1854 | dnl ####################################################################### |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1855 | |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1856 | AC_ARG_WITH(system-ssl-certs, [AS_HELP_STRING([--with-system-ssl-certs=<dir>], [directory containing system-wide SSL CA certificates])], [ssl_certificates_dir=$withval]) |
|
23473
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1857 | |
|
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1858 | SSL_CERTIFICATES_DIR="" |
|
27963
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1859 | if ! test -z "$ssl_certificates_dir" ; then |
|
29929
dded7d5087b2
Add a more helpful error message if --with-system-ssl-certs is specified
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
29902
diff
changeset
|
1860 | if test "x$ssl_certificates_dir" = "xyes" ; then |
|
dded7d5087b2
Add a more helpful error message if --with-system-ssl-certs is specified
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
29902
diff
changeset
|
1861 | AC_MSG_ERROR([--with-system-ssl-certs requires that a location is specified, eg. --with-system-ssl-certs=/etc/pki/tls/certs]) |
|
dded7d5087b2
Add a more helpful error message if --with-system-ssl-certs is specified
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
29902
diff
changeset
|
1862 | fi |
|
27963
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1863 | if ! test -d "$ssl_certificates_dir" ; then |
|
35903
dc133578ccaa
cross-win32: FHS and system-provided certs
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35901
diff
changeset
|
1864 | if test "x$is_win32" = "xyes" ; then |
|
dc133578ccaa
cross-win32: FHS and system-provided certs
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35901
diff
changeset
|
1865 | AC_MSG_WARN([$ssl_certificates_dir does not exist. \ |
|
dc133578ccaa
cross-win32: FHS and system-provided certs
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35901
diff
changeset
|
1866 | It may be OK when cross-compiling, but please make sure about it.]) |
|
dc133578ccaa
cross-win32: FHS and system-provided certs
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35901
diff
changeset
|
1867 | else |
|
dc133578ccaa
cross-win32: FHS and system-provided certs
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35901
diff
changeset
|
1868 | AC_MSG_ERROR([$ssl_certificates_dir does not exist, \ |
|
dc133578ccaa
cross-win32: FHS and system-provided certs
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35901
diff
changeset
|
1869 | if this is the correct location please make sure that it exists.]) |
|
dc133578ccaa
cross-win32: FHS and system-provided certs
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35901
diff
changeset
|
1870 | fi |
|
23473
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1871 | fi |
|
27963
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1872 | SSL_CERTIFICATES_DIR="$ssl_certificates_dir" |
|
23473
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1873 | fi |
|
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1874 | AC_SUBST(SSL_CERTIFICATES_DIR) |
|
35851
53a60c0d3040
cross-win32: tidy remaining macros - SSL_CERTIFICATES_DIR, BUILDDIR, CONFDIR
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35850
diff
changeset
|
1875 | if test "x$SSL_CERTIFICATES_DIR" != "x" ; then |
|
53a60c0d3040
cross-win32: tidy remaining macros - SSL_CERTIFICATES_DIR, BUILDDIR, CONFDIR
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35850
diff
changeset
|
1876 | AC_DEFINE_UNQUOTED([SSL_CERTIFICATES_DIR], ["$SSL_CERTIFICATES_DIR"], |
|
53a60c0d3040
cross-win32: tidy remaining macros - SSL_CERTIFICATES_DIR, BUILDDIR, CONFDIR
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35850
diff
changeset
|
1877 | [Directory where SSL certificates can be found]) |
|
53a60c0d3040
cross-win32: tidy remaining macros - SSL_CERTIFICATES_DIR, BUILDDIR, CONFDIR
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35850
diff
changeset
|
1878 | fi |
|
23473
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1879 | AM_CONDITIONAL(INSTALL_SSL_CERTIFICATES, test "x$SSL_CERTIFICATES_DIR" = "x") |
|
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1880 | |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1881 | dnl These two are inverses of each other <-- stolen from evolution! |
|
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1882 | |
|
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1883 | AC_ARG_ENABLE(gnutls, |
|
22757
7d68e6dcc3dc
Remove a legacy preference for GnuTLS
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22756
diff
changeset
|
1884 | [ --enable-gnutls=[yes,no] attempt to use GnuTLS for SSL support [default=yes]], |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1885 | [enable_gnutls="$enableval"], |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1886 | [enable_gnutls="yes"]) |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1887 | |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1888 | AC_ARG_ENABLE(nss, |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1889 | [ --enable-nss=[yes,no,static] attempt to use Mozilla libnss for SSL support [default=yes]], |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1890 | [enable_nss="$enableval"], |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
1891 | [enable_nss="yes"]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1892 | |
|
27386
885fcba6bcca
Mention Yahoo in all the places we say "These protocols won't work without SSL"
Paul Aurich <darkrain42@pidgin.im>
parents:
27361
diff
changeset
|
1893 | msg_ssl="None. MSN, Yahoo!, Novell Groupwise and Google Talk will not work without GnuTLS or NSS. OpenSSL is NOT usable!" |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1894 | looked_for_gnutls="no" |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1895 | dnl # |
|
37209
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1896 | dnl # Check for GnuTLS if it isn't disabled |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1897 | dnl # |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1898 | if test "x$enable_gnutls" != "xno"; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1899 | looked_for_gnutls="yes" |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1900 | |
|
37209
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1901 | if `$PKG_CONFIG --exists gnutls`; then |
|
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1902 | dnl # minimum required version should almost certainly be higher |
|
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1903 | PKG_CHECK_MODULES(GNUTLS, [gnutls >= 2.10], [ |
|
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1904 | have_gnutls="yes" |
|
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1905 | ], [ |
|
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1906 | AC_MSG_RESULT(no) |
|
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1907 | have_gnutls="no" |
|
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1908 | ]) |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1909 | fi |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1910 | |
|
37209
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1911 | if test "x$have_gnutls" = "xyes"; then |
|
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1912 | AC_DEFINE(HAVE_GNUTLS, 1, [Define if you have GnuTLS]) |
|
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1913 | msg_gnutls="GnuTLS" |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1914 | fi |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1915 | fi |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1916 | |
|
37209
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1917 | AM_CONDITIONAL(USE_GNUTLS, test "x$have_gnutls" = "xyes") |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1918 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1919 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1920 | dnl # |
|
37209
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1921 | dnl # Check for NSS if it isn't disabled |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1922 | dnl # |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1923 | looked_for_nss="no" |
|
7155
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1924 | if test "x$enable_nss" != "xno"; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1925 | looked_for_nss="yes" |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1926 | |
|
37202
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1927 | if `$PKG_CONFIG --exists mozilla-nss`; then |
|
37209
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1928 | dnl # TODO: set required minimum version |
|
37202
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1929 | PKG_CHECK_MODULES(NSS, mozilla-nss, [ |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1930 | have_nss="yes" |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1931 | ], [ |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1932 | AC_MSG_RESULT(no) |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1933 | have_nss="no" |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1934 | ]) |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1935 | elif `$PKG_CONFIG --exists nss`; then |
|
37209
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1936 | dnl # TODO: set required minimum version |
|
37202
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1937 | PKG_CHECK_MODULES(NSS, nss, [ |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1938 | have_nss="yes" |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1939 | ], [ |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1940 | AC_MSG_RESULT(no) |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1941 | have_nss="no" |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1942 | ]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1943 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1944 | |
|
37202
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1945 | if test "x$have_nss" = "xyes"; then |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1946 | AC_DEFINE(HAVE_NSS, 1, [Define if you have Mozilla NSS]) |
|
c0332256826a
remove NSS location config options and massive manual NSS check from configure.ac (ok'd by elb, etan)
Michael McConville <mmcconville@mykolab.com>
parents:
37163
diff
changeset
|
1947 | msg_nss="Mozilla NSS" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1948 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1949 | fi |
|
27848
a52e369d98c6
Strip trailing whitespace.
Paul Aurich <darkrain42@pidgin.im>
parents:
27758
diff
changeset
|
1950 | |
|
37209
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1951 | AM_CONDITIONAL(USE_NSS, test "x$have_nss" = "xyes") |
|
b0d0998fd8b9
Remove manual GnuTLS configuration. There's still a little more to be done. For example, the current flags are confusing and should probably be replaced with --disable-gnutls and --disable-nss. The logic could be further simplified when this happens. We should also check whether we need to keep HAVE_GNUTLS_2_10 for Gadu-Gadu.
Michael McConville <mmcconville@mykolab.com>
parents:
37208
diff
changeset
|
1952 | |
|
6738
aa797bcc69dd
[gaim-migrate @ 7270]
Christian Hammond <chipx86@chipx86.com>
parents:
6734
diff
changeset
|
1953 | |
|
7155
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1954 | if test "x$msg_nss" != "x" -a "x$msg_gnutls" != "x"; then |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1955 | msg_ssl="$msg_nss and $msg_gnutls" |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1956 | elif test "x$msg_nss" != "x"; then |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1957 | msg_ssl=$msg_nss |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1958 | elif test "x$msg_gnutls" != "x"; then |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1959 | msg_ssl=$msg_gnutls |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1960 | elif test "x$looked_for_gnutls" = "xyes" -a "x$looked_for_nss" = "xyes" -a "x$force_deps" = "xyes" ; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1961 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1962 | Neither GnuTLS or NSS SSL development headers found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1963 | Use --disable-nss --disable-gnutls if you do not need SSL support. |
|
27386
885fcba6bcca
Mention Yahoo in all the places we say "These protocols won't work without SSL"
Paul Aurich <darkrain42@pidgin.im>
parents:
27361
diff
changeset
|
1964 | MSN, Yahoo!, Novell Groupwise and Google Talk will not work without GnuTLS or NSS. OpenSSL is NOT usable! |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1965 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1966 | elif test "x$looked_for_gnutls" = "xyes" -a "x$force_deps" = "xyes" ; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1967 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1968 | GnuTLS SSL development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1969 | Use --disable-gnutls if you do not need SSL support. |
|
27386
885fcba6bcca
Mention Yahoo in all the places we say "These protocols won't work without SSL"
Paul Aurich <darkrain42@pidgin.im>
parents:
27361
diff
changeset
|
1970 | MSN, Yahoo!, Novell Groupwise and Google Talk will not work without SSL support. |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1971 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1972 | elif test "x$looked_for_nss" = "xyes" -a "x$force_deps" = "xyes" ; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1973 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1974 | NSS SSL development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1975 | Use --disable-nss if you do not need SSL support. |
|
27386
885fcba6bcca
Mention Yahoo in all the places we say "These protocols won't work without SSL"
Paul Aurich <darkrain42@pidgin.im>
parents:
27361
diff
changeset
|
1976 | MSN, Yahoo!, Novell Groupwise and Google Talk will not work without SSL support. |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1977 | ]) |
|
7155
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1978 | fi |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1979 | |
| 2129 | 1980 | if test "$ac_cv_cygwin" = yes ; then |
| 1981 | LDADD="$LDADD -static" | |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
1982 | AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1983 | fi |
| 2129 | 1984 | |
|
34113
eb934dc31159
Further keyring buildsystem improvements: clean kwallet.moc file and get rid of invalid C++ switches
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34112
diff
changeset
|
1985 | AC_SUBST(DEBUG_CPPFLAGS) |
|
6360
c2bfe65b200c
[gaim-migrate @ 6864]
Robert McQueen <robot101@debian.org>
parents:
6321
diff
changeset
|
1986 | AC_SUBST(DEBUG_CFLAGS) |
| 2129 | 1987 | AC_SUBST(LDADD) |
| 1988 | AC_SUBST(LIBS) | |
| 1989 | ||
| 1990 | if test "x$enable_plugins" = "xyes" ; then | |
|
15885
01f2c945c63c
who knew that --disable-plugins still worked?! Also, some completely untested support for aim:buddyicon, which I'll look at more tomorrow
Sean Egan <seanegan@pidgin.im>
parents:
15878
diff
changeset
|
1991 | AC_DEFINE(PURPLE_PLUGINS, 1, [Define if plugins are enabled.]) |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
1992 | AM_CONDITIONAL(PLUGINS, true) |
|
21466
491faf2e1fe4
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21465
diff
changeset
|
1993 | PLUGINS_DEFINE="#define PURPLE_PLUGINS 1" |
| 2129 | 1994 | else |
|
3411
e9d50336f9c3
[gaim-migrate @ 3430]
Christian Hammond <chipx86@chipx86.com>
parents:
3408
diff
changeset
|
1995 | AM_CONDITIONAL(PLUGINS, false) |
|
21466
491faf2e1fe4
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21465
diff
changeset
|
1996 | PLUGINS_DEFINE="#undef PURPLE_PLUGINS" |
| 2129 | 1997 | fi |
|
21466
491faf2e1fe4
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21465
diff
changeset
|
1998 | AC_SUBST(PLUGINS_DEFINE) |
| 2129 | 1999 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2000 | dnl ####################################################################### |
|
33795
590514c0a77c
Improve configure message for Cyrus SASL
Daniel Atallah <datallah@pidgin.im>
parents:
33750
diff
changeset
|
2001 | dnl # Check for Cyrus-SASL (for xmpp/irc) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2002 | dnl ####################################################################### |
| 2129 | 2003 | dnl AC_CHECK_SIZEOF(short) |
| 2004 | AC_CHECK_FUNCS(snprintf connect) | |
| 12508 | 2005 | AC_SUBST(SASL_LIBS) |
|
33796
4854740e5277
Merge with release-2.x.y (lots of conflicts, but all trivially resolved)
Daniel Atallah <datallah@pidgin.im>
diff
changeset
|
2006 | AC_ARG_ENABLE(cyrus-sasl, AS_HELP_STRING([--enable-cyrus-sasl], [enable Cyrus SASL support for xmpp/irc]), enable_cyrus_sasl=$enableval, enable_cyrus_sasl=no) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2007 | if test "x$enable_cyrus_sasl" = "xyes" ; then |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2008 | AC_CHECK_LIB(sasl2, sasl_client_init, [ |
|
28855
c5bc85f9c00e
jabber: Factor the SASL auth methods into their own files.
Paul Aurich <darkrain42@pidgin.im>
parents:
28693
diff
changeset
|
2009 | AM_CONDITIONAL(USE_CYRUS_SASL, true) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2010 | AC_DEFINE(HAVE_CYRUS_SASL, [1], [Define to 1 if Cyrus SASL is present]) |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2011 | SASL_LIBS=-"lsasl2" |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2012 | ], [ |
|
28855
c5bc85f9c00e
jabber: Factor the SASL auth methods into their own files.
Paul Aurich <darkrain42@pidgin.im>
parents:
28693
diff
changeset
|
2013 | AM_CONDITIONAL(USE_CYRUS_SASL, false) |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
2014 | AC_MSG_ERROR([Cyrus SASL library not found]) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2015 | ]) |
|
28855
c5bc85f9c00e
jabber: Factor the SASL auth methods into their own files.
Paul Aurich <darkrain42@pidgin.im>
parents:
28693
diff
changeset
|
2016 | else |
|
c5bc85f9c00e
jabber: Factor the SASL auth methods into their own files.
Paul Aurich <darkrain42@pidgin.im>
parents:
28693
diff
changeset
|
2017 | AM_CONDITIONAL(USE_CYRUS_SASL, false) |
| 12508 | 2018 | fi |
| 2129 | 2019 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2020 | dnl ####################################################################### |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2021 | dnl # Check for Kerberos (for Zephyr) |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2022 | dnl ####################################################################### |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
2023 | AC_DEFINE(ZEPHYR_INT32, long, [Size of an int32.]) |
| 2129 | 2024 | AC_SUBST(KRB4_CFLAGS) |
| 2025 | AC_SUBST(KRB4_LDFLAGS) | |
| 2026 | AC_SUBST(KRB4_LIBS) | |
| 2027 | if test "$kerberos" != "no" ; then | |
| 2028 | if test "$kerberos" != "yes" ; then | |
| 2029 | KRB4_CFLAGS="-I${kerberos}/include" | |
| 2030 | if test -d "$kerberos/include/kerberosIV" ; then | |
| 2031 | KRB4_CFLAGS="$KRB4_CFLAGS -I${kerberos}/include/kerberosIV" | |
| 2032 | fi | |
| 2033 | KRB4_LDFLAGS="-L${kerberos}/lib" | |
| 2034 | elif test -d /usr/local/include/kerberosIV ; then | |
| 2035 | KRB4_CFLAGS="-I/usr/local/include/kerberosIV" | |
| 2036 | elif test -d /usr/include/kerberosIV ; then | |
| 2037 | KRB4_CFLAGS="-I/usr/include/kerberosIV" | |
| 2038 | fi | |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
2039 | AC_DEFINE(ZEPHYR_USES_KERBEROS, 1, [Define if kerberos should be used in Zephyr.]) |
| 2129 | 2040 | |
| 2041 | orig_LDFLAGS="$LDFLAGS" | |
| 2042 | LDFLAGS="$LDFLAGS $KRB4_LDFLAGS" | |
| 2043 | AC_CHECK_LIB(krb4, krb_rd_req, | |
| 2044 | [KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"], | |
| 2045 | [AC_CHECK_LIB(krb, krb_rd_req, | |
| 2046 | [KRB4_LIBS="-lkrb -ldes"], | |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
2047 | [AC_MSG_ERROR([Kerberos 4 libraries not found])], |
| 2129 | 2048 | -ldes)], |
| 2049 | -ldes425 -lkrb5 -lk5crypto -lcom_err) | |
| 2050 | orig_LIBS="$LIBS" | |
| 2051 | LIBS="$LIBS $KRB4_LIBS" | |
| 2052 | AC_CHECK_FUNCS(krb_set_key krb_rd_req krb_get_lrealm) | |
| 2053 | AC_CHECK_FUNCS(krb_get_err_text krb_log) | |
| 2054 | LIBS="$orig_LIBS" | |
| 2055 | LDFLAGS="$orig_LDFLAGS" | |
| 2056 | fi | |
| 6150 | 2057 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2058 | dnl ####################################################################### |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2059 | dnl # Check for external libzephyr |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2060 | dnl ####################################################################### |
| 8378 | 2061 | AC_SUBST(ZEPHYR_CFLAGS) |
| 2062 | AC_SUBST(ZEPHYR_LDFLAGS) | |
| 2063 | AC_SUBST(ZEPHYR_LIBS) | |
| 2064 | if test "$zephyr" != "no" ; then | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2065 | if test "$zephyr" != "yes" ; then |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2066 | ZEPHYR_CFLAGS="-I${zephyr}/include" |
| 8378 | 2067 | ZEPHYR_LDFLAGS="-L${zephyr}/lib" |
| 2068 | elif test -d /usr/athena/include/zephyr ; then | |
| 2069 | ZEPHYR_CFLAGS="-I/usr/athena/include" | |
| 2070 | elif test -d /usr/include/zephyr ; then | |
|
12034
e40d6191f530
[gaim-migrate @ 14327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12032
diff
changeset
|
2071 | ZEPHYR_CFLAGS="-I/usr/include" |
|
e40d6191f530
[gaim-migrate @ 14327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12032
diff
changeset
|
2072 | elif test -d /usr/local/include/zephyr ; then |
|
e40d6191f530
[gaim-migrate @ 14327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12032
diff
changeset
|
2073 | ZEPHYR_CFLAGS="-I/usr/local/include" |
| 8378 | 2074 | fi |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
2075 | AC_DEFINE(LIBZEPHYR_EXT, 1 , [Define if external libzephyr should be used.]) |
| 8378 | 2076 | AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno") |
| 2077 | orig_LDFLAGS="$LDFLAGS" | |
| 2078 | LDFLAGS="$LDFLAGS $ZEPHYR_LDFLAGS" | |
| 2079 | AC_CHECK_LIB(zephyr, ZInitialize, | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2080 | [ZEPHYR_LIBS="-lzephyr"], |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
2081 | [AC_MSG_ERROR([Zephyr libraries not found])], |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2082 | -lzephyr) |
| 8378 | 2083 | orig_LIBS="$LIBS" |
| 2084 | LIBS="$orig_LIBS" | |
| 2085 | LDFLAGS="$orig_LDFLAGS" | |
| 2086 | fi | |
| 2087 | ||
| 6150 | 2088 | AC_MSG_CHECKING(for me pot o' gold) |
| 2089 | AC_MSG_RESULT(no) | |
|
31332
6a74f42c8c04
Fix purple_str_to_time(). Fixes #13131.
Nader Morshed <morshed.nader@gmail.com>
parents:
31270
diff
changeset
|
2090 | AC_CHECK_FUNCS(gethostid lrand48 timegm) |
| 2129 | 2091 | AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf) |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
2092 | AC_CHECK_HEADERS(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h) |
|
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
2093 | AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h) |
|
37928
bcc6c80708a0
Remove unused header checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37927
diff
changeset
|
2094 | AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/wait.h) |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
2095 | AC_CHECK_HEADERS(termios.h) |
|
22629
46e2adbfc4af
Fix a problem with our configure check for sys/sysctl.h on OpenBSD 4.2.
Mark Doliner <markdoliner@pidgin.im>
parents:
22565
diff
changeset
|
2096 | |
|
46e2adbfc4af
Fix a problem with our configure check for sys/sysctl.h on OpenBSD 4.2.
Mark Doliner <markdoliner@pidgin.im>
parents:
22565
diff
changeset
|
2097 | # sys/sysctl.h on OpenBSD 4.2 requires sys/param.h |
|
23518
228c316f1323
Some header inclusion fixes to help on NetBSD/FreeBSD.
Richard Laager <rlaager@pidgin.im>
parents:
23492
diff
changeset
|
2098 | # sys/sysctl.h on FreeBSD requires sys/types.h |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
2099 | AC_CHECK_HEADERS(sys/param.h) |
|
22629
46e2adbfc4af
Fix a problem with our configure check for sys/sysctl.h on OpenBSD 4.2.
Mark Doliner <markdoliner@pidgin.im>
parents:
22565
diff
changeset
|
2100 | AC_CHECK_HEADERS(sys/sysctl.h, [], [], |
|
46e2adbfc4af
Fix a problem with our configure check for sys/sysctl.h on OpenBSD 4.2.
Mark Doliner <markdoliner@pidgin.im>
parents:
22565
diff
changeset
|
2101 | [[ |
|
23518
228c316f1323
Some header inclusion fixes to help on NetBSD/FreeBSD.
Richard Laager <rlaager@pidgin.im>
parents:
23492
diff
changeset
|
2102 | #include <sys/types.h> |
|
22629
46e2adbfc4af
Fix a problem with our configure check for sys/sysctl.h on OpenBSD 4.2.
Mark Doliner <markdoliner@pidgin.im>
parents:
22565
diff
changeset
|
2103 | #ifdef HAVE_PARAM_H |
|
46e2adbfc4af
Fix a problem with our configure check for sys/sysctl.h on OpenBSD 4.2.
Mark Doliner <markdoliner@pidgin.im>
parents:
22565
diff
changeset
|
2104 | # include <sys/param.h> |
|
46e2adbfc4af
Fix a problem with our configure check for sys/sysctl.h on OpenBSD 4.2.
Mark Doliner <markdoliner@pidgin.im>
parents:
22565
diff
changeset
|
2105 | #endif |
|
46e2adbfc4af
Fix a problem with our configure check for sys/sysctl.h on OpenBSD 4.2.
Mark Doliner <markdoliner@pidgin.im>
parents:
22565
diff
changeset
|
2106 | ]]) |
|
46e2adbfc4af
Fix a problem with our configure check for sys/sysctl.h on OpenBSD 4.2.
Mark Doliner <markdoliner@pidgin.im>
parents:
22565
diff
changeset
|
2107 | |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
2108 | AC_CHECK_HEADERS(sys/socket.h) |
|
3194
9404dfabed94
[gaim-migrate @ 3211]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3191
diff
changeset
|
2109 | AC_VAR_TIMEZONE_EXTERNALS |
| 2129 | 2110 | |
|
37935
fe98e3815bc4
Use AC_CHECK_MEMBER instead of homegrown check.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37934
diff
changeset
|
2111 | AC_CHECK_MEMBER([struct tm.tm_gmtoff], |
|
fe98e3815bc4
Use AC_CHECK_MEMBER instead of homegrown check.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37934
diff
changeset
|
2112 | [AC_DEFINE(HAVE_TM_GMTOFF, 1, [Define if you have a tm_gmtoff member in struct tm])], |
|
fe98e3815bc4
Use AC_CHECK_MEMBER instead of homegrown check.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37934
diff
changeset
|
2113 | [], |
|
fe98e3815bc4
Use AC_CHECK_MEMBER instead of homegrown check.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37934
diff
changeset
|
2114 | [[#include <time.h>]]) |
|
14533
18965bbec457
[gaim-migrate @ 17187]
Evan Schoenberg <evands@pidgin.im>
parents:
14507
diff
changeset
|
2115 | |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2116 | dnl ####################################################################### |
|
22717
5dd7255ae41f
I'm tired of installing pixmap data that almost never changes. I'm so tired of
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22673
diff
changeset
|
2117 | dnl # Disable pixmap installation |
|
5dd7255ae41f
I'm tired of installing pixmap data that almost never changes. I'm so tired of
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22673
diff
changeset
|
2118 | dnl ####################################################################### |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
2119 | AC_ARG_ENABLE(pixmaps-install, AS_HELP_STRING([--disable-pixmaps-install], [disable installation of pixmap files - Pidgin still needs them!]), enable_pixmaps="$enableval", enable_pixmaps=yes) |
|
22717
5dd7255ae41f
I'm tired of installing pixmap data that almost never changes. I'm so tired of
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22673
diff
changeset
|
2120 | |
|
5dd7255ae41f
I'm tired of installing pixmap data that almost never changes. I'm so tired of
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22673
diff
changeset
|
2121 | AM_CONDITIONAL(INSTALL_PIXMAPS, test "x$enable_pixmaps" = "xyes") |
|
5dd7255ae41f
I'm tired of installing pixmap data that almost never changes. I'm so tired of
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22673
diff
changeset
|
2122 | |
|
22723
134bf06fdb6d
For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22717
diff
changeset
|
2123 | dnl ####################################################################### |
|
30359
6fb91698456e
Add a configure option --enable-trayicon-compat which installs tray icons
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30358
diff
changeset
|
2124 | dnl # Tweak status tray icon installation directory |
|
6fb91698456e
Add a configure option --enable-trayicon-compat which installs tray icons
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30358
diff
changeset
|
2125 | dnl ####################################################################### |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
2126 | AC_ARG_ENABLE(trayicon-compat, AS_HELP_STRING([--enable-trayicon-compat], [install tray icons in location compatible with older releases of hicolor-icon-theme]), enable_traycompat="$enableval", enable_traycompat=no) |
|
30359
6fb91698456e
Add a configure option --enable-trayicon-compat which installs tray icons
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30358
diff
changeset
|
2127 | |
|
6fb91698456e
Add a configure option --enable-trayicon-compat which installs tray icons
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30358
diff
changeset
|
2128 | AM_CONDITIONAL(ENABLE_TRAYCOMPAT, test "x$enable_traycompat" = "xyes") |
|
22723
134bf06fdb6d
For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22717
diff
changeset
|
2129 | |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2130 | # check for gtk-doc |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2131 | m4_ifdef([GTK_DOC_CHECK], [ |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2132 | GTK_DOC_CHECK([1.16],[--flavour no-tmpl]) |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2133 | ],[ |
|
35607
4ce836edff36
Fix gtk-doc configure check
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35581
diff
changeset
|
2134 | if test "x$force_deps" = "xyes" -a "x$enable_gtk_doc" = "xyes"; then |
|
4ce836edff36
Fix gtk-doc configure check
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35581
diff
changeset
|
2135 | AC_MSG_ERROR([ |
|
4ce836edff36
Fix gtk-doc configure check
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35581
diff
changeset
|
2136 | You have requested to generate documentation, but gtk-doc was not found. |
|
4ce836edff36
Fix gtk-doc configure check
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35581
diff
changeset
|
2137 | ]) |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2138 | fi |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2139 | |
|
35607
4ce836edff36
Fix gtk-doc configure check
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35581
diff
changeset
|
2140 | AM_CONDITIONAL([ENABLE_GTK_DOC], false) |
|
4ce836edff36
Fix gtk-doc configure check
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35581
diff
changeset
|
2141 | enable_gtk_doc=no |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2142 | ]) |
|
20987
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2143 | |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
2144 | AC_ARG_ENABLE(debug, [AS_HELP_STRING([--enable-debug], |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2145 | [compile with debugging support])], , enable_debug=no) |
|
17062
7f0a31be8f7c
Remove the fatal asserts. If you think they helped you find and fix bugs, you can use 'G_DEBUG=fatal_warnings pidgin' to get back the crashes.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17006
diff
changeset
|
2146 | |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2147 | if test "x$enable_debug" = "xyes" ; then |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2148 | AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2149 | fi |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2150 | |
|
18705
ee878f1aa32b
Some lines to the auto-thingies to aid in libgnt building standalone
Eric Polino <aluink@pidgin.im>
parents:
18292
diff
changeset
|
2151 | AM_CONDITIONAL(PURPLE_AVAILABLE, true) |
|
ee878f1aa32b
Some lines to the auto-thingies to aid in libgnt building standalone
Eric Polino <aluink@pidgin.im>
parents:
18292
diff
changeset
|
2152 | |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2153 | AC_CONFIG_FILES([Makefile |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2154 | doc/Makefile |
|
15633
a199751d1c05
Patch from Kevin Stange to allow autogen to run successfully. Yeah just look at the diff...
Gary Kramlich <grim@reaperworld.com>
parents:
15610
diff
changeset
|
2155 | doc/pidgin.1 |
|
15909
0ee1e930d385
Rename/update finch man page
Richard Nelson <wabz@pidgin.im>
parents:
15901
diff
changeset
|
2156 | doc/finch.1 |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2157 | doc/reference/Makefile |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2158 | doc/reference/finch/Makefile |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2159 | doc/reference/finch/version.xml |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2160 | doc/reference/libpurple/Makefile |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2161 | doc/reference/libpurple/version.xml |
|
37347
34d43f8c10d1
facebook: added GTK-Doc for the internal APIs
James Geboski <jgeboski@gmail.com>
parents:
37249
diff
changeset
|
2162 | doc/reference/protocols/Makefile |
|
34d43f8c10d1
facebook: added GTK-Doc for the internal APIs
James Geboski <jgeboski@gmail.com>
parents:
37249
diff
changeset
|
2163 | doc/reference/protocols/facebook/Makefile |
|
34d43f8c10d1
facebook: added GTK-Doc for the internal APIs
James Geboski <jgeboski@gmail.com>
parents:
37249
diff
changeset
|
2164 | doc/reference/protocols/version.xml |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2165 | doc/reference/pidgin/Makefile |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2166 | doc/reference/pidgin/version.xml |
|
11147
67309baf4c84
[gaim-migrate @ 13226]
Gary Kramlich <grim@reaperworld.com>
parents:
11146
diff
changeset
|
2167 | m4macros/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2168 | pidgin/Makefile |
|
36249
c6a0feac708f
Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
36216
diff
changeset
|
2169 | pidgin/data/pidgin.desktop.in |
|
36239
35d7033e1d33
Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
36222
diff
changeset
|
2170 | pidgin/data/pidgin-3.pc |
|
35d7033e1d33
Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
36222
diff
changeset
|
2171 | pidgin/data/pidgin-3-uninstalled.pc |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2172 | pidgin/pixmaps/Makefile |
| 19385 | 2173 | pidgin/pixmaps/emotes/default/24/Makefile |
|
24689
d9db6c50ac6f
Make the small smiley theme actually work.
Richard Laager <rlaager@pidgin.im>
parents:
24609
diff
changeset
|
2174 | pidgin/pixmaps/emotes/small/16/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2175 | pidgin/plugins/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2176 | pidgin/plugins/cap/Makefile |
|
27217
7509acac49de
Convert the disco browser to a plugin. Refs #556
Paul Aurich <darkrain42@pidgin.im>
parents:
27047
diff
changeset
|
2177 | pidgin/plugins/disco/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2178 | pidgin/plugins/gestures/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2179 | pidgin/plugins/gevolution/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2180 | pidgin/plugins/musicmessaging/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2181 | pidgin/plugins/ticker/Makefile |
|
35873
1b074557f2b0
cross-win32: build win32 plugins
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35871
diff
changeset
|
2182 | pidgin/plugins/win32/transparency/Makefile |
|
1b074557f2b0
cross-win32: build win32 plugins
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35871
diff
changeset
|
2183 | pidgin/plugins/win32/winprefs/Makefile |
|
32676
c88622fe603b
Put conversation theme in its own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32512
diff
changeset
|
2184 | pidgin/themes/Makefile |
|
35865
7f49bc843ce1
cross-win32: add version information to Pidgin/libpurple binaries
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35864
diff
changeset
|
2185 | pidgin/win32/pidgin_dll_rc.rc |
|
7f49bc843ce1
cross-win32: add version information to Pidgin/libpurple binaries
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35864
diff
changeset
|
2186 | pidgin/win32/pidgin_exe_rc.rc |
|
37921
8bdfa6a4e56f
Add a purple-url-handler.desktop file to make xmpp: links clickable on Linux.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
37637
diff
changeset
|
2187 | libpurple/data/purple-url-handler.desktop.in |
|
36239
35d7033e1d33
Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
36222
diff
changeset
|
2188 | libpurple/data/purple-3.pc |
|
35d7033e1d33
Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
36222
diff
changeset
|
2189 | libpurple/data/purple-3-uninstalled.pc |
|
15673
7f2c84ae63b0
Add the example nullclient here.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15671
diff
changeset
|
2190 | libpurple/example/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2191 | libpurple/plugins/Makefile |
|
33984
7459475b1495
Added the gnome keyring plugin, and finally got makefiles to work.
Vivien Bernet-Rollande <scrouaf@soc.pidgin.im>
parents:
23881
diff
changeset
|
2192 | libpurple/plugins/keyrings/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2193 | libpurple/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2194 | libpurple/protocols/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2195 | libpurple/protocols/bonjour/Makefile |
|
37249
dfa58c08a4fd
facebook: initial protocol plugin
James Geboski <jgeboski@gmail.com>
parents:
37163
diff
changeset
|
2196 | libpurple/protocols/facebook/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2197 | libpurple/protocols/gg/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2198 | libpurple/protocols/irc/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2199 | libpurple/protocols/jabber/Makefile |
|
37605
599b01f2f5a7
This should do it for the jabber tests
Gary Kramlich <grim@reaperworld.com>
parents:
37604
diff
changeset
|
2200 | libpurple/protocols/jabber/tests/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2201 | libpurple/protocols/msn/Makefile |
|
28841
6b9568572bcb
Initial addition of the MXit protocol plugin, provided by the MXit folks
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28693
diff
changeset
|
2202 | libpurple/protocols/mxit/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2203 | libpurple/protocols/novell/Makefile |
|
17451
02adeb73ed3b
this patch adds nullprpl, a mock protocol plugin, to the libpurple/protocols
Ryan Barrett <ryanbarrett@users.sourceforge.net>
parents:
17384
diff
changeset
|
2204 | libpurple/protocols/null/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2205 | libpurple/protocols/oscar/Makefile |
|
37604
651092763669
Move the oscar unit tests to gtester
Gary Kramlich <grim@reaperworld.com>
parents:
37602
diff
changeset
|
2206 | libpurple/protocols/oscar/tests/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2207 | libpurple/protocols/sametime/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2208 | libpurple/protocols/silc/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2209 | libpurple/protocols/simple/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2210 | libpurple/protocols/yahoo/Makefile |
|
37602
684c245c52fa
Initial attempt at updating the yahoo tests, but somehome I'm hitting dbus (?!) and it's failing
Gary Kramlich <grim@reaperworld.com>
parents:
37593
diff
changeset
|
2211 | libpurple/protocols/yahoo/tests/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2212 | libpurple/protocols/zephyr/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2213 | libpurple/tests/Makefile |
|
21466
491faf2e1fe4
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21465
diff
changeset
|
2214 | libpurple/purple.h |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
2215 | libpurple/version.h |
|
35865
7f49bc843ce1
cross-win32: add version information to Pidgin/libpurple binaries
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35864
diff
changeset
|
2216 | libpurple/win32/libpurplerc.rc |
| 18292 | 2217 | share/sounds/Makefile |
|
19355
a15de14b4ad1
- Fix the autoconf/automake stuff so that the ca-certs work
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19318
diff
changeset
|
2218 | share/ca-certs/Makefile |
|
20892
bace1e693fd3
pkg-config shizzle for finch.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20771
diff
changeset
|
2219 | finch/finch.pc |
|
35887
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
2220 | finch/finch_winres.rc |
|
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
2221 | finch/libfinch_winres.rc |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2222 | finch/Makefile |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2223 | finch/libgnt/Makefile |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2224 | finch/libgnt/gnt.pc |
|
35887
d18e59bae076
Fix win32/others versioning: rc files, bump gnt version, -version-info switch for libpidgin and libfinch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35886
diff
changeset
|
2225 | finch/libgnt/libgnt_winres.rc |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2226 | finch/libgnt/wms/Makefile |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2227 | finch/plugins/Makefile |
| 6954 | 2228 | po/Makefile.in |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2229 | ]) |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2230 | AC_OUTPUT |
| 2129 | 2231 | |
| 2232 | echo | |
| 2233 | echo $PACKAGE $VERSION | |
| 2234 | ||
| 2235 | echo | |
|
33171
96a8f89214a3
Add configure magic to build with either GTK+ 3 or 2.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33163
diff
changeset
|
2236 | echo Build GTK+ UI................. : $enable_gtkui |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2237 | echo Build console UI.............. : $enable_consoleui |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
2238 | echo Build for X11................. : $with_x |
| 2129 | 2239 | echo |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
2240 | echo Enable Gestures............... : $enable_gestures |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2241 | echo Protocols to build dynamically : $DYNAMIC_PRPLS |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2242 | echo Protocols to link statically.. : $STATIC_PRPLS |
| 2129 | 2243 | echo |
| 13720 | 2244 | echo Build with GStreamer support.. : $enable_gst |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
2245 | echo Build with D-Bus support...... : $enable_dbus |
|
23703
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
2246 | echo Build with voice and video.... : $enable_vv |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2247 | if test "x$enable_dbus" = "xyes" ; then |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
2248 | eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2249 | fi |
|
27849
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
2250 | echo Build with GNU Libidn......... : $enable_idn |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2251 | echo SSL Library/Libraries......... : $msg_ssl |
|
23473
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
2252 | if test "x$SSL_CERTIFICATES_DIR" != "x" ; then |
|
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
2253 | eval eval echo SSL CA certificates directory. : $SSL_CERTIFICATES_DIR |
|
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
2254 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2255 | echo Build with Cyrus SASL support. : $enable_cyrus_sasl |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2256 | echo Use kerberos 4 with zephyr.... : $kerberos |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2257 | echo Use external libzephyr........ : $zephyr |
|
36118
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
2258 | echo Use external libgadu.......... : $have_libgadu |
|
22717
5dd7255ae41f
I'm tired of installing pixmap data that almost never changes. I'm so tired of
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22673
diff
changeset
|
2259 | echo Install pixmaps............... : $enable_pixmaps |
|
30359
6fb91698456e
Add a configure option --enable-trayicon-compat which installs tray icons
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30358
diff
changeset
|
2260 | echo Old tray icon compatibility... : $enable_traycompat |
|
22723
134bf06fdb6d
For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22717
diff
changeset
|
2261 | echo Install translations.......... : $enable_i18n |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2262 | echo Has you....................... : yes |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2263 | echo |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2264 | echo Use XScreenSaver Extension.... : $enable_screensaver |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2265 | echo Use X Session Management...... : $enable_sm |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2266 | echo Use startup notification...... : $enable_startup_notification |
|
35911
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
2267 | echo Build with Enchant support.... : $use_enchant |
|
32771
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
2268 | echo Build with GCR widgets........ : $enable_gcr |
|
35122
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
2269 | echo Build Unity integration plugin.: $enable_unity |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2270 | echo |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
2271 | echo Build with GNOME Keyring...... : $enable_gnome_keyring |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
2272 | echo Build with KWallet............ : $enable_kwallet |
|
34197
e3507bd26a39
Disable Secret Service keyring, because of its (current) poor quality, far away from being ready to ship
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34193
diff
changeset
|
2273 | #echo Build with Secret Service..... : $enable_secret_service |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
2274 | echo |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2275 | echo Build with plugin support..... : $enable_plugins |
|
36822
7f6509afc91e
disabled perl, tcl, mono loaders. this will be handled by gplugin.
Ankit Vani <a@nevitus.org>
parents:
36818
diff
changeset
|
2276 | echo Enable Introspection...........: $enable_introspection |
|
35901
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2277 | |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2278 | if test "x$is_win32" = "xyes" ; then |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2279 | echo |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2280 | echo Win32 directory structure..... : $with_win32_dirs |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2281 | fi |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2282 | |
| 2129 | 2283 | echo |
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
2284 | echo Print debugging messages...... : $enable_debug |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2285 | echo Generate documentation........ : $enable_gtk_doc |
| 2129 | 2286 | echo |
|
15946
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15909
diff
changeset
|
2287 | eval eval echo Pidgin will be installed in $bindir. |
|
15976
dbb3ea0b1f7c
Minor 'make dist' fix and check for installed versions of pidgin, not gaim
Mark Doliner <markdoliner@pidgin.im>
parents:
15966
diff
changeset
|
2288 | if test "x$pidginpath" != "x" ; then |
|
dbb3ea0b1f7c
Minor 'make dist' fix and check for installed versions of pidgin, not gaim
Mark Doliner <markdoliner@pidgin.im>
parents:
15966
diff
changeset
|
2289 | echo Warning: You have an old copy of Pidgin at $pidginpath. |
| 2129 | 2290 | fi |
|
22818
bdcf442fc564
I'm an idiot and forgot to escape my apostrophe. This took *way* too long
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22817
diff
changeset
|
2291 | if test "x$enable_pixmaps" = "xno" ; then |
|
22817
f8a97e000798
Attempt to make it a bit more obvious that people need to have half a clue
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22784
diff
changeset
|
2292 | echo |
|
f8a97e000798
Attempt to make it a bit more obvious that people need to have half a clue
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22784
diff
changeset
|
2293 | echo Warning: You have disabled the installation of pixmap data, but Pidgin |
|
29902
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2294 | echo still requires installed pixmaps. Be sure you know what you are doing. |
|
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2295 | fi |
|
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2296 | if test "x$enable_i18n" = "xno" ; then |
|
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2297 | echo |
|
30358
78ae7bcfa65c
I don't know why this AM_CONDITIONAL is so far away from its setup.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30263
diff
changeset
|
2298 | echo Warning: You have disabled the building and installation of translation |
|
29902
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2299 | echo data. This will prevent building pidgin.desktop and the GConf schemas. |
|
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2300 | echo Be sure you know what you are doing. |
|
22817
f8a97e000798
Attempt to make it a bit more obvious that people need to have half a clue
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22784
diff
changeset
|
2301 | fi |
| 2129 | 2302 | echo |
| 2303 | echo configure complete, now type \'make\' | |
| 2304 | echo | |
|
22818
bdcf442fc564
I'm an idiot and forgot to escape my apostrophe. This took *way* too long
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22817
diff
changeset
|
2305 |