Sat, 09 Sep 2017 05:12:28 -0400
Add pidgin_menu_popup_at_treeview_selection.
This wraps the previous helper function into a private function and
also uses the new gtk_menu_popup_at_rect instead for newer GTK+.
| 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]) |
|
38239
f76c1aa92c07
Bump the version and add a changelog entry for the next version
Gary Kramlich <grim@reaperworld.com>
parents:
38220
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]) |
|
38239
f76c1aa92c07
Bump the version and add a changelog entry for the next version
Gary Kramlich <grim@reaperworld.com>
parents:
38220
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) |
| 112 | ||
| 8919 | 113 | dnl Storing configure arguments |
| 114 | AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments]) | |
| 115 | ||
| 2129 | 116 | dnl Checks for programs. |
| 117 | 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
|
118 | 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
|
119 | 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
|
120 | 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
|
121 | LT_INIT([disable-static]) |
| 2129 | 122 | AC_PROG_INSTALL |
|
15146
915827bf73d3
[gaim-migrate @ 17870]
Gary Kramlich <grim@reaperworld.com>
parents:
15133
diff
changeset
|
123 | 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
|
124 | 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
|
125 | |
|
30263
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
126 | dnl Check for Sun compiler |
|
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
127 | 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
|
128 | |
|
35848
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
129 | dnl Check for Win32 |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
130 | case "$host" in |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
131 | *-*-mingw* | *-*-cygwin*) |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
132 | is_win32="yes" |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
133 | is_not_win32="no" |
|
35855
3e60f9385431
cross-win32: libpurple builds now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35854
diff
changeset
|
134 | LIBS="$LIBS -lws2_32" |
|
3e60f9385431
cross-win32: libpurple builds now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35854
diff
changeset
|
135 | 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
|
136 | PLUGIN_LDFLAGS="-avoid-version -no-undefined" |
|
35855
3e60f9385431
cross-win32: libpurple builds now
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35854
diff
changeset
|
137 | AC_SUBST(DNSAPI_LIBS) |
|
35865
7f49bc843ce1
cross-win32: add version information to Pidgin/libpurple binaries
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35864
diff
changeset
|
138 | 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
|
139 | 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
|
140 | [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
|
141 | 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
|
142 | 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
|
143 | 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
|
144 | AC_DEFINE(WIN32_LEAN_AND_MEAN, 1, |
|
35893
c83a09a6e3d5
Fix legacy win32 build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35892
diff
changeset
|
145 | [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
|
146 | ;; |
|
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 | is_win32="no" |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
149 | 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
|
150 | 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
|
151 | ;; |
|
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
152 | esac |
|
35852
fe350399078a
cross-win32: fix prpls
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35851
diff
changeset
|
153 | 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
|
154 | 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
|
155 | |
|
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 | dnl Define *_LIBS |
|
38060
d56df7c18807
configure.ac: Bring {PURPLE,PIDGIN,FINCH}_LIBS in line with .pc files
Mike Ruprecht <cmaiku@gmail.com>
parents:
38050
diff
changeset
|
157 | PURPLE_LIBS="\$(top_builddir)/libpurple/libpurple.la \$(GLIB_LIBS) \$(GPLUGIN_LIBS)" |
|
d56df7c18807
configure.ac: Bring {PURPLE,PIDGIN,FINCH}_LIBS in line with .pc files
Mike Ruprecht <cmaiku@gmail.com>
parents:
38050
diff
changeset
|
158 | PIDGIN_LIBS="\$(top_builddir)/pidgin/libpidgin.la \$(GTK_LIBS) \$(PURPLE_LIBS) \$(WEBKIT_LIBS)" |
|
d56df7c18807
configure.ac: Bring {PURPLE,PIDGIN,FINCH}_LIBS in line with .pc files
Mike Ruprecht <cmaiku@gmail.com>
parents:
38050
diff
changeset
|
159 | FINCH_LIBS="\$(top_builddir)/finch/libfinch.la \$(top_builddir)/finch/libgnt/libgnt.la \$(PURPLE_LIBS)" |
|
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
|
160 | 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
|
161 | 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
|
162 | 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
|
163 | |
| 2129 | 164 | dnl Checks for header files. |
| 165 | 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
|
166 | AC_CHECK_HEADERS(fcntl.h unistd.h stdint.h) |
| 2129 | 167 | |
| 168 | dnl Checks for typedefs, structures, and compiler characteristics. | |
|
14049
c15c41423e19
[gaim-migrate @ 16559]
Richard Laager <rlaager@pidgin.im>
parents:
13932
diff
changeset
|
169 | AC_CHECK_SIZEOF(time_t, ,[ |
|
c15c41423e19
[gaim-migrate @ 16559]
Richard Laager <rlaager@pidgin.im>
parents:
13932
diff
changeset
|
170 | #include <stdio.h> |
|
c15c41423e19
[gaim-migrate @ 16559]
Richard Laager <rlaager@pidgin.im>
parents:
13932
diff
changeset
|
171 | #include <time.h>]) |
| 2129 | 172 | |
|
12423
e83c899d3be9
[gaim-migrate @ 14730]
Richard Laager <rlaager@pidgin.im>
parents:
12385
diff
changeset
|
173 | AC_C_BIGENDIAN |
|
e83c899d3be9
[gaim-migrate @ 14730]
Richard Laager <rlaager@pidgin.im>
parents:
12385
diff
changeset
|
174 | |
|
35901
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
175 | 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
|
176 | [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
|
177 | 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
|
178 | 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
|
179 | fi |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
180 | with_win32_dirs="$withval" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
181 | ], with_win32_dirs="classic") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
182 | 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
|
183 | 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
|
184 | fi |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
185 | |
|
35850
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
186 | 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
|
187 | if test "x$is_win32" = "xyes" ; then |
|
35901
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
188 | if test "x$with_win32_dirs" = "xfhs" ; then |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
189 | AS_AC_EXPAND(win32_fhs_bindir, "$bindir") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
190 | 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
|
191 | [bindir, as defined by configure]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
192 | AS_AC_EXPAND(win32_fhs_libdir, "$libdir") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
193 | 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
|
194 | [libdir, as defined by configure]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
195 | AS_AC_EXPAND(win32_fhs_datadir, "$datadir") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
196 | 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
|
197 | [datadir, as defined by configure]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
198 | AS_AC_EXPAND(win32_fhs_sysconfdir, "$sysconfdir") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
199 | 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
|
200 | [sysconfdir, as defined by configure]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
201 | AS_AC_EXPAND(win32_fhs_localedir, "$localedir") |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
202 | 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
|
203 | [localedir, as defined by configure]) |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
204 | |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
205 | 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
|
206 | 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
|
207 | 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
|
208 | else |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
209 | purple_libdir="wpurple_lib_dir(NULL)" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
210 | pidgin_libdir="wpurple_lib_dir(NULL)" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
211 | finch_libdir="wpurple_lib_dir(NULL)" |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
212 | fi |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
213 | |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
214 | 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
|
215 | 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
|
216 | 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
|
217 | else |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
218 | 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
|
219 | 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
|
220 | 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
|
221 | 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
|
222 | 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
|
223 | 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
|
224 | |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
225 | 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
|
226 | 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
|
227 | pidgin_libdir="\"$common_libdir/pidgin-$PURPLE_MAJOR_VERSION\"" |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
228 | 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
|
229 | fi |
|
1abeda205d6c
cross-win32: make dirs more flexible, add them to the config.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35849
diff
changeset
|
230 | 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
|
231 | [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
|
232 | 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
|
233 | [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
|
234 | 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
|
235 | [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
|
236 | 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
|
237 | [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
|
238 | 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
|
239 | [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
|
240 | 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
|
241 | [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
|
242 | |
|
35888
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
243 | PURPLE_PLUGINDIR="\$(libdir)/purple-$PURPLE_MAJOR_VERSION" |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
244 | AC_SUBST([PURPLE_PLUGINDIR]) |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
245 | PIDGIN_PLUGINDIR="\$(libdir)/pidgin-$PURPLE_MAJOR_VERSION" |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
246 | AC_SUBST([PIDGIN_PLUGINDIR]) |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
247 | FINCH_PLUGINDIR="\$(libdir)/finch-$PURPLE_MAJOR_VERSION" |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
248 | AC_SUBST([FINCH_PLUGINDIR]) |
|
bbef15512b9f
Fix Pidgin/Finch plugin directory versioning
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35887
diff
changeset
|
249 | |
| 2129 | 250 | dnl Checks for library functions. |
|
38048
a3aaf7cef832
Remove more configure checks for C89 functions.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38047
diff
changeset
|
251 | AC_CHECK_FUNCS(strdup) |
| 2129 | 252 | |
| 2959 | 253 | 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
|
254 | 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
|
255 | 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
|
256 | [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
|
257 | fi |
| 4424 | 258 | 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
|
259 | 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
|
260 | 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
|
261 | 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
|
262 | else |
|
35848
45db81738d2e
cross-win32: don't check for socket and inet_aton
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35731
diff
changeset
|
263 | 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
|
264 | [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
|
265 | 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
|
266 | 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
|
267 | 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
|
268 | [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
|
269 | [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
|
270 | [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
|
271 | [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
|
272 | 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
|
273 | fi |
|
29714
8c1f3beb9fdc
network: Use getifaddrs() to enumerate local interfaces/IPs if available.
Paul Aurich <darkrain42@pidgin.im>
parents:
29698
diff
changeset
|
274 | AC_CHECK_FUNCS(getifaddrs) |
| 3150 | 275 | dnl Check for socklen_t (in Unix98) |
| 276 | 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
|
277 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
278 | #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
|
279 | #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
|
280 | # 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
|
281 | #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
|
282 | # 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
|
283 | #endif |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
284 | 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
|
285 | ]], [[]])], [ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
286 | AC_MSG_RESULT(yes) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
287 | ], [ |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
288 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
289 | #include <sys/types.h> |
|
35871
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
290 | #ifdef _WIN32 |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
291 | # include <ws2tcpip.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
292 | #else |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
293 | # include <sys/socket.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
294 | #endif |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
295 | 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
|
296 | ]], [[]])], [ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
297 | AC_MSG_RESULT(size_t) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
298 | AC_DEFINE(socklen_t, size_t, [socklen_t size]) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
299 | ], [ |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
300 | AC_MSG_RESULT(int) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
301 | AC_DEFINE(socklen_t, int, [socklen_t size]) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
302 | ]) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
303 | ]) |
| 3150 | 304 | |
|
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
|
305 | 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
|
306 | 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
|
307 | [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
|
308 | [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
|
309 | [ |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
310 | #ifdef _WIN32 |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
311 | # include <ws2tcpip.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
312 | #else |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
313 | # include <sys/socket.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
314 | #endif |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
315 | ]) |
|
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
|
316 | |
|
30027
2ab6e591cf72
Add network listen functions that accept a family argument (AF_INET(6?)).
Paul Aurich <darkrain42@pidgin.im>
parents:
29960
diff
changeset
|
317 | 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
|
318 | 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
|
319 | [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
|
320 | [Define if the IPV6_V6ONLY setsockopt option exists])], |
|
35871
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
321 | [], [ |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
322 | #ifdef _WIN32 |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
323 | # include <ws2tcpip.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
324 | #else |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
325 | # include <netinet/in.h> |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
326 | #endif |
|
0280c4396fc2
cross-win32: fix network checks
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35870
diff
changeset
|
327 | ]) |
|
30027
2ab6e591cf72
Add network listen functions that accept a family argument (AF_INET(6?)).
Paul Aurich <darkrain42@pidgin.im>
parents:
29960
diff
changeset
|
328 | |
|
10622
8faf2d7a4afe
[gaim-migrate @ 12091]
Luke Schierer <lschiere@pidgin.im>
parents:
10620
diff
changeset
|
329 | dnl to prevent the g_stat()/g_unlink() crash, |
|
8faf2d7a4afe
[gaim-migrate @ 12091]
Luke Schierer <lschiere@pidgin.im>
parents:
10620
diff
changeset
|
330 | 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
|
331 | AC_SYS_LARGEFILE |
|
8faf2d7a4afe
[gaim-migrate @ 12091]
Luke Schierer <lschiere@pidgin.im>
parents:
10620
diff
changeset
|
332 | |
|
12038
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
333 | dnl FreeBSD doesn't have libdl, dlopen is provided by libc |
|
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
334 | 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
|
335 | |
|
32770
d7f8a016cb22
rekkanoryo pointed out that this error message is for a different
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32750
diff
changeset
|
336 | 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
|
337 | dnl of the C library |
|
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
338 | 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
|
339 | 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
|
340 | ]) |
|
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
341 | |
|
33674
bdf9bd73a37d
These parentheses should be quoted.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33673
diff
changeset
|
342 | 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
|
343 | 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
|
344 | #include <stdio.h> |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
345 | |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
346 | 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
|
347 | { |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
348 | int fd; |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
349 | |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
350 | fd = fileno(stdout); |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
351 | |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
352 | return !(fd > 0); |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
353 | } |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
354 | ]])], [ |
|
21421
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
355 | 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
|
356 | 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
|
357 | [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
|
358 | ], [ |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
359 | 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
|
360 | ], [ |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
361 | # 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
|
362 | # 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
|
363 | 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
|
364 | ]) |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
365 | |
|
33674
bdf9bd73a37d
These parentheses should be quoted.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33673
diff
changeset
|
366 | 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
|
367 | AC_RUN_IFELSE([AC_LANG_SOURCE([[ |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
368 | #include <time.h> |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
369 | #include <stdio.h> |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
370 | |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
371 | int main() |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
372 | { |
|
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
|
373 | char buf[64]; |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
374 | time_t t = time(NULL); |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
375 | |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
376 | if (strftime(buf, sizeof(buf), "%z", localtime(&t)) != 5) |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
377 | return 1; |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
378 | |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
379 | fprintf(stderr, "strftime(\"%%z\") yields: \"%s\"\n", buf); |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
380 | |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
381 | return !((buf[0] == '-' || buf[0] == '+') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
382 | (buf[1] >= '0' && buf[1] <= '9') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
383 | (buf[2] >= '0' && buf[2] <= '9') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
384 | (buf[3] >= '0' && buf[3] <= '9') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
385 | (buf[4] >= '0' && buf[4] <= '9') |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
386 | ); |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
387 | } |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
388 | ]])], [ |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
389 | AC_MSG_RESULT(yes) |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
390 | AC_DEFINE([HAVE_STRFTIME_Z_FORMAT], [1], |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
391 | [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
|
392 | ], [ |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
393 | AC_MSG_RESULT(no) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
394 | ], [ |
|
13226
92b014d46d83
[gaim-migrate @ 15589]
Richard Laager <rlaager@pidgin.im>
parents:
13217
diff
changeset
|
395 | # Fallback for Cross Compiling... |
|
92b014d46d83
[gaim-migrate @ 15589]
Richard Laager <rlaager@pidgin.im>
parents:
13217
diff
changeset
|
396 | # This will enable the compatibility code. |
|
92b014d46d83
[gaim-migrate @ 15589]
Richard Laager <rlaager@pidgin.im>
parents:
13217
diff
changeset
|
397 | 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
|
398 | ]) |
|
11949
ee1bbb072d4a
[gaim-migrate @ 14240]
Christopher O'Brien <siege@pidgin.im>
parents:
11945
diff
changeset
|
399 | |
|
31516
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
400 | # 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
|
401 | 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
|
402 | darwin*) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
403 | 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
|
404 | 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
|
405 | 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
|
406 | 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
|
407 | ], []) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
408 | ], []) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
409 | |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
410 | 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
|
411 | 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
|
412 | 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
|
413 | 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
|
414 | 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
|
415 | else |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
416 | 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
|
417 | fi |
|
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 | ;; |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
421 | esac |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
422 | |
| 13720 | 423 | dnl ####################################################################### |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
424 | 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
|
425 | dnl ####################################################################### |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
426 | 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
|
427 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
428 | 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
|
429 | IT_PROG_INTLTOOL |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
430 | GETTEXT_PACKAGE=pidgin |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
431 | AC_SUBST(GETTEXT_PACKAGE) |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
432 | |
|
36340
2b41c6ce5c4f
Add a new Malay (Malaysia) translator
Richard Laager <rlaager@pidgin.im>
parents:
36335
diff
changeset
|
433 | 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
|
434 | AM_GLIB_GNU_GETTEXT |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
435 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
436 | 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
|
437 | dnl AM_GLIB_GNU_GETTEXT found it. |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
438 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
439 | 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
|
440 | then |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
441 | AC_MSG_ERROR([ |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
442 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
443 | 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
|
444 | 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
|
445 | GNU gettext to continue. |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
446 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
447 | 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
|
448 | 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
|
449 | 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
|
450 | 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
|
451 | configure again, like this: |
|
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 | MSGFMT=/path/to/msgfmt ./configure ... |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
454 | ]) |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
455 | fi |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
456 | fi #enable_i18n |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
457 | |
|
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
|
458 | 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
|
459 | |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
460 | dnl ####################################################################### |
|
38586
ef473e04f524
Bump GLib dependency to 2.40
Mike Ruprecht <cmaiku@gmail.com>
parents:
38579
diff
changeset
|
461 | dnl # Check for GLib 2.40 (required) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
462 | dnl ####################################################################### |
|
38586
ef473e04f524
Bump GLib dependency to 2.40
Mike Ruprecht <cmaiku@gmail.com>
parents:
38579
diff
changeset
|
463 | PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.40.0 gio-2.0 gobject-2.0 gthread-2.0], , [ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
464 | AC_MSG_RESULT(no) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
465 | AC_MSG_ERROR([ |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
466 | |
|
38586
ef473e04f524
Bump GLib dependency to 2.40
Mike Ruprecht <cmaiku@gmail.com>
parents:
38579
diff
changeset
|
467 | You must have GLib 2.40.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
|
468 | |
|
2ac5912cbeb6
Add a note about pkg-config to configure.ac if glib2 headers were not
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21600
diff
changeset
|
469 | 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
|
470 | I can find them. |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
471 | ])]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
472 | AC_SUBST(GLIB_CFLAGS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
473 | AC_SUBST(GLIB_LIBS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
474 | |
|
37485
778662f494ee
Use $PKG_CONFIG instead of assuming that pkg-config is the right one
Gary Kramlich <grim@reaperworld.com>
parents:
37466
diff
changeset
|
475 | 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
|
476 | 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
|
477 | |
|
37485
778662f494ee
Use $PKG_CONFIG instead of assuming that pkg-config is the right one
Gary Kramlich <grim@reaperworld.com>
parents:
37466
diff
changeset
|
478 | 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
|
479 | 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
|
480 | |
|
38376
d27109ba6626
Move gtkdebug.html into a GResource.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38347
diff
changeset
|
481 | AC_PATH_PROG(GLIB_COMPILE_RESOURCES, [glib-compile-resources]) |
|
d27109ba6626
Move gtkdebug.html into a GResource.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38347
diff
changeset
|
482 | |
|
37593
17c34d87c5b3
Initial conversion to gtester
Gary Kramlich <grim@reaperworld.com>
parents:
37566
diff
changeset
|
483 | AC_PATH_PROG(GTESTER, gtester) |
|
17c34d87c5b3
Initial conversion to gtester
Gary Kramlich <grim@reaperworld.com>
parents:
37566
diff
changeset
|
484 | GLIB_TESTS |
|
17c34d87c5b3
Initial conversion to gtester
Gary Kramlich <grim@reaperworld.com>
parents:
37566
diff
changeset
|
485 | |
|
21106
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
486 | 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
|
487 | 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
|
488 | [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
|
489 | 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
|
490 | |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
491 | 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
|
492 | 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
|
493 | else |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
494 | 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
|
495 | fi |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
496 | |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
497 | 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
|
498 | [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
|
499 | 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
|
500 | |
|
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
|
501 | AC_ARG_WITH(x, [], |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
502 | 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
|
503 | AC_ARG_ENABLE(gtkui, [AS_HELP_STRING([--disable-gtkui], |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
504 | [compile without GTK+ user interface])], |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
505 | 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
|
506 | AC_ARG_ENABLE(consoleui, [AS_HELP_STRING([--disable-consoleui], |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
507 | [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
|
508 | [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
|
509 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
510 | dnl ####################################################################### |
|
33682
cb3c2ebadbf1
When building with gtk 2, require at least 2.18.0
Mark Doliner <mark@kingant.net>
parents:
33672
diff
changeset
|
511 | 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
|
512 | dnl ####################################################################### |
|
35911
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
513 | AC_ARG_ENABLE(enchant, |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
514 | [AS_HELP_STRING([--disable-enchant], |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
515 | [compile without Enchant spell checking support])], |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
516 | enable_enchant="$enableval", enable_enchant="yes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
517 | 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
|
518 | [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
|
519 | [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
|
520 | enable_gevolution="$enableval", enable_gevolution="no") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
521 | 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
|
522 | [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
|
523 | [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
|
524 | 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
|
525 | 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
|
526 | [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
|
527 | [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
|
528 | 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
|
529 | 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
|
530 | [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
|
531 | [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
|
532 | enable_gcr="$enableval", enable_gcr="no") |
|
14621
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
533 | |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
534 | AC_PATH_XTRA |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
535 | # 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
|
536 | # 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
|
537 | # Ditto for $x_includes |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
538 | 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
|
539 | x_libpath_add= |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
540 | else |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
541 | x_libpath_add="-L$x_libraries" |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
542 | fi |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
543 | 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
|
544 | x_incpath_add= |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
545 | else |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
546 | x_incpath_add="-I$x_includes" |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
547 | fi |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
548 | |
|
37422
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
549 | dnl ####################################################################### |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
550 | dnl Check Pidgin dependencies |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
551 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
552 | 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
|
553 | PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= 3.4.2], , [ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
554 | AC_MSG_RESULT(no) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
555 | AC_MSG_ERROR([ |
|
38006
98fc851b9c99
Fix configure error message.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37991
diff
changeset
|
556 | 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
|
557 | 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
|
558 | running configure. |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
559 | ])]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
560 | AC_SUBST(GTK_CFLAGS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
561 | AC_SUBST(GTK_LIBS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
562 | |
|
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
|
563 | 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
|
564 | 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
|
565 | 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
|
566 | |
|
35193
11152544c1e0
webkit_web_inspector_inspect_node requires webkit 1.3.7
Ankit Vani <a@nevitus.org>
parents:
35192
diff
changeset
|
567 | WEBKIT_VERSION=1.3.7 |
|
37932
81b06ce81755
Remove more GTK+2 compatibility.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37931
diff
changeset
|
568 | 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
|
569 | AC_MSG_RESULT(no) |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
570 | 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
|
571 | 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
|
572 | 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
|
573 | --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
|
574 | ])]) |
|
9436e345acf9
WebKit is only required when building Pidgin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32507
diff
changeset
|
575 | AC_SUBST(WEBKIT_CFLAGS) |
|
9436e345acf9
WebKit is only required when building Pidgin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32507
diff
changeset
|
576 | AC_SUBST(WEBKIT_LIBS) |
|
9436e345acf9
WebKit is only required when building Pidgin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32507
diff
changeset
|
577 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
578 | dnl ####################################################################### |
|
35911
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
579 | dnl # Check if we should compile with enchant support |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
580 | dnl ####################################################################### |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
581 | dnl We need enchant for spell checking dictionary enumeration, |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
582 | dnl because webkit1 doesn't have this. |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
583 | use_enchant=no |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
584 | if test "x$enable_enchant" = "xyes" ; then |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
585 | use_enchant=yes |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
586 | PKG_CHECK_MODULES(ENCHANT, enchant, , [ |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
587 | AC_MSG_RESULT(no) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
588 | use_enchant=no |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
589 | ]) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
590 | 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
|
591 | AC_MSG_ERROR([ |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
592 | Enchant development headers not found. |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
593 | Use --disable-enchant if you do not need it. |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
594 | ]) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
595 | fi |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
596 | if test "x$use_enchant" = "xyes" ; then |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
597 | 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
|
598 | AC_SUBST(ENCHANT_CFLAGS) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
599 | AC_SUBST(ENCHANT_LIBS) |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
600 | fi |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
601 | fi |
|
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
602 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
603 | 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
|
604 | 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
|
605 | 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
|
606 | 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
|
607 | 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
|
608 | [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
|
609 | [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
|
610 | 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
|
611 | 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
|
612 | 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
|
613 | else |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
614 | 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
|
615 | 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
|
616 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
617 | 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
|
618 | 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
|
619 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
620 | fi |
|
20069
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
621 | fi |
|
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
622 | ]) |
|
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
|
623 | 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
|
624 | 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
|
625 | else |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
626 | 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
|
627 | fi |
|
20069
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
628 | |
|
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 | 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
|
630 | 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
|
631 | 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
|
632 | 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
|
633 | 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
|
634 | enable_gestures=no |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
635 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
636 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
637 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
638 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
639 | dnl # Check for stuff needed by the Evolution integration plugin. |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
640 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
641 | 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
|
642 | 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
|
643 | PKG_CHECK_MODULES(EVOLUTION_ADDRESSBOOK, $evo_deps, , [ |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
644 | enable_gevolution="no" |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
645 | ]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
646 | if test "x$enable_gevolution" = "xyes"; then |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
647 | 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
|
648 | AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
649 | 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
|
650 | else |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
651 | 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
|
652 | AC_MSG_ERROR([ |
| 35578 | 653 | 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
|
654 | 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
|
655 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
656 | fi |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
657 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
658 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
659 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
660 | dnl ####################################################################### |
|
14573
7e18a0a07718
[gaim-migrate @ 17231]
Geoff Foster <g-off_@users.sourceforge.net>
parents:
14539
diff
changeset
|
661 | dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
662 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
663 | if test "x$enable_cap" = "xyes"; then |
|
14733
7e2a1598624d
[gaim-migrate @ 17417]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14666
diff
changeset
|
664 | 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
|
665 | 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
|
666 | 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
|
667 | 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
|
668 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
669 | 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
|
670 | 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
|
671 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
672 | fi]) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
673 | fi |
|
32771
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
674 | |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
675 | dnl ####################################################################### |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
676 | 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
|
677 | dnl ####################################################################### |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
678 | if test "x$enable_gcr" = "xyes"; then |
|
37422
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
679 | PKG_CHECK_MODULES(GCR, gcr-3, [ |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
680 | 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
|
681 | AC_MSG_RESULT(no) |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
682 | enable_gcr="no" |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
683 | if test "x$force_deps" = "xyes" ; then |
|
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
684 | 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
|
685 | 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
|
686 | 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
|
687 | ]) |
|
37422
07dcc28b6039
Remove support for GTK+2
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37421
diff
changeset
|
688 | fi]) |
|
32771
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
689 | fi |
|
681ca041d42b
Optionally show certificates using GCR's widgets. These are much
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32770
diff
changeset
|
690 | |
|
14504
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 | 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
|
693 | enable_gcr=no |
|
14733
7e2a1598624d
[gaim-migrate @ 17417]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14666
diff
changeset
|
694 | enable_cap=no |
|
7e2a1598624d
[gaim-migrate @ 17417]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14666
diff
changeset
|
695 | enable_gevolution=no |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
696 | fi # GTK |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
697 | |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
698 | AM_CONDITIONAL(ENABLE_GTK, test "x$enable_gtkui" = "xyes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
699 | AM_CONDITIONAL(BUILD_GEVOLUTION, test "x$enable_gevolution" = "xyes") |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
700 | 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
|
701 | 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
|
702 | 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
|
703 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
704 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
705 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
706 | 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
|
707 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
708 | GNT_LIBS="" |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
709 | 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
|
710 | 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
|
711 | [compile finch against the ncurses includes in DIR])], |
|
15312
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
712 | [ac_ncurses_includes="$withval"], [ac_ncurses_includes=""]) |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
713 | if test "x$enable_consoleui" = "xyes"; then |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
714 | 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
|
715 | 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
|
716 | [enable_consoleui=no], [$GNT_LIBS]) |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
717 | |
|
35877
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
718 | if test "x$is_win32" = "xyes" ; then |
|
36036
40aa2248e2a0
Fix ncurses detection for Fedora
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36033
diff
changeset
|
719 | ncurses_sys_prefix="/usr/$host/sys-root/mingw" |
|
35877
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
720 | else |
|
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
721 | ncurses_sys_prefix="/usr" |
|
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
722 | fi |
|
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
723 | |
|
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
724 | 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
|
725 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
726 | if test "x$enable_consoleui" = "xyes"; then |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
727 | 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
|
728 | found_ncurses_h=no |
|
35877
6c3ab2fd4412
cross-win32: fix finch build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35873
diff
changeset
|
729 | 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
|
730 | do |
|
15312
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
731 | f="$location/ncurses.h" |
|
30498
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
732 | orig_CFLAGS="$CFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
733 | orig_CPPFLAGS="$CPPFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
734 | CFLAGS="$CFLAGS -I$location" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
735 | CPPFLAGS="$CPPFLAGS -I$location" |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
736 | AC_CHECK_HEADER($f,[ |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
737 | 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
|
738 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
739 | #define _XOPEN_SOURCE_EXTENDED |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
740 | #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
|
741 | ]], [[ |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
742 | #ifndef get_wch |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
743 | # error get_wch not found! |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
744 | #endif |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
745 | ]])], [ |
|
15332
91c86b5315fb
[gaim-migrate @ 18060]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15312
diff
changeset
|
746 | dir=$location |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
747 | if test x"$dir" != x"." ; then |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
748 | GNT_CFLAGS="-I$dir/" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
749 | else |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
750 | GNT_CFLAGS="" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
751 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
752 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
753 | found_ncurses_h=yes |
|
30498
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
754 | CFLAGS="$orig_CFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
755 | CPPFLAGS="$orig_CPPFLAGS" |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
756 | AC_MSG_RESULT([yes]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
757 | break |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
758 | ], [ |
|
30498
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
759 | CFLAGS="$orig_CFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
760 | CPPFLAGS="$orig_CPPFLAGS" |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
761 | AC_MSG_RESULT([no]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
762 | ]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
763 | ]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
764 | done |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
765 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
766 | if test x"$found_ncurses_h" = x"no" ; then |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
767 | GNT_LIBS="" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
768 | GNT_CFLAGS="" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
769 | enable_consoleui=no |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
770 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
771 | else |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
772 | # ncursesw was not found. Look for plain old ncurses |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
773 | enable_consoleui=yes |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
774 | 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
|
775 | 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
|
776 | [enable_consoleui=no], [$GNT_LIBS]) |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
777 | 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
|
778 | if test x"$ac_ncurses_includes" != "x"; then |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
779 | GNT_CFLAGS="-I$ac_ncurses_includes" |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
780 | else |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
781 | if test x"$NCURSES_HEADERS" != "x"; then |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
782 | GNT_CFLAGS="-I$NCURSES_HEADERS" |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
783 | fi |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
784 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
785 | fi |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
786 | fi |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
787 | |
|
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
|
788 | 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
|
789 | 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
|
790 | |
|
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
|
791 | 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
|
792 | |
|
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
|
793 | ]) |
|
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
|
794 | 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
|
795 | |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
796 | AC_SUBST(GNT_LIBS) |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
797 | AC_SUBST(GNT_CFLAGS) |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
798 | AM_CONDITIONAL(ENABLE_GNT, test "x$enable_consoleui" = "xyes") |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
799 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
800 | #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
|
801 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
802 | dnl ####################################################################### |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
803 | dnl # Check for LibXML2 (required) |
| 13720 | 804 | dnl ####################################################################### |
|
14621
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
805 | PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.6.0], , [ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
806 | AC_MSG_RESULT(no) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
807 | AC_MSG_ERROR([ |
|
16247
f9e1e46abbae
Deal with Gaim in some error messages.
Richard Laager <rlaager@pidgin.im>
parents:
16206
diff
changeset
|
808 | 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
|
809 | ])]) |
|
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
|
810 | 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
|
811 | 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
|
812 | 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
|
813 | ])]) |
|
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
|
814 | |
| 13808 | 815 | AC_SUBST(LIBXML_CFLAGS) |
| 816 | AC_SUBST(LIBXML_LIBS) | |
|
14498
ede839a78714
[gaim-migrate @ 17150]
Mark Doliner <markdoliner@pidgin.im>
parents:
14492
diff
changeset
|
817 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
818 | 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
|
819 | dnl # Check for JSON-GLib (required) |
| 14582 | 820 | dnl ####################################################################### |
|
33410
6cb7038d8172
New dependency: json-glib
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33377
diff
changeset
|
821 | |
|
35196
4e8497f23b7c
Revert changeset 2b3fba3cf555 (Reduce JSON-GLib requirement to 0.10)
Ankit Vani <a@nevitus.org>
parents:
35193
diff
changeset
|
822 | 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
|
823 | 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
|
824 | AC_MSG_ERROR([ |
|
35196
4e8497f23b7c
Revert changeset 2b3fba3cf555 (Reduce JSON-GLib requirement to 0.10)
Ankit Vani <a@nevitus.org>
parents:
35193
diff
changeset
|
825 | 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
|
826 | ])]) |
|
33410
6cb7038d8172
New dependency: json-glib
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33377
diff
changeset
|
827 | |
|
33461
7f67e9178ed9
Fix compilation from clean working directory
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33423
diff
changeset
|
828 | AC_SUBST(JSON_CFLAGS) |
|
7f67e9178ed9
Fix compilation from clean working directory
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33423
diff
changeset
|
829 | AC_SUBST(JSON_LIBS) |
|
7f67e9178ed9
Fix compilation from clean working directory
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33423
diff
changeset
|
830 | |
|
33410
6cb7038d8172
New dependency: json-glib
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33377
diff
changeset
|
831 | dnl ####################################################################### |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
832 | dnl # Check for GStreamer |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
833 | dnl ####################################################################### |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
834 | AC_ARG_ENABLE(gstreamer, |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
835 | [AS_HELP_STRING([--disable-gstreamer], [compile without GStreamer audio support])], |
| 14859 | 836 | 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
|
837 | |
|
37421
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
838 | if test x"$enable_gst" != "xno"; then |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
839 | PKG_CHECK_MODULES(GSTREAMER, [gstreamer-1.0], [ |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
840 | 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
|
841 | AC_SUBST(GSTREAMER_CFLAGS) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
842 | AC_SUBST(GSTREAMER_LIBS) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
843 | ], [ |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
844 | AC_MSG_RESULT(no) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
845 | enable_gst="no" |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
846 | if test "x$force_deps" = "xyes" ; then |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
847 | AC_MSG_ERROR([ |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
848 | GStreamer development headers not found. |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
849 | 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
|
850 | ]) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
851 | fi |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
852 | ]) |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
853 | fi |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
854 | |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
855 | dnl ####################################################################### |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
856 | dnl # Check for GStreamer Video |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
857 | dnl ####################################################################### |
|
37421
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
858 | 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
|
859 | AC_ARG_ENABLE(gstreamer-video, |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
860 | [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
|
861 | 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
|
862 | 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
|
863 | 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
|
864 | 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
|
865 | AC_SUBST(GSTVIDEO_CFLAGS) |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
866 | AC_SUBST(GSTVIDEO_LIBS) |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
867 | ], [ |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
868 | enable_gstvideo="no" |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
869 | ]) |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
870 | fi |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
871 | else |
|
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
872 | enable_gstvideo="no" |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
873 | fi |
| 13808 | 874 | |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
875 | dnl ####################################################################### |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
876 | dnl # Check for Farstream |
|
19881
d80b4d01457e
Add Farsight to configure.ac
Sean Egan <seanegan@pidgin.im>
parents:
19656
diff
changeset
|
877 | dnl ####################################################################### |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
878 | AC_ARG_ENABLE(farstream, |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
879 | [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
|
880 | enable_farstream="$enableval", enable_farstream="yes") |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
881 | 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
|
882 | 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
|
883 | AC_SUBST(FARSTREAM_CFLAGS) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
884 | AC_SUBST(FARSTREAM_LIBS) |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
885 | ], [ |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
886 | enable_farstream="no" |
|
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
887 | ]) |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
888 | fi |
|
19881
d80b4d01457e
Add Farsight to configure.ac
Sean Egan <seanegan@pidgin.im>
parents:
19656
diff
changeset
|
889 | |
|
22648
e286d795c5f9
Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22647
diff
changeset
|
890 | dnl ####################################################################### |
|
23703
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
891 | 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
|
892 | dnl ####################################################################### |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
893 | AC_ARG_ENABLE(vv, |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
894 | [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
|
895 | 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
|
896 | 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
|
897 | 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
|
898 | 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
|
899 | else |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
900 | 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
|
901 | 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
|
902 | AC_MSG_ERROR([ |
|
26714
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
903 | Dependencies for voice/video were not met. |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
904 | 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
|
905 | 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
|
906 | ]) |
|
69f29e0c8111
Abort build if we use --enable-vv, and vv-dependencies are not met.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26637
diff
changeset
|
907 | fi |
|
23703
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
908 | fi |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
909 | fi |
|
36316
2415067473ba
Support GStreamer 1.x and resync with trunk
David Woodhouse <David.Woodhouse@intel.com>
parents:
36276
diff
changeset
|
910 | 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
|
911 | |
|
29147
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
912 | dnl ####################################################################### |
|
36333
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
913 | 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
|
914 | dnl ####################################################################### |
|
37421
ee3bd4532a33
Remove support for GStreamer 0.10
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37417
diff
changeset
|
915 | 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
|
916 | 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
|
917 | 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
|
918 | AC_SUBST(GSTAPP_CFLAGS) |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
919 | AC_SUBST(GSTAPP_LIBS) |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
920 | 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
|
921 | ] , ) |
|
36333
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
922 | fi |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
923 | |
|
4fe1034f3dce
Add application media type and APIs
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
parents:
36324
diff
changeset
|
924 | dnl ####################################################################### |
|
29147
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
925 | dnl # Check for Internationalized Domain Name support |
|
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
926 | dnl ####################################################################### |
|
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
927 | |
|
27849
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
928 | 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
|
929 | [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
|
930 | [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
|
931 | 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
|
932 | 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
|
933 | 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
|
934 | 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
|
935 | 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
|
936 | ], [ |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
937 | 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
|
938 | 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
|
939 | 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
|
940 | AC_MSG_ERROR([ |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
941 | 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
|
942 | 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
|
943 | ]) |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
944 | fi |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
945 | ]) |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
946 | fi |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
947 | |
|
19881
d80b4d01457e
Add Farsight to configure.ac
Sean Egan <seanegan@pidgin.im>
parents:
19656
diff
changeset
|
948 | dnl ####################################################################### |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
949 | dnl # Check for Meanwhile headers (for Sametime) |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
950 | dnl ####################################################################### |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
951 | 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
|
952 | [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
|
953 | [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
|
954 | 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
|
955 | 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
|
956 | 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
|
957 | have_meanwhile="yes" |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
958 | ], [ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
959 | 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
|
960 | 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
|
961 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
962 | 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
|
963 | 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
|
964 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
965 | fi]) |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
966 | fi |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
967 | AC_SUBST(MEANWHILE_CFLAGS) |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
968 | AC_SUBST(MEANWHILE_LIBS) |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
969 | |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
970 | 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
|
971 | 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
|
972 | dnl ####################################################################### |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
973 | 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
|
974 | [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
|
975 | [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
|
976 | enable_avahi="$enableval", enable_avahi="yes") |
|
28302
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
977 | |
|
35885
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
978 | 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
|
979 | avahiincludes="yes" |
|
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
980 | avahilibs="yes" |
|
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
981 | 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
|
982 | 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
|
983 | 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
|
984 | AVAHI_CFLAGS="" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
985 | 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
|
986 | |
|
28302
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
987 | dnl Attempt to autodetect Avahi |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
988 | PKG_CHECK_MODULES(AVAHI, [avahi-client avahi-glib], [ |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
989 | avahiincludes="yes" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
990 | avahilibs="yes" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
991 | ], [ |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
992 | avahiincludes="no" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
993 | avahilibs="no" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
994 | ]) |
|
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
|
995 | |
|
28302
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
996 | 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
|
997 | if test "$ac_avahi_client_includes" != "no"; then |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
998 | AVAHI_CFLAGS="-I$ac_avahi_client_includes" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
999 | fi |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1000 | CPPFLAGS_save="$CPPFLAGS" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1001 | CPPFLAGS="$CPPFLAGS $AVAHI_CFLAGS" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1002 | 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
|
1003 | CPPFLAGS="$CPPFLAGS $AVAHI_CFLAGS $GLIB_CFLAGS" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1004 | 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
|
1005 | CPPFLAGS="$CPPFLAGS_save" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1006 | |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1007 | 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
|
1008 | if test "$ac_avahi_client_libs" != "no"; then |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1009 | 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
|
1010 | fi |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
1011 | 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
|
1012 | 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
|
1013 | |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
1014 | 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
|
1015 | enable_avahi="no" |
|
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
1016 | 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
|
1017 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1018 | 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
|
1019 | 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
|
1020 | ]) |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
1021 | fi |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1022 | 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
|
1023 | 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
|
1024 | 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
|
1025 | |
|
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
|
1026 | |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1027 | dnl ####################################################################### |
|
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1028 | dnl # Check for SILC client includes and libraries |
|
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1029 | dnl ####################################################################### |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1030 | 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
|
1031 | 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 | 1032 | SILC_CFLAGS="" |
| 8850 | 1033 | 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
|
1034 | have_silc="no" |
| 9905 | 1035 | if test -n "$with_silc_includes" || test -n "$with_silc_libs"; then |
| 1036 | silc_manual_check="yes" | |
| 1037 | else | |
| 1038 | silc_manual_check="no" | |
| 8850 | 1039 | fi |
| 9905 | 1040 | 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
|
1041 | PKG_CHECK_MODULES(SILC, [silcclient >= 1.1], [ |
| 9905 | 1042 | have_silc="yes" |
| 1043 | silcincludes="yes" | |
| 1044 | silcclient="yes" | |
|
13171
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1045 | ], [ |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1046 | have_silc="no" |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1047 | ]) |
| 9905 | 1048 | else |
| 1049 | if test "$ac_silc_includes" != "no"; then | |
| 1050 | SILC_CFLAGS="-I$ac_silc_includes" | |
| 1051 | fi | |
| 1052 | CPPFLAGS_save="$CPPFLAGS" | |
| 1053 | 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
|
1054 | AC_CHECK_HEADER(silc.h, [silcincludes=yes]) |
| 9905 | 1055 | CPPFLAGS="$CPPFLAGS_save" |
| 1056 | ||
| 1057 | if test "$ac_silc_libs" != "no"; then | |
| 1058 | SILC_LIBS="-L$ac_silc_libs" | |
| 1059 | fi | |
|
12038
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
1060 | SILC_LIBS="$SILC_LIBS -lsilc -lsilcclient -lpthread $LIBDL" |
| 9905 | 1061 | 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
|
1062 | |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1063 | 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
|
1064 | 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
|
1065 | fi |
| 9905 | 1066 | fi |
| 8850 | 1067 | AC_SUBST(SILC_LIBS) |
| 9905 | 1068 | AC_SUBST(SILC_CFLAGS) |
|
12217
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1069 | dnl SILC Toolkit >= 1.0.1 has a new MIME API |
|
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1070 | 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
|
1071 | 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
|
1072 | fi |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1073 | |
| 13318 | 1074 | dnl ####################################################################### |
|
36118
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1075 | dnl # Check for Gadu-Gadu protocol library (libgadu) |
| 13318 | 1076 | dnl ####################################################################### |
|
38067
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1077 | AC_ARG_ENABLE(libgadu, |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1078 | [AS_HELP_STRING([--disable-libgadu], |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1079 | [compile without libgadu (required for GaduGadu support)])], |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1080 | enable_libgadu="$enableval", enable_libgadu="yes") |
| 13318 | 1081 | |
|
38067
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1082 | if test "x$enable_libgadu" = "xyes"; then |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1083 | PKG_CHECK_MODULES(LIBGADU, [libgadu >= 1.12.0], [ |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1084 | have_libgadu=yes |
|
38347
1d70f77644ca
configure.ac: Don't link libgadu to everything
Mike Ruprecht <cmaiku@gmail.com>
parents:
38243
diff
changeset
|
1085 | AC_CHECK_LIB(gadu, gg_is_gpl_compliant, [ ], [ |
|
38067
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1086 | LIBGADU_LIBS="" |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1087 | LIBGADU_CFLAGS="" |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1088 | have_libgadu=no |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1089 | if test "x$force_deps" = "xyes" ; then |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1090 | AC_MSG_WARN([ |
|
36118
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1091 | 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
|
1092 | |
|
38068
fd6805c0df15
configure.ac: Update libgadu GPL warning now that it's not internal
Mike Ruprecht <cmaiku@gmail.com>
parents:
38067
diff
changeset
|
1093 | To link against libgadu, please recompile it using: |
|
36118
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1094 | ./configure --with-openssl=no |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1095 | Then rerun this ./configure |
|
38067
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1096 | ]) |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1097 | fi |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1098 | ], [$LIBGADU_LIBS]) |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1099 | ], [ |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1100 | have_libgadu=no |
| 13318 | 1101 | ]) |
|
36120
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1102 | |
|
38067
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1103 | if test "x$have_libgadu" != "xyes" -a "x$force_deps" = "xyes" ; then |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1104 | AC_MSG_ERROR([ |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1105 | Libgadu development headers not found. |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1106 | Use --disable-libgadu if you do not need GG (GaduGadu) support. |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1107 | ]) |
|
36120
99a1117a296f
Gadu-Gadu: revert things accidentally removed, fix build
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36118
diff
changeset
|
1108 | fi |
|
35617
c9069e0e3c36
Update internal libgadu to 1.12.0-rc2
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35562
diff
changeset
|
1109 | fi |
|
14662
ffa7b2f70a37
[gaim-migrate @ 17327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14647
diff
changeset
|
1110 | |
|
36118
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1111 | AC_SUBST(LIBGADU_LIBS) |
|
f1c54a78d896
Better check for libgadu GPL compliance, some tidying up
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
36117
diff
changeset
|
1112 | 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
|
1113 | |
| 13318 | 1114 | |
| 8031 | 1115 | 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
|
1116 | 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 | 1117 | if test "x$STATIC_PRPLS" != "x" -a "x$DYNAMIC_PRPLS" = "xall"; then |
| 1118 | DYNAMIC_PRPLS="" | |
| 1119 | fi | |
| 1120 | ||
| 2129 | 1121 | if test "x$STATIC_PRPLS" = "xall" ; then |
|
38243
6230261df73c
Undelete some facebook things
Gary Kramlich <grim@reaperworld.com>
parents:
38242
diff
changeset
|
1122 | STATIC_PRPLS="bonjour facebook gg irc jabber novell oscar sametime silc simple zephyr" |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1123 | fi |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1124 | if test "x$have_meanwhile" != "xyes" ; then |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1125 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/sametime//'` |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1126 | 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
|
1127 | 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
|
1128 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/bonjour//'` |
| 2129 | 1129 | fi |
| 8852 | 1130 | if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then |
| 32205 | 1131 | 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
|
1132 | fi |
|
38067
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1133 | if test "x$have_libgadu" != "xyes" ; then |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1134 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/gg//'` |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1135 | fi |
|
35854
ed4fd1030878
cross-win32: fix libpurple code warnings and errors
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35852
diff
changeset
|
1136 | 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
|
1137 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/zephyr//'` |
| 8852 | 1138 | fi |
| 2129 | 1139 | AC_SUBST(STATIC_PRPLS) |
| 1140 | 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
|
1141 | extern_load= |
| 2129 | 1142 | 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
|
1143 | 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
|
1144 | unload_proto= |
| 2129 | 1145 | 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
|
1146 | 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
|
1147 | 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
|
1148 | 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
|
1149 | else |
|
36671
e94d995eaeeb
Removed the ugly special cases for oscar and yahoo from configure.ac
Ankit Vani <a@nevitus.org>
parents:
36641
diff
changeset
|
1150 | 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
|
1151 | fi |
|
36671
e94d995eaeeb
Removed the ugly special cases for oscar and yahoo from configure.ac
Ankit Vani <a@nevitus.org>
parents:
36641
diff
changeset
|
1152 | 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
|
1153 | 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
|
1154 | 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
|
1155 | 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
|
1156 | |
| 2129 | 1157 | case $i in |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1158 | bonjour) static_bonjour=yes ;; |
|
37249
dfa58c08a4fd
facebook: initial protocol plugin
James Geboski <jgeboski@gmail.com>
parents:
37163
diff
changeset
|
1159 | facebook) static_facebook=yes ;; |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1160 | gg) static_gg=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1161 | irc) static_irc=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1162 | jabber) static_jabber=yes ;; |
| 8675 | 1163 | novell) static_novell=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1164 | oscar) static_oscar=yes ;; |
|
15478
e0dc5250f702
I think this is what was meant
Nathan Walp <nwalp@pidgin.im>
parents:
15471
diff
changeset
|
1165 | aim) static_oscar=yes ;; |
|
e0dc5250f702
I think this is what was meant
Nathan Walp <nwalp@pidgin.im>
parents:
15471
diff
changeset
|
1166 | icq) static_oscar=yes ;; |
|
10977
5802457af313
[gaim-migrate @ 12803]
Christopher O'Brien <siege@pidgin.im>
parents:
10975
diff
changeset
|
1167 | sametime) static_sametime=yes ;; |
| 8849 | 1168 | silc) static_silc=yes ;; |
|
11182
9cb28f52220f
[gaim-migrate @ 13294]
Mark Doliner <markdoliner@pidgin.im>
parents:
11181
diff
changeset
|
1169 | simple) static_simple=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1170 | 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
|
1171 | *) echo "Invalid static protocol $i!!" ; exit 1 ;; |
| 2129 | 1172 | esac |
| 1173 | 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
|
1174 | AM_CONDITIONAL(STATIC_BONJOUR, test "x$static_bonjour" = "xyes") |
|
37249
dfa58c08a4fd
facebook: initial protocol plugin
James Geboski <jgeboski@gmail.com>
parents:
37163
diff
changeset
|
1175 | AM_CONDITIONAL(STATIC_FACEBOOK, test "x$static_facebook" = "xyes") |
|
2393
cfef0212506b
[gaim-migrate @ 2406]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2330
diff
changeset
|
1176 | AM_CONDITIONAL(STATIC_GG, test "x$static_gg" = "xyes") |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1177 | AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1178 | AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") |
| 8675 | 1179 | AM_CONDITIONAL(STATIC_NOVELL, test "x$static_novell" = "xyes") |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1180 | AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1181 | 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
|
1182 | 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
|
1183 | AM_CONDITIONAL(STATIC_SIMPLE, test "x$static_simple" = "xyes") |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1184 | AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") |
| 2129 | 1185 | 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
|
1186 | 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
|
1187 | [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
|
1188 | 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
|
1189 | [Unloads protocols from static protocol plugin modules.]) |
| 2129 | 1190 | |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1191 | 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 | 1192 | if test "x$DYNAMIC_PRPLS" = "xall" ; then |
|
38243
6230261df73c
Undelete some facebook things
Gary Kramlich <grim@reaperworld.com>
parents:
38242
diff
changeset
|
1193 | DYNAMIC_PRPLS="bonjour facebook gg irc jabber novell oscar sametime silc simple zephyr" |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1194 | fi |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1195 | if test "x$have_meanwhile" != "xyes"; then |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1196 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/sametime//'` |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1197 | 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
|
1198 | 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
|
1199 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'` |
| 7373 | 1200 | fi |
| 8852 | 1201 | if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then |
| 32205 | 1202 | 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
|
1203 | fi |
|
38067
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1204 | if test "x$have_libgadu" != "xyes"; then |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1205 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/gg//'` |
|
3c2c551feeb9
gg: Remove internal libgadu in favor of always using an external one
Mike Ruprecht <cmaiku@gmail.com>
parents:
38065
diff
changeset
|
1206 | fi |
|
35854
ed4fd1030878
cross-win32: fix libpurple code warnings and errors
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35852
diff
changeset
|
1207 | 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
|
1208 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/zephyr//'` |
| 8852 | 1209 | fi |
| 7373 | 1210 | AC_SUBST(DYNAMIC_PRPLS) |
| 1211 | for i in $DYNAMIC_PRPLS ; do | |
| 1212 | case $i in | |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1213 | bonjour) dynamic_bonjour=yes ;; |
|
37249
dfa58c08a4fd
facebook: initial protocol plugin
James Geboski <jgeboski@gmail.com>
parents:
37163
diff
changeset
|
1214 | facebook) dynamic_facebook=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1215 | gg) dynamic_gg=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1216 | irc) dynamic_irc=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1217 | jabber) dynamic_jabber=yes ;; |
| 8675 | 1218 | novell) dynamic_novell=yes ;; |
|
25003
4094ff8a95c7
The DYNAMIC_protocol defines aren't used anywhere.
Richard Laager <rlaager@pidgin.im>
parents:
24689
diff
changeset
|
1219 | null) dynamic_null=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1220 | 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
|
1221 | 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
|
1222 | icq) dynamic_oscar=yes ;; |
|
10977
5802457af313
[gaim-migrate @ 12803]
Christopher O'Brien <siege@pidgin.im>
parents:
10975
diff
changeset
|
1223 | sametime) dynamic_sametime=yes ;; |
| 8849 | 1224 | silc) dynamic_silc=yes ;; |
|
11181
e872a55b9524
[gaim-migrate @ 13292]
Thomas Butter <tbutter@users.sourceforge.net>
parents:
11171
diff
changeset
|
1225 | simple) dynamic_simple=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1226 | 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
|
1227 | *) echo "Invalid dynamic protocol $i!!" ; exit 1 ;; |
| 7373 | 1228 | esac |
| 1229 | done | |
| 1230 | ||
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1231 | 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
|
1232 | 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
|
1233 | AC_ARG_WITH(zephyr, [AS_HELP_STRING([--with-zephyr=PREFIX], [compile Zephyr plugin against external libzephyr])], zephyr="$withval", zephyr="no") |
| 8849 | 1234 | AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno") |
| 2129 | 1235 | |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
1236 | AC_CHECK_HEADERS(sys/utsname.h) |
| 8849 | 1237 | AC_CHECK_FUNC(uname) |
| 8378 | 1238 | |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1239 | 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
|
1240 | |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
24512
diff
changeset
|
1241 | 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
|
1242 | if test "x$GCC" = "xyes"; then |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1243 | dnl We enable -Wall later. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1244 | 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
|
1245 | dnl This leads to warnings we don't want. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1246 | CFLAGS=`echo $CFLAGS |$sedpath 's/-Wall//'` |
|
12438
b993017e8f68
[gaim-migrate @ 14745]
Richard Laager <rlaager@pidgin.im>
parents:
12435
diff
changeset
|
1247 | |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1248 | dnl ENABLE WARNINGS SUPPORTED BY THE VERSION OF GCC IN USE |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1249 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1250 | dnl Future Possibilities |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1251 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1252 | dnl Consider adding -Wbad-function-cast. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1253 | 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
|
1254 | dnl We'd need an intermediate variable. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1255 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1256 | for newflag in \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1257 | "-Waggregate-return" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1258 | "-Wcast-align" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1259 | "-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
|
1260 | "-Wendif-labels" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1261 | "-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
|
1262 | "-Wextra -Wno-unused-parameter" \ |
|
38591
009919064199
configure.ac: Add -Wno-missing-field-initializers
Mike Ruprecht <cmaiku@gmail.com>
parents:
38586
diff
changeset
|
1263 | "-Wno-missing-field-initializers" \ |
|
25136
026dcbacb44e
Turn on -Wformat-security and make it an error with GCC 4.
Richard Laager <rlaager@pidgin.im>
parents:
24689
diff
changeset
|
1264 | "-Wformat-security" \ |
|
026dcbacb44e
Turn on -Wformat-security and make it an error with GCC 4.
Richard Laager <rlaager@pidgin.im>
parents:
24689
diff
changeset
|
1265 | "-Werror=format-security" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1266 | "-Winit-self" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1267 | "-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
|
1268 | "-Wmissing-noreturn" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1269 | "-Wmissing-prototypes" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1270 | "-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
|
1271 | "-Wfloat-equal" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1272 | "-Wundef" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1273 | ; do |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1274 | orig_CFLAGS="$CFLAGS" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1275 | CFLAGS="$CFLAGS $newflag" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1276 | 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
|
1277 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], [ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1278 | AC_MSG_RESULT(yes) |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1279 | CFLAGS="$orig_CFLAGS" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1280 | DEBUG_CFLAGS="$DEBUG_CFLAGS $newflag" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1281 | ], [ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1282 | AC_MSG_RESULT(no) |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1283 | CFLAGS="$orig_CFLAGS" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1284 | ]) |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1285 | done |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1286 | |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1287 | if test "x$enable_fortify" = "xyes"; then |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1288 | 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
|
1289 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <features.h>]], [[ |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1290 | #if !(__GNUC_PREREQ (4, 1) \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1291 | || (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (4, 0)) \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1292 | || (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (3, 4) \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1293 | && __GNUC_MINOR__ == 4 \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1294 | && (__GNUC_PATCHLEVEL__ > 2 \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1295 | || (__GNUC_PATCHLEVEL__ == 2 && __GNUC_RH_RELEASE__ >= 8)))) |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1296 | #error No FORTIFY_SOURCE support |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1297 | #endif |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1298 | 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
|
1299 | ]])], [ |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1300 | 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
|
1301 | DEBUG_CFLAGS="$DEBUG_CFLAGS -Wp,-D_FORTIFY_SOURCE=2" |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1302 | ], [ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1303 | AC_MSG_RESULT(no) |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1304 | ]) |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1305 | fi |
|
8525
9e4e0635fd3c
[gaim-migrate @ 9264]
Christian Hammond <chipx86@chipx86.com>
parents:
8485
diff
changeset
|
1306 | |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1307 | DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS" |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1308 | CFLAGS="-g $CFLAGS" |
| 7021 | 1309 | fi |
|
34114
c915903f6e43
Get rid of warnings
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34113
diff
changeset
|
1310 | 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
|
1311 | |
|
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
1312 | 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
|
1313 | CFLAGS="$CFLAGS -features=extensions" |
|
30263
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
1314 | fi |
|
6723
f62d96da133a
[gaim-migrate @ 7250]
Christian Hammond <chipx86@chipx86.com>
parents:
6722
diff
changeset
|
1315 | AC_SUBST(CFLAGS) |
|
f62d96da133a
[gaim-migrate @ 7250]
Christian Hammond <chipx86@chipx86.com>
parents:
6722
diff
changeset
|
1316 | |
|
15976
dbb3ea0b1f7c
Minor 'make dist' fix and check for installed versions of pidgin, not gaim
Mark Doliner <markdoliner@pidgin.im>
parents:
15966
diff
changeset
|
1317 | 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
|
1318 | |
|
35973
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1319 | 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
|
1320 | #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
|
1321 | #error |
|
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1322 | #endif |
|
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1323 | ])], 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
|
1324 | |
|
34463
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1325 | AC_ARG_ENABLE(clang-address-sanitizer, |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1326 | [AS_HELP_STRING([--enable-clang-address-sanitizer], |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1327 | [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
|
1328 | 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
|
1329 | |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1330 | 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
|
1331 | AC_MSG_ERROR([ |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1332 | 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
|
1333 | 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
|
1334 | ]) |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1335 | fi |
|
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1336 | |
|
35973
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1337 | if test "x$have_clang" = "xyes"; then |
|
34459
f269ff3e4830
Clang warnings: clean up pidgin
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34456
diff
changeset
|
1338 | 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
|
1339 | fi |
|
34460
cdc946c1f079
Clang: enable address sanitizer
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34459
diff
changeset
|
1340 | |
|
34463
2b0b1ca76960
Clang: make build with address sanitizer optional
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34462
diff
changeset
|
1341 | if test "x$enable_clang_address_sanitizer" = "xyes"; then |
|
34460
cdc946c1f079
Clang: enable address sanitizer
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34459
diff
changeset
|
1342 | 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
|
1343 | fi |
|
d69aa7d3530c
Clang warnings: gnutls, gnome keyring and G_GNUC_*_IGNORE_DEPRECATIONS
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
34455
diff
changeset
|
1344 | |
|
35633
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1345 | |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1346 | 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
|
1347 | if test "x$enable_glibtrace" = "xyes"; then |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1348 | if test "x$have_clang" = "xyes"; then |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1349 | 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
|
1350 | fi |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1351 | 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
|
1352 | dnl CFLAGS="$CFLAGS -rdynamic" |
|
e4618d775e0d
Add --enable-glib-errors-trace configure switch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35632
diff
changeset
|
1353 | 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
|
1354 | fi |
|
e9fc7d739621
Don't care about cast-align for 2.x.y on clang
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35641
diff
changeset
|
1355 | |
|
8665
03013bac18b9
[gaim-migrate @ 9417]
Christian Hammond <chipx86@chipx86.com>
parents:
8637
diff
changeset
|
1356 | dnl ####################################################################### |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
1357 | dnl # Check for D-Bus libraries |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1358 | dnl ####################################################################### |
|
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1359 | |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1360 | # 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
|
1361 | AC_ARG_ENABLE(dbus, |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1362 | [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
|
1363 | enable_dbus="$is_not_win32") |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1364 | |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1365 | if test "x$enable_dbus" = "xyes" ; then |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1366 | 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
|
1367 | fi |
|
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1368 | |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1369 | if test "x$enable_dbus" = "xyes" ; then |
|
22756
c075c698757b
Fix our D-Bus version requirement
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22755
diff
changeset
|
1370 | 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
|
1371 | AC_SUBST(DBUS_CFLAGS) |
|
11070
133af4fe08f9
[gaim-migrate @ 13069]
Richard Laager <rlaager@pidgin.im>
parents:
11067
diff
changeset
|
1372 | AC_SUBST(DBUS_LIBS) |
|
133af4fe08f9
[gaim-migrate @ 13069]
Richard Laager <rlaager@pidgin.im>
parents:
11067
diff
changeset
|
1373 | enable_dbus=yes |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
1374 | ], [ |
|
24252
a9e2f64c5287
Report dbus/nm availability correctly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
24244
diff
changeset
|
1375 | 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
|
1376 | 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
|
1377 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1378 | 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
|
1379 | 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
|
1380 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1381 | 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
|
1382 | fi |
| 14758 | 1383 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1384 | dnl ####################################################################### |
|
35122
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1385 | dnl # Check for Unity and Messaging Menu |
|
38531
0b7c991bc3e4
Clean up stuff from grim's review.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38507
diff
changeset
|
1386 | dnl # Remove when Ubuntu 16.04 is EOL |
|
35122
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1387 | dnl ####################################################################### |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1388 | AC_ARG_ENABLE(unity, [AC_HELP_STRING([--enable-unity], |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1389 | [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
|
1390 | if test "$enable_unity" = yes; then |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1391 | 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
|
1392 | AC_MSG_RESULT(no) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1393 | AC_MSG_ERROR([ |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1394 | 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
|
1395 | ])]) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1396 | USES_MM_CHAT_SECTION="X-MessagingMenu-UsesChatSection=true" |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1397 | AC_SUBST(UNITY_CFLAGS) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1398 | AC_SUBST(UNITY_LIBS) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1399 | AC_SUBST(USES_MM_CHAT_SECTION) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1400 | else |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1401 | enable_unity=no |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1402 | fi |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1403 | AM_CONDITIONAL(ENABLE_UNITY, [test "x$enable_unity" = "xyes"]) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1404 | |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1405 | dnl ####################################################################### |
|
34107
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1406 | dnl # Check for Secret Service headers |
|
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1407 | dnl ####################################################################### |
|
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1408 | |
|
38158
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1409 | AC_ARG_ENABLE(libsecret, |
|
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1410 | [AC_HELP_STRING([--disable-libsecret], [enable Secret Service support])], |
|
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1411 | enable_secret_service="$enableval", enable_secret_service="$is_not_win32") |
|
34107
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1412 | |
|
38152
4d812213b260
libsecret-keyring: Enable libsecret keyring plugin
Mike Ruprecht <cmaiku@gmail.com>
parents:
38013
diff
changeset
|
1413 | if test "x$enable_secret_service" = "xyes" ; then |
|
4d812213b260
libsecret-keyring: Enable libsecret keyring plugin
Mike Ruprecht <cmaiku@gmail.com>
parents:
38013
diff
changeset
|
1414 | PKG_CHECK_MODULES(SECRETSERVICE, [libsecret-1], [ |
|
4d812213b260
libsecret-keyring: Enable libsecret keyring plugin
Mike Ruprecht <cmaiku@gmail.com>
parents:
38013
diff
changeset
|
1415 | AC_SUBST(SECRETSERVICE_CFLAGS) |
|
4d812213b260
libsecret-keyring: Enable libsecret keyring plugin
Mike Ruprecht <cmaiku@gmail.com>
parents:
38013
diff
changeset
|
1416 | AC_SUBST(SECRETSERVICE_LIBS) |
|
4d812213b260
libsecret-keyring: Enable libsecret keyring plugin
Mike Ruprecht <cmaiku@gmail.com>
parents:
38013
diff
changeset
|
1417 | AC_DEFINE(HAVE_SECRETSERVICE, 1, [Define if we have Secret Service.]) |
|
38158
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1418 | ], [ |
|
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1419 | AC_MSG_RESULT(no) |
|
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1420 | enable_secret_service="no" |
|
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1421 | if test "x$force_deps" = "xyes" ; then |
|
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1422 | AC_MSG_ERROR([ |
|
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1423 | Libsecret development headers not found |
|
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1424 | Use --disable-libsecret if you do not need it. |
|
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1425 | ]) |
|
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1426 | fi |
|
38152
4d812213b260
libsecret-keyring: Enable libsecret keyring plugin
Mike Ruprecht <cmaiku@gmail.com>
parents:
38013
diff
changeset
|
1427 | ]) |
|
38158
20a8d238153c
configure.ac: Make Secret Service config work like Gnome Keyring
Mike Ruprecht <cmaiku@gmail.com>
parents:
38152
diff
changeset
|
1428 | |
|
38152
4d812213b260
libsecret-keyring: Enable libsecret keyring plugin
Mike Ruprecht <cmaiku@gmail.com>
parents:
38013
diff
changeset
|
1429 | fi |
|
34107
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1430 | |
|
38152
4d812213b260
libsecret-keyring: Enable libsecret keyring plugin
Mike Ruprecht <cmaiku@gmail.com>
parents:
38013
diff
changeset
|
1431 | AM_CONDITIONAL(ENABLE_SECRETSERVICE, test "x$enable_secret_service" = "xyes") |
|
34107
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1432 | |
|
efe6019c9e91
Add a Secret Service password plugin.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34106
diff
changeset
|
1433 | 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
|
1434 | 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
|
1435 | 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
|
1436 | |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1437 | AC_ARG_ENABLE(gnome-keyring, |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1438 | [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
|
1439 | 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
|
1440 | |
|
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
|
1441 | 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
|
1442 | 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
|
1443 | 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
|
1444 | 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
|
1445 | 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
|
1446 | ], [ |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1447 | 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
|
1448 | 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
|
1449 | 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
|
1450 | AC_MSG_ERROR([ |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1451 | 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
|
1452 | 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
|
1453 | ]) |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1454 | fi |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1455 | ]) |
|
11067
b6353889a9ba
[gaim-migrate @ 13048]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11055
diff
changeset
|
1456 | fi |
|
b6353889a9ba
[gaim-migrate @ 13048]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11055
diff
changeset
|
1457 | |
|
34000
2a6830e7ceb4
Corrected a typo in keyring.c
Vivien Bernet-Rollande <scrouaf@soc.pidgin.im>
parents:
33999
diff
changeset
|
1458 | 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
|
1459 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1460 | 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
|
1461 | 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
|
1462 | 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
|
1463 | |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1464 | AC_ARG_ENABLE(kwallet, |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1465 | [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
|
1466 | 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
|
1467 | 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
|
1468 | 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
|
1469 | |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1470 | 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
|
1471 | dnl Ensure C++ compiler works |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1472 | AC_CHECK_PROG(CXXTEST, [$CXX], [$CXX]) |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1473 | if test "x$CXXTEST" = "x"; then |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1474 | enable_kwallet=no |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1475 | 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
|
1476 | AC_MSG_ERROR([ |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1477 | A C++ compiler was not found. |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1478 | 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
|
1479 | ]) |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1480 | fi |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1481 | fi |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1482 | fi |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1483 | |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1484 | AC_LANG_PUSH([C++]) |
|
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1485 | CPPFLAGS_save="$CPPFLAGS" |
|
35932
1c082451371d
Fix kwallet build on Ubuntu 14.04
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35931
diff
changeset
|
1486 | LIBS_save="$LIBS" |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1487 | |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1488 | 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
|
1489 | 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
|
1490 | 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
|
1491 | 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
|
1492 | ], [ |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1493 | 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
|
1494 | enable_kwallet=no |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1495 | 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
|
1496 | AC_MSG_ERROR([ |
|
34078
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1497 | Qt4 development headers not found. |
|
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1498 | 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
|
1499 | ]) |
|
34230
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1500 | fi |
|
ca521393592e
Fix broken kwallet and gnome-keyring configure switches. Fixes #15678
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34208
diff
changeset
|
1501 | ]) |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1502 | fi |
|
34078
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1503 | |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1504 | 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
|
1505 | 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
|
1506 | 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
|
1507 | 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
|
1508 | 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
|
1509 | |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1510 | KWALLET_CXXFLAGS="" |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1511 | KWALLET_LIBS="" |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1512 | 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
|
1513 | 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
|
1514 | if test "x$KDE4_CONFIG" = "xno"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1515 | enable_kwallet=no |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1516 | if test "x$force_deps" = "xyes"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1517 | AC_MSG_ERROR([ |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1518 | kde4-config not found. $KDE4_CONFIG |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1519 | 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
|
1520 | 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
|
1521 | ]) |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1522 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1523 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1524 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1525 | 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
|
1526 | |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1527 | if test "x$enable_kwallet" = "xyes"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1528 | if test "$ac_kwallet_includes" != "no"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1529 | KWALLET_CXXFLAGS="-I$ac_kwallet_includes" |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1530 | elif test "x$KDE4_CONFIG" != "xno"; then |
| 35381 | 1531 | 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
|
1532 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1533 | CPPFLAGS="$CPPFLAGS $KWALLET_CXXFLAGS" |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1534 | AC_CHECK_HEADER([kwallet.h], , [ |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1535 | enable_kwallet=no |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1536 | if test "x$force_deps" = "xyes"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1537 | AC_MSG_ERROR([ |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1538 | KWallet development headers not found. |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1539 | 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
|
1540 | ]) |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1541 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1542 | ]) |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1543 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1544 | |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1545 | 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
|
1546 | 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
|
1547 | 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
|
1548 | 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
|
1549 | 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
|
1550 | 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
|
1551 | 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
|
1552 | 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
|
1553 | fi |
|
34078
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1554 | KWALLET_LIBS="$KWALLET_LIBS" |
|
35932
1c082451371d
Fix kwallet build on Ubuntu 14.04
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35931
diff
changeset
|
1555 | 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
|
1556 | 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
|
1557 | [KWallet::Wallet::LocalWallet();])], [AC_MSG_RESULT([yes])], |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1558 | [ |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1559 | AC_MSG_RESULT(no) |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1560 | enable_kwallet=no |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1561 | if test "x$force_deps" = "xyes"; then |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1562 | 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
|
1563 | 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
|
1564 | 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
|
1565 | ]) |
|
34278
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1566 | fi |
|
4992dd08f442
Fix KWallet autoconf checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34273
diff
changeset
|
1567 | ]) |
|
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
|
1568 | 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
|
1569 | |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1570 | CPPFLAGS="$CPPFLAGS_save" |
|
35932
1c082451371d
Fix kwallet build on Ubuntu 14.04
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35931
diff
changeset
|
1571 | LIBS="$LIBS_save" |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
1572 | 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
|
1573 | |
|
34078
0fcccd4487ff
Use pkg-config to find Qt4.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34059
diff
changeset
|
1574 | 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
|
1575 | 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
|
1576 | |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1577 | 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
|
1578 | |
|
a12d333f948d
Add KWallet autotools magic. It's a little annoying that KDE switched
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34058
diff
changeset
|
1579 | dnl ####################################################################### |
|
37152
b32b5689bbbf
Update GPlugin version requirement
Ankit Vani <a@nevitus.org>
parents:
37145
diff
changeset
|
1580 | 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
|
1581 | dnl ####################################################################### |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1582 | 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
|
1583 | 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
|
1584 | 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
|
1585 | 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
|
1586 | ], [ |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1587 | AC_MSG_RESULT(no) |
|
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1588 | AC_MSG_ERROR([ |
|
37152
b32b5689bbbf
Update GPlugin version requirement
Ankit Vani <a@nevitus.org>
parents:
37145
diff
changeset
|
1589 | 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
|
1590 | enable plugins. |
|
36641
9207558f0ad3
Removed now-incorrect information from configure error
Ankit Vani <a@nevitus.org>
parents:
36640
diff
changeset
|
1591 | Use --disable-plugins if you want to disable plugins. |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1592 | ])]) |
|
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
|
1593 | AC_SUBST(GPLUGIN_REQ) |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1594 | AC_SUBST(GPLUGIN_CFLAGS) |
|
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1595 | 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
|
1596 | else |
|
7f6509afc91e
disabled perl, tcl, mono loaders. this will be handled by gplugin.
Ankit Vani <a@nevitus.org>
parents:
36818
diff
changeset
|
1597 | enable_introspection=no |
|
36426
04b75bcbaf79
Backed out changeset 0e5eae8b3487
Ankit Vani <a@nevitus.org>
parents:
36425
diff
changeset
|
1598 | fi |
|
36355
15af9d331ee4
Added external dependency for GPlugin 0.0.3
Ankit Vani <a@nevitus.org>
parents:
34692
diff
changeset
|
1599 | |
|
36822
7f6509afc91e
disabled perl, tcl, mono loaders. this will be handled by gplugin.
Ankit Vani <a@nevitus.org>
parents:
36818
diff
changeset
|
1600 | 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
|
1601 | 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
|
1602 | |
|
36823
661347ff47e6
Added GObject introspection for libgnt, finch and pidgin.
Ankit Vani <a@nevitus.org>
parents:
36822
diff
changeset
|
1603 | 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
|
1604 | 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
|
1605 | fi |
|
661347ff47e6
Added GObject introspection for libgnt, finch and pidgin.
Ankit Vani <a@nevitus.org>
parents:
36822
diff
changeset
|
1606 | |
|
36355
15af9d331ee4
Added external dependency for GPlugin 0.0.3
Ankit Vani <a@nevitus.org>
parents:
34692
diff
changeset
|
1607 | dnl ####################################################################### |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1608 | dnl # Check for Python |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1609 | dnl ####################################################################### |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1610 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1611 | 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
|
1612 | 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
|
1613 | dnl it is now accessible through D-Bus. |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1614 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1615 | 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
|
1616 | 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
|
1617 | dnl This autogenerated code is system-independent, so in principle we |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1618 | 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
|
1619 | dnl auto-generated stuff to the repository is inelegant. |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1620 | dnl Alternatively, these python scripts could be rewritten |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1621 | dnl in C (brrrr ...). |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1622 | |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1623 | 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
|
1624 | AS_HELP_STRING([--with-python=PATH], |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1625 | [which python interpreter to use for dbus code generation]), |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1626 | PYTHON=$withval) |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1627 | |
|
29960
e6ca0b8ae3b7
Fix Python overrideability in configure script. Closes #11625.
Brad Smith <brad@comstyle.com>
parents:
29957
diff
changeset
|
1628 | 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
|
1629 | 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
|
1630 | 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
|
1631 | 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
|
1632 | PYTHON=no |
|
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1633 | elif test -z "$PYTHON" -o "x$PYTHON" = "xyes"; then |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1634 | AC_PATH_PROG([PYTHON], [python], [no]) |
|
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1635 | fi |
|
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1636 | |
|
35884
3851fe1822e0
cross-win32: disable not supported components by default
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35877
diff
changeset
|
1637 | 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
|
1638 | AC_MSG_WARN([python interpreter not found in your path]) |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1639 | enable_dbus=no |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1640 | fi |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1641 | |
|
35885
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
1642 | if test "x$PYTHON" != "xno" ; then |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1643 | 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
|
1644 | AC_MSG_WARN([python version >= 2.4 required]) |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1645 | enable_dbus=no |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1646 | fi |
|
35885
e5cc097d6c82
cross-win32: fix bonjour
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35884
diff
changeset
|
1647 | fi |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1648 | fi |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1649 | |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1650 | dnl ########################################################################### |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1651 | dnl # Find the D-Bus services dir. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1652 | dnl # |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1653 | dnl # This is a 3 step process that |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1654 | dnl # |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1655 | 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
|
1656 | dnl # 2. checks if --prefix was given, if so use that. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1657 | 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
|
1658 | dnl # directories. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1659 | dnl # |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1660 | 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
|
1661 | 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
|
1662 | dnl # directory searching to keep this situation at a minimum. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1663 | dnl ########################################################################### |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1664 | 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
|
1665 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1666 | DBUS_SERVICES_DIR="" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1667 | |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1668 | if test x"$enable_dbus" = "xyes" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1669 | AC_MSG_CHECKING([location of the D-Bus services directory]) |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1670 | if ! test -z "$with_dbus_services" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1671 | if ! test -d "$with_dbus_services" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1672 | 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
|
1673 | fi |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1674 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1675 | DBUS_SERVICES_DIR="$with_dbus_services" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1676 | else |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1677 | if test x"$prefix" = x"NONE" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1678 | 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
|
1679 | dnl # if a prefix is given, we use it. |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1680 | |
|
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
|
1681 | serviceprefixes="$prefix/share $prefix/lib /usr/share /usr/local/share" |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1682 | DBUS_SERVICES_DIR="" |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1683 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1684 | for d in $serviceprefixes ; do |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1685 | dir="$d/dbus-1/services" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1686 | if test -d $dir ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1687 | DBUS_SERVICES_DIR="$dir" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1688 | break |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1689 | fi |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1690 | done |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1691 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1692 | 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
|
1693 | 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
|
1694 | fi |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1695 | else |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1696 | DBUS_SERVICES_DIR="$datadir/dbus-1/services" |
|
11903
56ae8af14a0d
[gaim-migrate @ 14194]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11874
diff
changeset
|
1697 | fi |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1698 | fi |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1699 | 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
|
1700 | 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
|
1701 | fi |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1702 | AC_SUBST(DBUS_SERVICES_DIR) |
|
11351
c29898b1b746
[gaim-migrate @ 13570]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11318
diff
changeset
|
1703 | |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1704 | 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
|
1705 | echo "Building with D-Bus support" |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1706 | else |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
1707 | echo "Building without D-Bus support" |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1708 | fi |
|
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1709 | |
|
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1710 | AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes") |
|
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1711 | |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1712 | 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
|
1713 | dnl (Thanks to XChat) |
|
29960
e6ca0b8ae3b7
Fix Python overrideability in configure script. Closes #11625.
Brad Smith <brad@comstyle.com>
parents:
29957
diff
changeset
|
1714 | 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
|
1715 | 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
|
1716 | 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
|
1717 | 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
|
1718 | PY_LIBS=`${PYTHON}-config --libs` |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1719 | 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
|
1720 | AC_MSG_RESULT(ok) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1721 | else |
|
35562
a591c0486b04
Use python-config to find Python headers and libraries.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
35523
diff
changeset
|
1722 | 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
|
1723 | PY_CFLAGS="" |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1724 | PY_LIBS="" |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1725 | fi |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1726 | fi |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1727 | AC_SUBST(PY_CFLAGS) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1728 | AC_SUBST(PY_LIBS) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1729 | |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1730 | dnl ####################################################################### |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1731 | dnl # SSL support |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1732 | dnl # |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1733 | dnl # Thanks go to Evolution for the checks. |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1734 | dnl ####################################################################### |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1735 | |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1736 | 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
|
1737 | |
|
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1738 | SSL_CERTIFICATES_DIR="" |
|
27963
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1739 | 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
|
1740 | 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
|
1741 | 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
|
1742 | fi |
|
27963
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1743 | 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
|
1744 | if test "x$is_win32" = "xyes" ; then |
|
dc133578ccaa
cross-win32: FHS and system-provided certs
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35901
diff
changeset
|
1745 | 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
|
1746 | 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
|
1747 | else |
|
dc133578ccaa
cross-win32: FHS and system-provided certs
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35901
diff
changeset
|
1748 | 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
|
1749 | 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
|
1750 | fi |
|
23473
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1751 | fi |
|
27963
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1752 | 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
|
1753 | fi |
|
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1754 | 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
|
1755 | 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
|
1756 | 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
|
1757 | [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
|
1758 | fi |
|
23473
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1759 | 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
|
1760 | |
| 2129 | 1761 | if test "$ac_cv_cygwin" = yes ; then |
| 1762 | LDADD="$LDADD -static" | |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
1763 | AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1764 | fi |
| 2129 | 1765 | |
|
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
|
1766 | AC_SUBST(DEBUG_CPPFLAGS) |
|
6360
c2bfe65b200c
[gaim-migrate @ 6864]
Robert McQueen <robot101@debian.org>
parents:
6321
diff
changeset
|
1767 | AC_SUBST(DEBUG_CFLAGS) |
| 2129 | 1768 | AC_SUBST(LDADD) |
| 1769 | AC_SUBST(LIBS) | |
| 1770 | ||
| 1771 | 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
|
1772 | AC_DEFINE(PURPLE_PLUGINS, 1, [Define if plugins are enabled.]) |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
1773 | 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
|
1774 | PLUGINS_DEFINE="#define PURPLE_PLUGINS 1" |
| 2129 | 1775 | else |
|
3411
e9d50336f9c3
[gaim-migrate @ 3430]
Christian Hammond <chipx86@chipx86.com>
parents:
3408
diff
changeset
|
1776 | 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
|
1777 | PLUGINS_DEFINE="#undef PURPLE_PLUGINS" |
| 2129 | 1778 | 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
|
1779 | AC_SUBST(PLUGINS_DEFINE) |
| 2129 | 1780 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1781 | dnl ####################################################################### |
|
38407
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1782 | dnl # Check for Nettle (Crypto Library) |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1783 | dnl ####################################################################### |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1784 | AC_ARG_ENABLE(nettle, |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1785 | [AC_HELP_STRING([--disable-nettle], [disable Nettle support])], |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1786 | enable_nettle="$enableval", enable_nettle="yes") |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1787 | |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1788 | if test "x$enable_nettle" = "xyes" ; then |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1789 | PKG_CHECK_MODULES(NETTLE, [nettle >= 3.0], [ |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1790 | enable_nettle="yes" |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1791 | AC_SUBST(NETTLE_CFLAGS) |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1792 | AC_SUBST(NETTLE_LIBS) |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1793 | AC_DEFINE(HAVE_NETTLE, 1, [Define if we have Nettle.]) |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1794 | ], [ |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1795 | enable_nettle="no" |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1796 | ]) |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1797 | |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1798 | if test "x$enable_nettle" != "xyes" -a "x$force_deps" = "xyes" ; then |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1799 | AC_MSG_ERROR([ |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1800 | Nettle development headers not found |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1801 | Use --disable-nettle if you do not need it. |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1802 | ]) |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1803 | fi |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1804 | fi |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1805 | |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1806 | AM_CONDITIONAL(ENABLE_NETTLE, test "x$enable_nettle" = "xyes") |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1807 | |
|
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
1808 | dnl ####################################################################### |
|
33795
590514c0a77c
Improve configure message for Cyrus SASL
Daniel Atallah <datallah@pidgin.im>
parents:
33750
diff
changeset
|
1809 | dnl # Check for Cyrus-SASL (for xmpp/irc) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1810 | dnl ####################################################################### |
| 2129 | 1811 | dnl AC_CHECK_SIZEOF(short) |
| 1812 | AC_CHECK_FUNCS(snprintf connect) | |
| 12508 | 1813 | 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
|
1814 | 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
|
1815 | if test "x$enable_cyrus_sasl" = "xyes" ; then |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1816 | 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
|
1817 | AM_CONDITIONAL(USE_CYRUS_SASL, true) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1818 | 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
|
1819 | SASL_LIBS=-"lsasl2" |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1820 | ], [ |
|
28855
c5bc85f9c00e
jabber: Factor the SASL auth methods into their own files.
Paul Aurich <darkrain42@pidgin.im>
parents:
28693
diff
changeset
|
1821 | AM_CONDITIONAL(USE_CYRUS_SASL, false) |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
1822 | AC_MSG_ERROR([Cyrus SASL library not found]) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1823 | ]) |
|
28855
c5bc85f9c00e
jabber: Factor the SASL auth methods into their own files.
Paul Aurich <darkrain42@pidgin.im>
parents:
28693
diff
changeset
|
1824 | else |
|
c5bc85f9c00e
jabber: Factor the SASL auth methods into their own files.
Paul Aurich <darkrain42@pidgin.im>
parents:
28693
diff
changeset
|
1825 | AM_CONDITIONAL(USE_CYRUS_SASL, false) |
| 12508 | 1826 | fi |
| 2129 | 1827 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1828 | dnl ####################################################################### |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1829 | dnl # Check for Kerberos (for Zephyr) |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1830 | dnl ####################################################################### |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
1831 | AC_DEFINE(ZEPHYR_INT32, long, [Size of an int32.]) |
| 2129 | 1832 | AC_SUBST(KRB4_CFLAGS) |
| 1833 | AC_SUBST(KRB4_LDFLAGS) | |
| 1834 | AC_SUBST(KRB4_LIBS) | |
| 1835 | if test "$kerberos" != "no" ; then | |
| 1836 | if test "$kerberos" != "yes" ; then | |
| 1837 | KRB4_CFLAGS="-I${kerberos}/include" | |
| 1838 | if test -d "$kerberos/include/kerberosIV" ; then | |
| 1839 | KRB4_CFLAGS="$KRB4_CFLAGS -I${kerberos}/include/kerberosIV" | |
| 1840 | fi | |
| 1841 | KRB4_LDFLAGS="-L${kerberos}/lib" | |
| 1842 | elif test -d /usr/local/include/kerberosIV ; then | |
| 1843 | KRB4_CFLAGS="-I/usr/local/include/kerberosIV" | |
| 1844 | elif test -d /usr/include/kerberosIV ; then | |
| 1845 | KRB4_CFLAGS="-I/usr/include/kerberosIV" | |
| 1846 | fi | |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
1847 | AC_DEFINE(ZEPHYR_USES_KERBEROS, 1, [Define if kerberos should be used in Zephyr.]) |
| 2129 | 1848 | |
| 1849 | orig_LDFLAGS="$LDFLAGS" | |
| 1850 | LDFLAGS="$LDFLAGS $KRB4_LDFLAGS" | |
| 1851 | AC_CHECK_LIB(krb4, krb_rd_req, | |
| 1852 | [KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"], | |
| 1853 | [AC_CHECK_LIB(krb, krb_rd_req, | |
| 1854 | [KRB4_LIBS="-lkrb -ldes"], | |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
1855 | [AC_MSG_ERROR([Kerberos 4 libraries not found])], |
| 2129 | 1856 | -ldes)], |
| 1857 | -ldes425 -lkrb5 -lk5crypto -lcom_err) | |
| 1858 | orig_LIBS="$LIBS" | |
| 1859 | LIBS="$LIBS $KRB4_LIBS" | |
| 1860 | AC_CHECK_FUNCS(krb_set_key krb_rd_req krb_get_lrealm) | |
| 1861 | AC_CHECK_FUNCS(krb_get_err_text krb_log) | |
| 1862 | LIBS="$orig_LIBS" | |
| 1863 | LDFLAGS="$orig_LDFLAGS" | |
| 1864 | fi | |
| 6150 | 1865 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1866 | dnl ####################################################################### |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1867 | dnl # Check for external libzephyr |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1868 | dnl ####################################################################### |
| 8378 | 1869 | AC_SUBST(ZEPHYR_CFLAGS) |
| 1870 | AC_SUBST(ZEPHYR_LDFLAGS) | |
| 1871 | AC_SUBST(ZEPHYR_LIBS) | |
| 1872 | if test "$zephyr" != "no" ; then | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1873 | if test "$zephyr" != "yes" ; then |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1874 | ZEPHYR_CFLAGS="-I${zephyr}/include" |
| 8378 | 1875 | ZEPHYR_LDFLAGS="-L${zephyr}/lib" |
| 1876 | elif test -d /usr/athena/include/zephyr ; then | |
| 1877 | ZEPHYR_CFLAGS="-I/usr/athena/include" | |
| 1878 | elif test -d /usr/include/zephyr ; then | |
|
12034
e40d6191f530
[gaim-migrate @ 14327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12032
diff
changeset
|
1879 | ZEPHYR_CFLAGS="-I/usr/include" |
|
e40d6191f530
[gaim-migrate @ 14327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12032
diff
changeset
|
1880 | elif test -d /usr/local/include/zephyr ; then |
|
e40d6191f530
[gaim-migrate @ 14327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12032
diff
changeset
|
1881 | ZEPHYR_CFLAGS="-I/usr/local/include" |
| 8378 | 1882 | fi |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1883 | AC_DEFINE(LIBZEPHYR_EXT, 1 , [Define if external libzephyr should be used.]) |
| 8378 | 1884 | AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno") |
| 1885 | orig_LDFLAGS="$LDFLAGS" | |
| 1886 | LDFLAGS="$LDFLAGS $ZEPHYR_LDFLAGS" | |
| 1887 | AC_CHECK_LIB(zephyr, ZInitialize, | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1888 | [ZEPHYR_LIBS="-lzephyr"], |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
1889 | [AC_MSG_ERROR([Zephyr libraries not found])], |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1890 | -lzephyr) |
| 8378 | 1891 | orig_LIBS="$LIBS" |
| 1892 | LIBS="$orig_LIBS" | |
| 1893 | LDFLAGS="$orig_LDFLAGS" | |
| 1894 | fi | |
| 1895 | ||
| 6150 | 1896 | AC_MSG_CHECKING(for me pot o' gold) |
| 1897 | AC_MSG_RESULT(no) | |
|
38050
23fba07389f6
Remove a couple more unused function checks.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38048
diff
changeset
|
1898 | AC_CHECK_FUNCS(gethostid timegm) |
|
38048
a3aaf7cef832
Remove more configure checks for C89 functions.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38047
diff
changeset
|
1899 | AC_CHECK_HEADERS(paths.h sgtty.h sys/cdefs.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
|
1900 | 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
|
1901 | 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
|
1902 | 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
|
1903 | |
|
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
|
1904 | # 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
|
1905 | # 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
|
1906 | 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
|
1907 | 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
|
1908 | [[ |
|
23518
228c316f1323
Some header inclusion fixes to help on NetBSD/FreeBSD.
Richard Laager <rlaager@pidgin.im>
parents:
23492
diff
changeset
|
1909 | #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
|
1910 | #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
|
1911 | # 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
|
1912 | #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
|
1913 | ]]) |
|
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
|
1914 | |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
1915 | AC_CHECK_HEADERS(sys/socket.h) |
|
3194
9404dfabed94
[gaim-migrate @ 3211]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3191
diff
changeset
|
1916 | AC_VAR_TIMEZONE_EXTERNALS |
| 2129 | 1917 | |
|
37935
fe98e3815bc4
Use AC_CHECK_MEMBER instead of homegrown check.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37934
diff
changeset
|
1918 | 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
|
1919 | [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
|
1920 | [], |
|
fe98e3815bc4
Use AC_CHECK_MEMBER instead of homegrown check.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37934
diff
changeset
|
1921 | [[#include <time.h>]]) |
| 15102 | 1922 | |
| 1923 | 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
|
1924 | 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
|
1925 | dnl ####################################################################### |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1926 | 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
|
1927 | |
|
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
|
1928 | 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
|
1929 | |
|
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
|
1930 | 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
|
1931 | 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
|
1932 | dnl ####################################################################### |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1933 | 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
|
1934 | |
|
6fb91698456e
Add a configure option --enable-trayicon-compat which installs tray icons
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30358
diff
changeset
|
1935 | 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
|
1936 | |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1937 | # check for gtk-doc |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1938 | m4_ifdef([GTK_DOC_CHECK], [ |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1939 | GTK_DOC_CHECK([1.16],[--flavour no-tmpl]) |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1940 | ],[ |
|
35607
4ce836edff36
Fix gtk-doc configure check
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35581
diff
changeset
|
1941 | 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
|
1942 | AC_MSG_ERROR([ |
|
4ce836edff36
Fix gtk-doc configure check
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35581
diff
changeset
|
1943 | 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
|
1944 | ]) |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
1945 | fi |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
1946 | |
|
35607
4ce836edff36
Fix gtk-doc configure check
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35581
diff
changeset
|
1947 | AM_CONDITIONAL([ENABLE_GTK_DOC], false) |
|
4ce836edff36
Fix gtk-doc configure check
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35581
diff
changeset
|
1948 | enable_gtk_doc=no |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1949 | ]) |
|
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
|
1950 | |
|
33673
b331678195f5
Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33672
diff
changeset
|
1951 | AC_ARG_ENABLE(debug, [AS_HELP_STRING([--enable-debug], |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
1952 | [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
|
1953 | |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
1954 | if test "x$enable_debug" = "xyes" ; then |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
1955 | AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
1956 | fi |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
1957 | |
|
18705
ee878f1aa32b
Some lines to the auto-thingies to aid in libgnt building standalone
Eric Polino <aluink@pidgin.im>
parents:
18292
diff
changeset
|
1958 | 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
|
1959 | |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
1960 | AC_CONFIG_FILES([Makefile |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
1961 | 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
|
1962 | doc/pidgin.1 |
|
15909
0ee1e930d385
Rename/update finch man page
Richard Nelson <wabz@pidgin.im>
parents:
15901
diff
changeset
|
1963 | doc/finch.1 |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1964 | doc/reference/Makefile |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1965 | doc/reference/finch/Makefile |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1966 | doc/reference/finch/version.xml |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1967 | doc/reference/libpurple/Makefile |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1968 | doc/reference/libpurple/version.xml |
|
37347
34d43f8c10d1
facebook: added GTK-Doc for the internal APIs
James Geboski <jgeboski@gmail.com>
parents:
37249
diff
changeset
|
1969 | doc/reference/protocols/Makefile |
|
34d43f8c10d1
facebook: added GTK-Doc for the internal APIs
James Geboski <jgeboski@gmail.com>
parents:
37249
diff
changeset
|
1970 | doc/reference/protocols/facebook/Makefile |
|
34d43f8c10d1
facebook: added GTK-Doc for the internal APIs
James Geboski <jgeboski@gmail.com>
parents:
37249
diff
changeset
|
1971 | doc/reference/protocols/version.xml |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1972 | doc/reference/pidgin/Makefile |
|
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
1973 | doc/reference/pidgin/version.xml |
|
11147
67309baf4c84
[gaim-migrate @ 13226]
Gary Kramlich <grim@reaperworld.com>
parents:
11146
diff
changeset
|
1974 | m4macros/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
1975 | pidgin/Makefile |
|
38611
4cf9b6a6e259
Rename .desktop and .appdata files using reverse-DNS.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38539
diff
changeset
|
1976 | pidgin/data/im.pidgin.Pidgin.desktop.in |
|
36239
35d7033e1d33
Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
36222
diff
changeset
|
1977 | pidgin/data/pidgin-3.pc |
|
35d7033e1d33
Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
36222
diff
changeset
|
1978 | 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
|
1979 | pidgin/pixmaps/Makefile |
| 19385 | 1980 | pidgin/pixmaps/emotes/default/24/Makefile |
|
24689
d9db6c50ac6f
Make the small smiley theme actually work.
Richard Laager <rlaager@pidgin.im>
parents:
24609
diff
changeset
|
1981 | 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
|
1982 | pidgin/plugins/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
1983 | pidgin/plugins/cap/Makefile |
|
27217
7509acac49de
Convert the disco browser to a plugin. Refs #556
Paul Aurich <darkrain42@pidgin.im>
parents:
27047
diff
changeset
|
1984 | pidgin/plugins/disco/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
1985 | pidgin/plugins/gestures/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
1986 | pidgin/plugins/gevolution/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
1987 | pidgin/plugins/musicmessaging/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
1988 | pidgin/plugins/ticker/Makefile |
|
35873
1b074557f2b0
cross-win32: build win32 plugins
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35871
diff
changeset
|
1989 | pidgin/plugins/win32/transparency/Makefile |
|
1b074557f2b0
cross-win32: build win32 plugins
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35871
diff
changeset
|
1990 | 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
|
1991 | pidgin/themes/Makefile |
|
35865
7f49bc843ce1
cross-win32: add version information to Pidgin/libpurple binaries
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35864
diff
changeset
|
1992 | 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
|
1993 | 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
|
1994 | 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
|
1995 | libpurple/data/purple-3.pc |
|
35d7033e1d33
Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
36222
diff
changeset
|
1996 | libpurple/data/purple-3-uninstalled.pc |
|
15673
7f2c84ae63b0
Add the example nullclient here.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15671
diff
changeset
|
1997 | libpurple/example/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
1998 | 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
|
1999 | libpurple/plugins/keyrings/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2000 | libpurple/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2001 | libpurple/protocols/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2002 | libpurple/protocols/bonjour/Makefile |
|
37249
dfa58c08a4fd
facebook: initial protocol plugin
James Geboski <jgeboski@gmail.com>
parents:
37163
diff
changeset
|
2003 | libpurple/protocols/facebook/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2004 | libpurple/protocols/gg/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2005 | libpurple/protocols/irc/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2006 | libpurple/protocols/jabber/Makefile |
|
37605
599b01f2f5a7
This should do it for the jabber tests
Gary Kramlich <grim@reaperworld.com>
parents:
37604
diff
changeset
|
2007 | libpurple/protocols/jabber/tests/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2008 | 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
|
2009 | libpurple/protocols/null/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2010 | libpurple/protocols/oscar/Makefile |
|
37604
651092763669
Move the oscar unit tests to gtester
Gary Kramlich <grim@reaperworld.com>
parents:
37602
diff
changeset
|
2011 | libpurple/protocols/oscar/tests/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2012 | libpurple/protocols/sametime/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2013 | libpurple/protocols/silc/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2014 | libpurple/protocols/simple/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2015 | libpurple/protocols/zephyr/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2016 | 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
|
2017 | libpurple/purple.h |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
2018 | libpurple/version.h |
|
35865
7f49bc843ce1
cross-win32: add version information to Pidgin/libpurple binaries
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35864
diff
changeset
|
2019 | libpurple/win32/libpurplerc.rc |
| 18292 | 2020 | 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
|
2021 | share/ca-certs/Makefile |
|
20892
bace1e693fd3
pkg-config shizzle for finch.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20771
diff
changeset
|
2022 | 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
|
2023 | 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
|
2024 | finch/libfinch_winres.rc |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2025 | finch/Makefile |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2026 | finch/libgnt/Makefile |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2027 | 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
|
2028 | finch/libgnt/libgnt_winres.rc |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2029 | finch/libgnt/wms/Makefile |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2030 | finch/plugins/Makefile |
| 6954 | 2031 | po/Makefile.in |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2032 | ]) |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2033 | AC_OUTPUT |
| 2129 | 2034 | |
| 2035 | echo | |
| 2036 | echo $PACKAGE $VERSION | |
| 2037 | ||
| 2038 | 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
|
2039 | echo Build GTK+ UI................. : $enable_gtkui |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2040 | 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
|
2041 | echo Build for X11................. : $with_x |
| 2129 | 2042 | 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
|
2043 | echo Enable Gestures............... : $enable_gestures |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2044 | echo Protocols to build dynamically : $DYNAMIC_PRPLS |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2045 | echo Protocols to link statically.. : $STATIC_PRPLS |
| 2129 | 2046 | echo |
| 13720 | 2047 | 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
|
2048 | 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
|
2049 | echo Build with voice and video.... : $enable_vv |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2050 | 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
|
2051 | eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2052 | fi |
|
27849
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
2053 | echo Build with GNU Libidn......... : $enable_idn |
|
23473
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
2054 | 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
|
2055 | 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
|
2056 | fi |
|
38407
6e9983f3663d
configure.ac: Add checks for Nettle (Crypto library)
Mike Ruprecht <cmaiku@gmail.com>
parents:
38347
diff
changeset
|
2057 | echo Build with Nettle support..... : $enable_nettle |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2058 | echo Build with Cyrus SASL support. : $enable_cyrus_sasl |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2059 | echo Use kerberos 4 with zephyr.... : $kerberos |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2060 | echo Use external libzephyr........ : $zephyr |
|
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
|
2061 | 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
|
2062 | 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
|
2063 | echo Install translations.......... : $enable_i18n |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2064 | echo Has you....................... : yes |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2065 | echo |
|
35911
e173a6f9a021
PidginWebView: spell checking dictionary selection
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35903
diff
changeset
|
2066 | 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
|
2067 | echo Build with GCR widgets........ : $enable_gcr |
|
35122
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
2068 | echo Build Unity integration plugin.: $enable_unity |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2069 | echo |
|
34150
d6109ee16347
Auto enable all possible keyrings by default
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34148
diff
changeset
|
2070 | 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
|
2071 | echo Build with KWallet............ : $enable_kwallet |
|
38152
4d812213b260
libsecret-keyring: Enable libsecret keyring plugin
Mike Ruprecht <cmaiku@gmail.com>
parents:
38013
diff
changeset
|
2072 | 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
|
2073 | echo |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2074 | 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
|
2075 | echo Enable Introspection...........: $enable_introspection |
|
35901
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2076 | |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2077 | if test "x$is_win32" = "xyes" ; then |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2078 | echo |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2079 | echo Win32 directory structure..... : $with_win32_dirs |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2080 | fi |
|
5bcb306a4edf
cross-win32: FHS support for win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35899
diff
changeset
|
2081 | |
| 2129 | 2082 | echo |
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
2083 | echo Print debugging messages...... : $enable_debug |
|
35387
c516874b0d14
Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents:
35298
diff
changeset
|
2084 | echo Generate documentation........ : $enable_gtk_doc |
| 2129 | 2085 | 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
|
2086 | 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
|
2087 | 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
|
2088 | echo Warning: You have an old copy of Pidgin at $pidginpath. |
| 2129 | 2089 | 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
|
2090 | 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
|
2091 | 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
|
2092 | 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
|
2093 | 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
|
2094 | fi |
|
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2095 | 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
|
2096 | 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
|
2097 | echo Warning: You have disabled the building and installation of translation |
|
38611
4cf9b6a6e259
Rename .desktop and .appdata files using reverse-DNS.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38539
diff
changeset
|
2098 | echo data. This will prevent building Pidgin desktop files. |
|
29902
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2099 | 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
|
2100 | fi |
| 2129 | 2101 | echo |
| 2102 | echo configure complete, now type \'make\' | |
| 2103 | 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
|
2104 |