Thu, 06 Feb 2014 00:43:23 -0800
Remove translations for three languages with <80 translated strings each.
| 2129 | 1 | dnl Process this file with autoconf to produce a configure script. |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
2 | AC_PREREQ([2.50]) |
|
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 | # |
|
31946
64dd398b8a70
We're now 2.10.0 because I added the plugin info dialog.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31939
diff
changeset
|
46 | m4_define([purple_lt_current], [10]) |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
47 | m4_define([purple_major_version], [2]) |
|
31946
64dd398b8a70
We're now 2.10.0 because I added the plugin info dialog.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31939
diff
changeset
|
48 | m4_define([purple_minor_version], [10]) |
|
35342
0a0fe7ea9782
Prep for 2.10.10 development.
Mark Doliner <mark@kingant.net>
parents:
35338
diff
changeset
|
49 | m4_define([purple_micro_version], [10]) |
|
0a0fe7ea9782
Prep for 2.10.10 development.
Mark Doliner <mark@kingant.net>
parents:
35338
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 | |
|
30499
19e9d4a69086
Make the combobox a tiny bit friendlier.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30498
diff
changeset
|
55 | m4_define([gnt_lt_current], [8]) |
|
18140
3a40ec9ee97d
Bump the major for libgnt for the awesome workspace support.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
18125
diff
changeset
|
56 | m4_define([gnt_major_version], [2]) |
|
30499
19e9d4a69086
Make the combobox a tiny bit friendlier.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30498
diff
changeset
|
57 | m4_define([gnt_minor_version], [8]) |
|
33750
41d15beb309a
Activate development mode for 2.10.8
Mark Doliner <mark@kingant.net>
parents:
33736
diff
changeset
|
58 | m4_define([gnt_micro_version], [10]) |
|
35290
5010e6877abc
Add ast translation. Hopefully this doesn't break Windows :-/
Mark Doliner <mark@kingant.net>
parents:
35122
diff
changeset
|
59 | m4_define([gnt_version_suffix], []) |
|
16738
0960ccbba64f
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
Richard Laager <rlaager@pidgin.im>
parents:
16736
diff
changeset
|
60 | 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
|
61 | [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
|
62 | 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
|
63 | |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
64 | |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
65 | 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
|
66 | |
|
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
|
67 | 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
|
68 | 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
|
69 | 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
|
70 | 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
|
71 | 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
|
72 | ]) |
|
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 | 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
|
74 | |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
75 | 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
|
76 | AC_CONFIG_HEADERS([config.h]) |
|
24512
1b6566df90b5
Explicitly depend on automake >=1.9, and don't warn about GNU Make-isms.
Will Thompson <resiak@pidgin.im>
parents:
24490
diff
changeset
|
77 | AM_INIT_AUTOMAKE([1.9 -Wno-portability dist-bzip2]) |
|
30491
343ac123ff38
Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30395
diff
changeset
|
78 | dnl TODO: Always use AM_SILENT_RULES when we depend on automake >= 1.11 |
|
343ac123ff38
Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30395
diff
changeset
|
79 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
| 3174 | 80 | |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
81 | 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
|
82 | 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
|
83 | PURPLE_MICRO_VERSION=purple_micro_version |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
84 | PURPLE_VERSION=[purple_display_version] |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
85 | 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
|
86 | 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
|
87 | 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
|
88 | AC_SUBST(PURPLE_VERSION) |
|
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
89 | |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
90 | 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
|
91 | AC_SUBST(PURPLE_LT_VERSION_INFO) |
| 2129 | 92 | |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
93 | GNT_MAJOR_VERSION=gnt_major_version |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
94 | GNT_MINOR_VERSION=gnt_minor_version |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
95 | GNT_MICRO_VERSION=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
|
96 | GNT_VERSION=[gnt_display_version] |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
97 | AC_SUBST(GNT_MAJOR_VERSION) |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
98 | AC_SUBST(GNT_MINOR_VERSION) |
|
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
99 | 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
|
100 | AC_SUBST(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
|
101 | |
|
16732
d611379472ea
Separate so versioning for libgnt.
Richard Laager <rlaager@pidgin.im>
parents:
16729
diff
changeset
|
102 | 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
|
103 | 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
|
104 | |
| 2129 | 105 | AC_PATH_PROG(sedpath, sed) |
| 106 | ||
| 8919 | 107 | dnl Storing configure arguments |
| 108 | AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments]) | |
| 109 | ||
| 2129 | 110 | dnl Checks for programs. |
| 111 | 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
|
112 | AM_PROG_CC_C_O |
| 2129 | 113 | AC_DISABLE_STATIC |
|
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
|
114 | AC_PROG_LIBTOOL |
| 2129 | 115 | LIBTOOL="$LIBTOOL --silent" |
| 116 | AC_PROG_INSTALL | |
|
15146
915827bf73d3
[gaim-migrate @ 17870]
Gary Kramlich <grim@reaperworld.com>
parents:
15133
diff
changeset
|
117 | 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
|
118 | 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
|
119 | |
|
30263
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
120 | dnl Check for Sun compiler |
|
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
121 | 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
|
122 | |
| 2129 | 123 | dnl Checks for header files. |
| 124 | AC_HEADER_STDC | |
| 125 | AC_HEADER_SYS_WAIT | |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
126 | AC_CHECK_HEADERS(arpa/nameser_compat.h fcntl.h sys/time.h unistd.h locale.h signal.h stdint.h regex.h) |
| 2129 | 127 | |
| 128 | dnl Checks for typedefs, structures, and compiler characteristics. | |
| 129 | AC_C_CONST | |
| 130 | AC_STRUCT_TM | |
|
14049
c15c41423e19
[gaim-migrate @ 16559]
Richard Laager <rlaager@pidgin.im>
parents:
13932
diff
changeset
|
131 | AC_CHECK_SIZEOF(time_t, ,[ |
|
c15c41423e19
[gaim-migrate @ 16559]
Richard Laager <rlaager@pidgin.im>
parents:
13932
diff
changeset
|
132 | #include <stdio.h> |
|
c15c41423e19
[gaim-migrate @ 16559]
Richard Laager <rlaager@pidgin.im>
parents:
13932
diff
changeset
|
133 | #include <time.h>]) |
| 2129 | 134 | |
|
12423
e83c899d3be9
[gaim-migrate @ 14730]
Richard Laager <rlaager@pidgin.im>
parents:
12385
diff
changeset
|
135 | AC_C_BIGENDIAN |
|
e83c899d3be9
[gaim-migrate @ 14730]
Richard Laager <rlaager@pidgin.im>
parents:
12385
diff
changeset
|
136 | |
| 2129 | 137 | dnl Checks for library functions. |
| 138 | AC_TYPE_SIGNAL | |
| 139 | AC_FUNC_STRFTIME | |
|
13217
a159125835c0
[gaim-migrate @ 15580]
Richard Laager <rlaager@pidgin.im>
parents:
13180
diff
changeset
|
140 | AC_CHECK_FUNCS(strdup strstr atexit setlocale) |
| 2129 | 141 | dnl Checks for getopt in standard library |
|
7451
41329081eb6d
[gaim-migrate @ 8063]
Christian Hammond <chipx86@chipx86.com>
parents:
7396
diff
changeset
|
142 | AC_CHECK_FUNCS(getopt_long,, |
|
41329081eb6d
[gaim-migrate @ 8063]
Christian Hammond <chipx86@chipx86.com>
parents:
7396
diff
changeset
|
143 | [ |
|
41329081eb6d
[gaim-migrate @ 8063]
Christian Hammond <chipx86@chipx86.com>
parents:
7396
diff
changeset
|
144 | AC_LIBOBJ(getopt) |
|
41329081eb6d
[gaim-migrate @ 8063]
Christian Hammond <chipx86@chipx86.com>
parents:
7396
diff
changeset
|
145 | AC_LIBOBJ(getopt1) |
|
41329081eb6d
[gaim-migrate @ 8063]
Christian Hammond <chipx86@chipx86.com>
parents:
7396
diff
changeset
|
146 | ]) |
| 2129 | 147 | |
| 2959 | 148 | dnl Check for inet_aton |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
149 | AC_CHECK_FUNC(inet_aton, , [AC_CHECK_LIB(resolv, inet_aton, , |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
150 | [AC_MSG_ERROR([inet_aton not found])])]) |
|
11373
80fd6df6fbe0
[gaim-migrate @ 13598]
Thomas Butter <tbutter@users.sourceforge.net>
parents:
11356
diff
changeset
|
151 | AC_CHECK_LIB(resolv, __res_query) |
| 4424 | 152 | AC_CHECK_LIB(nsl, gethostent) |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
153 | AC_CHECK_FUNC(socket, , |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
154 | [AC_CHECK_LIB(socket, socket, , [AC_MSG_ERROR([socket not found])])]) |
| 4424 | 155 | dnl If all goes well, by this point the previous two checks will have |
| 156 | dnl pulled in -lsocket and -lnsl if we need them. | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
157 | AC_CHECK_FUNC(getaddrinfo, |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
158 | [AC_DEFINE([HAVE_GETADDRINFO], [1], |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
159 | [Define to 1 if you have the getaddrinfo function.])], |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
160 | [AC_CHECK_LIB(socket, getaddrinfo, |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
161 | [AC_DEFINE([HAVE_GETADDRINFO]) LIBS="-lsocket -lsnl $LIBS"], , , -lnsl)]) |
|
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
|
162 | AC_CHECK_FUNCS(inet_ntop) |
|
29714
8c1f3beb9fdc
network: Use getifaddrs() to enumerate local interfaces/IPs if available.
Paul Aurich <darkrain42@pidgin.im>
parents:
29698
diff
changeset
|
163 | AC_CHECK_FUNCS(getifaddrs) |
| 3150 | 164 | dnl Check for socklen_t (in Unix98) |
| 165 | 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
|
166 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
167 | #include <sys/types.h> |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
168 | #include <sys/socket.h> |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
169 | 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
|
170 | ]], [[]])], [ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
171 | AC_MSG_RESULT(yes) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
172 | ], [ |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
173 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
174 | #include <sys/types.h> |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
175 | #include <sys/socket.h> |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
176 | 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
|
177 | ]], [[]])], [ |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
178 | AC_MSG_RESULT(size_t) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
179 | AC_DEFINE(socklen_t, size_t, [socklen_t size]) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
180 | ], [ |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
181 | AC_MSG_RESULT(int) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
182 | AC_DEFINE(socklen_t, int, [socklen_t size]) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
183 | ]) |
|
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
184 | ]) |
| 3150 | 185 | |
|
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
|
186 | 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
|
187 | 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
|
188 | [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
|
189 | [Define if struct sockaddr has an sa_len member])],[:], |
|
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
|
190 | [#include <sys/socket.h>]) |
|
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
|
191 | |
|
30027
2ab6e591cf72
Add network listen functions that accept a family argument (AF_INET(6?)).
Paul Aurich <darkrain42@pidgin.im>
parents:
29960
diff
changeset
|
192 | 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
|
193 | 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
|
194 | [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
|
195 | [Define if the IPV6_V6ONLY setsockopt option exists])], |
|
2ab6e591cf72
Add network listen functions that accept a family argument (AF_INET(6?)).
Paul Aurich <darkrain42@pidgin.im>
parents:
29960
diff
changeset
|
196 | [], [#include <netinet/in.h>]) |
|
2ab6e591cf72
Add network listen functions that accept a family argument (AF_INET(6?)).
Paul Aurich <darkrain42@pidgin.im>
parents:
29960
diff
changeset
|
197 | |
|
10622
8faf2d7a4afe
[gaim-migrate @ 12091]
Luke Schierer <lschiere@pidgin.im>
parents:
10620
diff
changeset
|
198 | dnl to prevent the g_stat()/g_unlink() crash, |
|
8faf2d7a4afe
[gaim-migrate @ 12091]
Luke Schierer <lschiere@pidgin.im>
parents:
10620
diff
changeset
|
199 | 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
|
200 | AC_SYS_LARGEFILE |
|
8faf2d7a4afe
[gaim-migrate @ 12091]
Luke Schierer <lschiere@pidgin.im>
parents:
10620
diff
changeset
|
201 | |
|
12038
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
202 | dnl FreeBSD doesn't have libdl, dlopen is provided by libc |
|
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
203 | 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
|
204 | |
|
32076
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
205 | dnl Haiku does not use libm for the math functions, they are part |
|
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
206 | dnl of the C library |
|
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
207 | AC_SEARCH_LIBS([ceil], [m], [], [ |
|
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
208 | AC_MSG_ERROR([unable to find the floor() function]) |
|
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
209 | ]) |
|
b6d6708fb444
*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im):
Mark Doliner <markdoliner@pidgin.im>
parents:
32067
diff
changeset
|
210 | |
|
21421
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
211 | 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
|
212 | 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
|
213 | #include <stdio.h> |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
214 | |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
215 | 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
|
216 | { |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
217 | int fd; |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
218 | |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
219 | fd = fileno(stdout); |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
220 | |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
221 | return !(fd > 0); |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
222 | } |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
223 | ]])], [ |
|
21421
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
224 | 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
|
225 | 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
|
226 | [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
|
227 | ], [ |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
228 | 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
|
229 | ], [ |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
230 | # 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
|
231 | # 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
|
232 | 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
|
233 | ]) |
|
1d0f0d592011
Manually fflush() files written with purple_util_write_data_to_file,
Ethan Blanton <elb@pidgin.im>
parents:
21138
diff
changeset
|
234 | |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
235 | 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
|
236 | AC_RUN_IFELSE([AC_LANG_SOURCE([[ |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
237 | #ifdef HAVE_SYS_TIME_H |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
238 | #include <sys/time.h> |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
239 | #endif |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
240 | #include <time.h> |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
241 | #include <stdio.h> |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
242 | |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
243 | int main() |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
244 | { |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
245 | char buf[6]; |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
246 | time_t t = time(NULL); |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
247 | |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
248 | if (strftime(buf, sizeof(buf), "%z", localtime(&t)) != 5) |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
249 | return 1; |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
250 | |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
251 | fprintf(stderr, "strftime(\"%%z\") yields: \"%s\"\n", buf); |
|
13743
0336a209f9d4
[gaim-migrate @ 16152]
Mark Doliner <markdoliner@pidgin.im>
parents:
13736
diff
changeset
|
252 | |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
253 | return !((buf[0] == '-' || buf[0] == '+') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
254 | (buf[1] >= '0' && buf[1] <= '9') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
255 | (buf[2] >= '0' && buf[2] <= '9') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
256 | (buf[3] >= '0' && buf[3] <= '9') && |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
257 | (buf[4] >= '0' && buf[4] <= '9') |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
258 | ); |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
259 | } |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
260 | ]])], [ |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
261 | AC_MSG_RESULT(yes) |
|
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
262 | AC_DEFINE([HAVE_STRFTIME_Z_FORMAT], [1], |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
263 | [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
|
264 | ], [ |
|
13153
3e0b91a83516
[gaim-migrate @ 15515]
Richard Laager <rlaager@pidgin.im>
parents:
13032
diff
changeset
|
265 | AC_MSG_RESULT(no) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
266 | ], [ |
|
13226
92b014d46d83
[gaim-migrate @ 15589]
Richard Laager <rlaager@pidgin.im>
parents:
13217
diff
changeset
|
267 | # Fallback for Cross Compiling... |
|
92b014d46d83
[gaim-migrate @ 15589]
Richard Laager <rlaager@pidgin.im>
parents:
13217
diff
changeset
|
268 | # This will enable the compatibility code. |
|
92b014d46d83
[gaim-migrate @ 15589]
Richard Laager <rlaager@pidgin.im>
parents:
13217
diff
changeset
|
269 | 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
|
270 | ]) |
|
11949
ee1bbb072d4a
[gaim-migrate @ 14240]
Christopher O'Brien <siege@pidgin.im>
parents:
11945
diff
changeset
|
271 | |
|
31516
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
272 | # 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
|
273 | 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
|
274 | darwin*) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
275 | AC_CHECK_LIB(resolv, res_query) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
276 | |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
277 | 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
|
278 | 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
|
279 | 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
|
280 | 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
|
281 | ], []) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
282 | ], []) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
283 | |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
284 | 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
|
285 | 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
|
286 | 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
|
287 | 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
|
288 | 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
|
289 | else |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
290 | 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
|
291 | fi |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
292 | ;; |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
293 | *) |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
294 | ;; |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
295 | esac |
|
0f2e41d2f12a
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
parents:
31506
diff
changeset
|
296 | |
| 13720 | 297 | dnl ####################################################################### |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
298 | 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
|
299 | dnl ####################################################################### |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
300 | AC_ARG_ENABLE(nls, AC_HELP_STRING([--disable-nls], [disable installation of translation files]), enable_i18n="$enableval", enable_i18n=yes) |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
301 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
302 | if test x$enable_i18n = xyes; then |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
303 | AC_PROG_INTLTOOL |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
304 | GETTEXT_PACKAGE=pidgin |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
305 | AC_SUBST(GETTEXT_PACKAGE) |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
306 | |
|
35375
8763d2c7eb4a
Remove translations for three languages with <80 translated strings each.
Mark Doliner <mark@kingant.net>
parents:
35346
diff
changeset
|
307 | ALL_LINGUAS="af am ar ast az be@latin bg bn bn_IN bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id it ja ka kk km kn ko ku lt mai mhr mk mn mr my_MM nb ne nl nn oc or pa pl pt_BR pt ps ro ru si sk sl sq sr sr@latin sv sw ta te th tr uk ur 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
|
308 | AM_GLIB_GNU_GETTEXT |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
309 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
310 | 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
|
311 | dnl AM_GLIB_GNU_GETTEXT found it. |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
312 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
313 | 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
|
314 | then |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
315 | AC_MSG_ERROR([ |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
316 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
317 | 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
|
318 | 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
|
319 | GNU gettext to continue. |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
320 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
321 | 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
|
322 | 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
|
323 | 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
|
324 | 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
|
325 | configure again, like this: |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
326 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
327 | MSGFMT=/path/to/msgfmt ./configure ... |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
328 | ]) |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
329 | fi |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
330 | fi #enable_i18n |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
331 | |
|
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
|
332 | 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
|
333 | |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29856
diff
changeset
|
334 | dnl ####################################################################### |
|
31632
5925b7b56e9d
Increase glib minimum requirement to 2.16.0 as I discussed on-list.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31565
diff
changeset
|
335 | dnl # Check for GLib 2.16 (required) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
336 | dnl ####################################################################### |
|
31632
5925b7b56e9d
Increase glib minimum requirement to 2.16.0 as I discussed on-list.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31565
diff
changeset
|
337 | PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0 gthread-2.0], , [ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
338 | AC_MSG_RESULT(no) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
339 | AC_MSG_ERROR([ |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
340 | |
|
31632
5925b7b56e9d
Increase glib minimum requirement to 2.16.0 as I discussed on-list.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31565
diff
changeset
|
341 | You must have GLib 2.16.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
|
342 | |
|
2ac5912cbeb6
Add a note about pkg-config to configure.ac if glib2 headers were not
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21600
diff
changeset
|
343 | 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
|
344 | I can find them. |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
345 | ])]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
346 | AC_SUBST(GLIB_CFLAGS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
347 | AC_SUBST(GLIB_LIBS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
348 | |
|
23697
299bafcd8eb8
Updates voice and video to use Farsight 2, gets XMPP voice conferences
Michael Ruprecht <maiku@pidgin.im>
parents:
23696
diff
changeset
|
349 | GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0` |
|
299bafcd8eb8
Updates voice and video to use Farsight 2, gets XMPP voice conferences
Michael Ruprecht <maiku@pidgin.im>
parents:
23696
diff
changeset
|
350 | 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
|
351 | |
|
21106
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
352 | AC_ARG_WITH([extraversion], |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
353 | AC_HELP_STRING([--with-extraversion=STRING], |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
354 | [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
|
355 | 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
|
356 | |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
357 | 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
|
358 | 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
|
359 | else |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
360 | 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
|
361 | fi |
|
b85fbef13eed
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21077
diff
changeset
|
362 | |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
363 | AC_ARG_ENABLE(missing-dependencies, [AC_HELP_STRING([--disable-missing-dependencies], |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
364 | [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
|
365 | 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
|
366 | |
|
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
|
367 | AC_ARG_WITH(x, [], |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
368 | with_x="$withval", with_x="yes") |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
369 | AC_ARG_ENABLE(gtkui, [AC_HELP_STRING([--disable-gtkui], |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
370 | [compile without GTK+ user interface])], |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
371 | enable_gtkui="$enableval", enable_gtkui="yes") |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
372 | AC_ARG_ENABLE(consoleui, [AC_HELP_STRING([--disable-consoleui], |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
373 | [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
|
374 | [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
|
375 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
376 | dnl ####################################################################### |
|
28328
22144d7e5f4e
Pidgin 2.7.0 will now require GTK+ 2.10.0 and Glib 2.12.0. Refs #10024.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28327
diff
changeset
|
377 | dnl # Check for GTK+ 2.10 and other things used by the GTK UI |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
378 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
379 | AC_ARG_ENABLE(screensaver, |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
380 | [AC_HELP_STRING([--disable-screensaver], |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
381 | [compile without X screensaver extension (used to detect idleness)])], |
| 14859 | 382 | enable_screensaver="$enableval", enable_screensaver="yes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
383 | AC_ARG_ENABLE(sm, |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
384 | [AC_HELP_STRING([--disable-sm], |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
385 | [compile without X session management support])], |
| 14859 | 386 | enable_sm="$enableval", enable_sm="yes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
387 | AC_ARG_ENABLE(startup-notification, |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
388 | [AC_HELP_STRING([--disable-startup-notification], |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
389 | [compile without startup notification support])], |
| 14859 | 390 | enable_startup_notification="$enableval", enable_startup_notification="yes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
391 | AC_ARG_ENABLE(gtkspell, |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
392 | [AC_HELP_STRING([--disable-gtkspell], |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
393 | [compile without GtkSpell automatic spell checking])], |
| 14859 | 394 | enable_gtkspell="$enableval", enable_gtkspell="yes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
395 | AC_ARG_ENABLE(gevolution, |
|
22783
43b697ca2f9e
Make the gevolution plugin disabled by default. Again, if anyone disagrees
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22780
diff
changeset
|
396 | [AC_HELP_STRING([--enable-gevolution], |
|
43b697ca2f9e
Make the gevolution plugin disabled by default. Again, if anyone disagrees
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22780
diff
changeset
|
397 | [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
|
398 | enable_gevolution="$enableval", enable_gevolution="no") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
399 | AC_ARG_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
|
400 | [AC_HELP_STRING([--enable-cap], |
|
36a4d7c64d00
Make the cap plugin disabled by default. As usual, anyone who disagrees or
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22783
diff
changeset
|
401 | [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
|
402 | 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
|
403 | AC_ARG_ENABLE(gestures, |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
404 | [AC_HELP_STRING([--disable-gestures], |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
405 | [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
|
406 | enable_gestures="$enableval", enable_gestures="yes") |
|
14621
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
407 | |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
408 | AC_PATH_XTRA |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
409 | # 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
|
410 | # 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
|
411 | # Ditto for $x_includes |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
412 | 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
|
413 | x_libpath_add= |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
414 | else |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
415 | x_libpath_add="-L$x_libraries" |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
416 | fi |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
417 | 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
|
418 | x_incpath_add= |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
419 | else |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
420 | x_incpath_add="-I$x_includes" |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
421 | fi |
|
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
422 | |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
423 | if test "x$enable_gtkui" = "xyes" ; then |
|
28328
22144d7e5f4e
Pidgin 2.7.0 will now require GTK+ 2.10.0 and Glib 2.12.0. Refs #10024.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28327
diff
changeset
|
424 | PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.10.0], , [ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
425 | AC_MSG_RESULT(no) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
426 | AC_MSG_ERROR([ |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
427 | |
|
28328
22144d7e5f4e
Pidgin 2.7.0 will now require GTK+ 2.10.0 and Glib 2.12.0. Refs #10024.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28327
diff
changeset
|
428 | You must have GTK+ 2.10.0 or newer development headers installed to compile |
|
28285
d288a79d7401
applied changes from 72b3be2a12aafc0f3b5367f8ca20a893422d36f6
Mark Doliner <markdoliner@pidgin.im>
parents:
28241
diff
changeset
|
429 | 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
|
430 | running configure. |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
431 | ])]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
432 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
433 | AC_SUBST(GTK_CFLAGS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
434 | AC_SUBST(GTK_LIBS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
435 | |
|
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
|
436 | 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
|
437 | 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
|
438 | 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
|
439 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
440 | 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
|
441 | 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
|
442 | 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
|
443 | 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
|
444 | 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
|
445 | [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
|
446 | [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
|
447 | 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
|
448 | 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
|
449 | 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
|
450 | else |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
451 | 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
|
452 | 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
|
453 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
454 | 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
|
455 | 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
|
456 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
457 | fi |
|
20069
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
458 | fi |
|
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
459 | ]) |
|
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
|
460 | 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
|
461 | 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
|
462 | else |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
463 | enable_screensaver=no |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
464 | enable_sm=no |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
465 | 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
|
466 | fi |
|
20069
1c15dda79261
Hopefully fix the broken detection of X11 stuffs on older X installations
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20068
diff
changeset
|
467 | |
|
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
|
468 | dnl ####################################################################### |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
469 | dnl # Check for XScreenSaver |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
470 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
471 | if test "x$enable_screensaver" = "xyes" ; then |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
472 | 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
|
473 | old_LIBS="$LIBS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
474 | LIBS="$LIBS $GTK_LIBS $x_libpath_add" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
475 | XSS_LIBS="" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
476 | XSS_HEADERS="" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
477 | AC_CHECK_LIB(Xext, XScreenSaverRegister,[XSS_LIBS="$X_LIBS $X_PRE_LIBS -lX11 -lXext $X_EXTRA_LIBS"],[],[-lX11 -lXext -lm]) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
478 | AC_CHECK_LIB(Xss, XScreenSaverRegister,[XSS_LIBS="$X_LIBS $X_PRE_LIBS -lX11 -lXext $X_LIBS $X_EXTRA_LIBS -lXss"],[],[-lX11 -lXext -lm]) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
479 | if test "x$XSS_LIBS" != "x"; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
480 | oldCPPFLAGS="$CPPFLAGS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
481 | CPPFLAGS="$CPPFLAGS $x_incpath_add" |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
482 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
483 | #include <X11/Xlib.h> |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
484 | #include <X11/extensions/scrnsaver.h> |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
485 | ]], [[]])], [], [enable_screensaver=no]) |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
486 | CPPFLAGS="$oldCPPFLAGS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
487 | else |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
488 | enable_screensaver=no |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
489 | fi |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
490 | LIBS="$old_LIBS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
491 | |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
492 | if test "x$enable_screensaver" = "xyes" ; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
493 | AC_DEFINE(USE_SCREENSAVER, 1, [Define if we're using XScreenSaver.]) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
494 | AC_SUBST(XSS_LIBS) |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
495 | else |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
496 | 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
|
497 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
498 | XScreenSaver extension development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
499 | Use --disable-screensaver if you do not need XScreenSaver extension support, |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
500 | this is required for detecting idle time by mouse and keyboard usage. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
501 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
502 | fi |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
503 | fi |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
504 | else |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
505 | AC_MSG_ERROR([X support is required to build with XScreenSaver extensions]) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
506 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
507 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
508 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
509 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
510 | dnl # Check for X session management libs |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
511 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
512 | if test "x$enable_sm" = "xyes"; then |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
513 | 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
|
514 | enable_sm=no |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
515 | AC_CHECK_LIB(SM, SmcSaveYourselfDone, found_sm_lib=true, , [$x_libpath_add -lICE]) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
516 | if test "x$found_sm_lib" = "xtrue"; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
517 | oldCPPFLAGS="$CPPFLAGS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
518 | CPPFLAGS="$CPPFLAGS $x_incpath_add" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
519 | AC_CHECK_HEADERS(X11/SM/SMlib.h, SM_LIBS="$x_libpath_add -lSM -lICE" enable_sm=yes) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
520 | CPPFLAGS="$oldCPPFLAGS" |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
521 | fi |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
522 | |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
523 | if test "x$enable_sm" = "xyes"; then |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
524 | AC_DEFINE(USE_SM, 1, [Define if we're using X Session Management.]) |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
525 | AC_SUBST(SM_LIBS) |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
526 | else |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
527 | 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
|
528 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
529 | X session management development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
530 | Use --disable-sm if you do not need session management support. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
531 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
532 | fi |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
533 | fi |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
534 | else |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
535 | AC_MSG_ERROR([X support is required to build with X session management support]) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
536 | fi |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
537 | fi |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
538 | |
|
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
|
539 | 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
|
540 | 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
|
541 | 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
|
542 | 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
|
543 | 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
|
544 | enable_gestures=no |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
545 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
546 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
547 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
548 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
549 | dnl # Check for GtkSpell |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
550 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
551 | if test "x$enable_gtkspell" = "xyes" ; then |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
552 | PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0 >= 2.0.2, , [ |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
553 | 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
|
554 | enable_gtkspell="no" |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
555 | 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
|
556 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
557 | GtkSpell development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
558 | Use --disable-gtkspell if you do not need it. |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
559 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
560 | fi]) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
561 | if test "x$enable_gtkspell" = "xyes" ; then |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
562 | AC_DEFINE(USE_GTKSPELL, 1, [Define if we're using GtkSpell]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
563 | AC_SUBST(GTKSPELL_CFLAGS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
564 | AC_SUBST(GTKSPELL_LIBS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
565 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
566 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
567 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
568 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
569 | dnl # Check for stuff needed by the Evolution integration plugin. |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
570 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
571 | if test "x$enable_gevolution" = "xyes"; then |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
572 | evo_deps="libebook-1.2 libedata-book-1.2" |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
573 | PKG_CHECK_MODULES(EVOLUTION_ADDRESSBOOK, $evo_deps, , [ |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
574 | enable_gevolution="no" |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
575 | ]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
576 | if test "x$enable_gevolution" = "xno"; then |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
577 | evo_deps="libebook-1.0 libedata-book-1.0" |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
578 | PKG_CHECK_MODULES(EVOLUTION_ADDRESSBOOK, $evo_deps, [ |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
579 | enable_gevolution="yes" |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
580 | ]) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
581 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
582 | if test "x$enable_gevolution" = "xyes"; then |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
583 | 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
|
584 | AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
585 | 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
|
586 | else |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
587 | 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
|
588 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
589 | Evolution development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
590 | 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
|
591 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
592 | fi |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
593 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
594 | fi |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
595 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
596 | dnl ####################################################################### |
|
14573
7e18a0a07718
[gaim-migrate @ 17231]
Geoff Foster <g-off_@users.sourceforge.net>
parents:
14539
diff
changeset
|
597 | dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
598 | dnl ####################################################################### |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
599 | if test "x$enable_cap" = "xyes"; then |
|
14733
7e2a1598624d
[gaim-migrate @ 17417]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14666
diff
changeset
|
600 | 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
|
601 | 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
|
602 | 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
|
603 | 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
|
604 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
605 | 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
|
606 | 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
|
607 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
608 | fi]) |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
609 | fi |
|
19656
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
610 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
611 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
612 | else # GTK |
|
14733
7e2a1598624d
[gaim-migrate @ 17417]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14666
diff
changeset
|
613 | enable_cap=no |
|
7e2a1598624d
[gaim-migrate @ 17417]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14666
diff
changeset
|
614 | enable_gevolution=no |
|
7e2a1598624d
[gaim-migrate @ 17417]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14666
diff
changeset
|
615 | enable_gtkspell=no |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
616 | enable_screensaver=no |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
617 | enable_sm=no |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
618 | enable_startup_notification=no |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
619 | fi # GTK |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
620 | |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
621 | AM_CONDITIONAL(ENABLE_GTK, test "x$enable_gtkui" = "xyes") |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
622 | AM_CONDITIONAL(BUILD_GEVOLUTION, test "x$enable_gevolution" = "xyes") |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
623 | 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
|
624 | AM_CONDITIONAL(ENABLE_GESTURES, test "x$enable_gestures" = "xyes") |
|
c7cdc9801b60
Remove X11 specifics from configure.ac. Allows to build against native, non-X11 Quartz
Sean Egan <seanegan@pidgin.im>
parents:
19651
diff
changeset
|
625 | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
626 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
627 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
628 | 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
|
629 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
630 | GNT_LIBS="" |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
631 | GNT_CFLAGS="" |
|
15312
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
632 | AC_ARG_WITH(ncurses-headers, [AC_HELP_STRING([--with-ncurses-headers=DIR], |
|
15909
0ee1e930d385
Rename/update finch man page
Richard Nelson <wabz@pidgin.im>
parents:
15901
diff
changeset
|
633 | [compile finch against the ncurses includes in DIR])], |
|
15312
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
634 | [ac_ncurses_includes="$withval"], [ac_ncurses_includes=""]) |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
635 | if test "x$enable_consoleui" = "xyes"; then |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
636 | 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
|
637 | 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
|
638 | [enable_consoleui=no], [$GNT_LIBS]) |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
639 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
640 | if test "x$enable_consoleui" = "xyes"; then |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
641 | 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
|
642 | found_ncurses_h=no |
|
15312
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
643 | for location in $ac_ncurses_includes $NCURSES_HEADERS /usr/include/ncursesw /usr/include |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
644 | do |
|
15312
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
645 | f="$location/ncurses.h" |
|
30498
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
646 | orig_CFLAGS="$CFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
647 | orig_CPPFLAGS="$CPPFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
648 | CFLAGS="$CFLAGS -I$location" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
649 | CPPFLAGS="$CPPFLAGS -I$location" |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
650 | AC_CHECK_HEADER($f,[ |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
651 | 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
|
652 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
653 | #define _XOPEN_SOURCE_EXTENDED |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
654 | #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
|
655 | ]], [[ |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
656 | #ifndef get_wch |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
657 | # error get_wch not found! |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
658 | #endif |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
659 | ]])], [ |
|
15332
91c86b5315fb
[gaim-migrate @ 18060]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15312
diff
changeset
|
660 | dir=$location |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
661 | if test x"$dir" != x"." ; then |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
662 | GNT_CFLAGS="-I$dir/" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
663 | else |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
664 | GNT_CFLAGS="" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
665 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
666 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
667 | found_ncurses_h=yes |
|
30498
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
668 | CFLAGS="$orig_CFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
669 | CPPFLAGS="$orig_CPPFLAGS" |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
670 | AC_MSG_RESULT([yes]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
671 | break |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
672 | ], [ |
|
30498
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
673 | CFLAGS="$orig_CFLAGS" |
|
079df2f23d52
Fix build with --with-ncurses-headers.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
30491
diff
changeset
|
674 | CPPFLAGS="$orig_CPPFLAGS" |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
675 | AC_MSG_RESULT([no]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
676 | ]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
677 | ]) |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
678 | done |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
679 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
680 | if test x"$found_ncurses_h" = x"no" ; then |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
681 | GNT_LIBS="" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
682 | GNT_CFLAGS="" |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
683 | enable_consoleui=no |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
684 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
685 | else |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
686 | # ncursesw was not found. Look for plain old ncurses |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
687 | enable_consoleui=yes |
|
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
688 | 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
|
689 | 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
|
690 | [enable_consoleui=no], [$GNT_LIBS]) |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
691 | 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
|
692 | if test x"$ac_ncurses_includes" != "x"; then |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
693 | GNT_CFLAGS="-I$ac_ncurses_includes" |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
694 | else |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
695 | if test x"$NCURSES_HEADERS" != "x"; then |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
696 | GNT_CFLAGS="-I$NCURSES_HEADERS" |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
697 | fi |
|
42e2c73b6b9c
[gaim-migrate @ 18040]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15248
diff
changeset
|
698 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
699 | fi |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
700 | fi |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
701 | |
|
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
|
702 | 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
|
703 | 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
|
704 | |
|
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
|
705 | 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
|
706 | |
|
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
|
707 | ]) |
|
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
|
708 | 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
|
709 | |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
710 | AC_SUBST(GNT_LIBS) |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
711 | AC_SUBST(GNT_CFLAGS) |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
712 | AM_CONDITIONAL(ENABLE_GNT, test "x$enable_consoleui" = "xyes") |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
713 | |
|
14539
7d5528c864a1
[gaim-migrate @ 17195]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14533
diff
changeset
|
714 | #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
|
715 | |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
716 | dnl ####################################################################### |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
717 | dnl # Check for LibXML2 (required) |
| 13720 | 718 | dnl ####################################################################### |
|
14621
907c1e7a75a9
[gaim-migrate @ 17282]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14599
diff
changeset
|
719 | PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.6.0], , [ |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
720 | AC_MSG_RESULT(no) |
|
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
721 | AC_MSG_ERROR([ |
|
16247
f9e1e46abbae
Deal with Gaim in some error messages.
Richard Laager <rlaager@pidgin.im>
parents:
16206
diff
changeset
|
722 | 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
|
723 | ])]) |
|
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
|
724 | 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
|
725 | 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
|
726 | 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
|
727 | ])]) |
|
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
|
728 | |
| 13808 | 729 | AC_SUBST(LIBXML_CFLAGS) |
| 730 | AC_SUBST(LIBXML_LIBS) | |
|
14498
ede839a78714
[gaim-migrate @ 17150]
Mark Doliner <markdoliner@pidgin.im>
parents:
14492
diff
changeset
|
731 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
732 | dnl ####################################################################### |
| 14582 | 733 | dnl # GConf schemas |
| 734 | dnl ####################################################################### | |
| 735 | AC_PATH_PROG(GCONFTOOL, gconftool-2, no) | |
| 736 | AM_CONDITIONAL(USE_GCONFTOOL, test "x$GCONFTOOL" != "xno") | |
| 737 | AM_GCONF_SOURCE_2 | |
| 738 | ||
| 739 | dnl ####################################################################### | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
740 | dnl # Check for GStreamer |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
741 | dnl ####################################################################### |
|
22631
ba53b0eadb20
Revert the dependency on gstreamer-0.10 >= 0.10.10, falling back to the SIGALRM
Will Thompson <resiak@pidgin.im>
parents:
22630
diff
changeset
|
742 | dnl |
|
ba53b0eadb20
Revert the dependency on gstreamer-0.10 >= 0.10.10, falling back to the SIGALRM
Will Thompson <resiak@pidgin.im>
parents:
22630
diff
changeset
|
743 | dnl TODO: Depend on gstreamer >= 0.10.10, and remove the conditional use of |
|
ba53b0eadb20
Revert the dependency on gstreamer-0.10 >= 0.10.10, falling back to the SIGALRM
Will Thompson <resiak@pidgin.im>
parents:
22630
diff
changeset
|
744 | dnl gst_registry_fork_set_enabled. |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
745 | AC_ARG_ENABLE(gstreamer, |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
746 | [AC_HELP_STRING([--disable-gstreamer], [compile without GStreamer audio support])], |
| 14859 | 747 | enable_gst="$enableval", enable_gst="yes") |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
748 | if test "x$enable_gst" != "xno"; then |
|
22631
ba53b0eadb20
Revert the dependency on gstreamer-0.10 >= 0.10.10, falling back to the SIGALRM
Will Thompson <resiak@pidgin.im>
parents:
22630
diff
changeset
|
749 | PKG_CHECK_MODULES(GSTREAMER, [gstreamer-0.10], [ |
|
17638
16ff20de7f03
This patch from QuLogic fixes autoconf such that gstreamer will not be
Ethan Blanton <elb@pidgin.im>
parents:
17451
diff
changeset
|
750 | AC_DEFINE(USE_GSTREAMER, 1, [Use GStreamer for playing sounds]) |
|
16ff20de7f03
This patch from QuLogic fixes autoconf such that gstreamer will not be
Ethan Blanton <elb@pidgin.im>
parents:
17451
diff
changeset
|
751 | AC_SUBST(GSTREAMER_CFLAGS) |
|
16ff20de7f03
This patch from QuLogic fixes autoconf such that gstreamer will not be
Ethan Blanton <elb@pidgin.im>
parents:
17451
diff
changeset
|
752 | AC_SUBST(GSTREAMER_LIBS) |
|
22631
ba53b0eadb20
Revert the dependency on gstreamer-0.10 >= 0.10.10, falling back to the SIGALRM
Will Thompson <resiak@pidgin.im>
parents:
22630
diff
changeset
|
753 | AC_CHECK_LIB(gstreamer-0.10, gst_registry_fork_set_enabled, |
|
ba53b0eadb20
Revert the dependency on gstreamer-0.10 >= 0.10.10, falling back to the SIGALRM
Will Thompson <resiak@pidgin.im>
parents:
22630
diff
changeset
|
754 | [ AC_DEFINE(GST_CAN_DISABLE_FORKING, [], |
|
ba53b0eadb20
Revert the dependency on gstreamer-0.10 >= 0.10.10, falling back to the SIGALRM
Will Thompson <resiak@pidgin.im>
parents:
22630
diff
changeset
|
755 | [Define if gst_registry_fork_set_enabled exists])], |
|
ba53b0eadb20
Revert the dependency on gstreamer-0.10 >= 0.10.10, falling back to the SIGALRM
Will Thompson <resiak@pidgin.im>
parents:
22630
diff
changeset
|
756 | [], [$GSTREAMER_LIBS]) |
|
17638
16ff20de7f03
This patch from QuLogic fixes autoconf such that gstreamer will not be
Ethan Blanton <elb@pidgin.im>
parents:
17451
diff
changeset
|
757 | ], [ |
|
16ff20de7f03
This patch from QuLogic fixes autoconf such that gstreamer will not be
Ethan Blanton <elb@pidgin.im>
parents:
17451
diff
changeset
|
758 | AC_MSG_RESULT(no) |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
759 | enable_gst="no" |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
760 | if test "x$force_deps" = "xyes" ; then |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
761 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
762 | GStreamer development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
763 | Use --disable-gstreamer if you do not need GStreamer (sound) support. |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
764 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
765 | fi]) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
766 | fi |
| 13808 | 767 | |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
768 | dnl ####################################################################### |
|
26714
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
769 | dnl # Check for GStreamer Interfaces |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
770 | dnl ####################################################################### |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
771 | if test "x$enable_gst" != "xno"; then |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
772 | AC_ARG_ENABLE(gstreamer-interfaces, |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
773 | [AC_HELP_STRING([--disable-gstreamer-interfaces], [compile without GStreamer interface support])], |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
774 | enable_gstinterfaces="$enableval", enable_gstinterfaces="yes") |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
775 | if test "x$enable_gstinterfaces" != "xno"; then |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
776 | PKG_CHECK_MODULES(GSTINTERFACES, [gstreamer-interfaces-0.10], [ |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
777 | AC_DEFINE(USE_GSTINTERFACES, 1, [Use GStreamer interfaces for X overlay support]) |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
778 | AC_SUBST(GSTINTERFACES_CFLAGS) |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
779 | AC_SUBST(GSTINTERFACES_LIBS) |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
780 | ], [ |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
781 | enable_gstinterfaces="no" |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
782 | ]) |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
783 | fi |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
784 | else |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
785 | enable_gstinterfaces="no" |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
786 | fi |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
787 | |
|
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
788 | dnl ####################################################################### |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
789 | dnl # Check for Farstream |
|
19881
d80b4d01457e
Add Farsight to configure.ac
Sean Egan <seanegan@pidgin.im>
parents:
19656
diff
changeset
|
790 | dnl ####################################################################### |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
791 | AC_ARG_ENABLE(farstream, |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
792 | [AC_HELP_STRING([--disable-farstream], [compile without farstream support])], |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
793 | enable_farstream="$enableval", enable_farstream="yes") |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
794 | if test "x$enable_farstream" != "xno"; then |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
795 | PKG_CHECK_MODULES(FARSTREAM, [farstream-0.1], [ |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
796 | AC_SUBST(FARSTREAM_CFLAGS) |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
797 | AC_SUBST(FARSTREAM_LIBS) |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
798 | ], [ |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
799 | # Try farsight. |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
800 | PKG_CHECK_MODULES(FARSTREAM, [farsight2-0.10 >= 0.0.9], [ |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
801 | AC_DEFINE(HAVE_FARSIGHT, 1, [Use Farsight instead of Farstream]) |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
802 | AC_SUBST(FARSTREAM_CFLAGS) |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
803 | AC_SUBST(FARSTREAM_LIBS) |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
804 | ], [ |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
805 | enable_farstream="no" |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
806 | ]) |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
807 | ]) |
|
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
808 | fi |
|
19881
d80b4d01457e
Add Farsight to configure.ac
Sean Egan <seanegan@pidgin.im>
parents:
19656
diff
changeset
|
809 | |
|
22648
e286d795c5f9
Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22647
diff
changeset
|
810 | dnl ####################################################################### |
|
23703
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
811 | 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
|
812 | dnl ####################################################################### |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
813 | AC_ARG_ENABLE(vv, |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
814 | [AC_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
|
815 | 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
|
816 | if test "x$enable_vv" != "xno"; then |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
817 | if test "x$enable_gstreamer" != "xno" -a "x$enable_gstinterfaces" != "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
|
818 | 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
|
819 | else |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
820 | 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
|
821 | 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
|
822 | AC_MSG_ERROR([ |
|
26714
0f1f4178f6e7
Some configure.ac updates.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26656
diff
changeset
|
823 | Dependencies for voice/video were not met. |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
824 | 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
|
825 | 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
|
826 | ]) |
|
69f29e0c8111
Abort build if we use --enable-vv, and vv-dependencies are not met.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26637
diff
changeset
|
827 | fi |
|
23703
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
828 | fi |
|
5fb5502c76c3
Change configure script to have a separate check for voice and video
Michael Ruprecht <maiku@pidgin.im>
parents:
23702
diff
changeset
|
829 | fi |
|
32113
2a75cce047d5
Port to Farstream
Olivier Crête <olivier.crete@collabora.com>
parents:
32106
diff
changeset
|
830 | AM_CONDITIONAL(USE_VV, test "x$enable_gstreamer" != "xno" -a "x$enable_gstinterfaces" != "xno" -a "x$enable_farstream" != "xno") |
|
22648
e286d795c5f9
Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22647
diff
changeset
|
831 | |
|
29147
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
832 | dnl ####################################################################### |
|
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
833 | dnl # Check for Internationalized Domain Name support |
|
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
834 | dnl ####################################################################### |
|
68498038891f
Minor commenting.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
835 | |
|
27849
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
836 | AC_ARG_ENABLE(idn, |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
837 | [AC_HELP_STRING([--disable-idn], [compile without IDN support])], |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
838 | [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
|
839 | 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
|
840 | 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
|
841 | 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
|
842 | 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
|
843 | 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
|
844 | ], [ |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
845 | 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
|
846 | 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
|
847 | 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
|
848 | AC_MSG_ERROR([ |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
849 | 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
|
850 | 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
|
851 | ]) |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
852 | fi |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
853 | ]) |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
854 | fi |
|
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
855 | |
|
19881
d80b4d01457e
Add Farsight to configure.ac
Sean Egan <seanegan@pidgin.im>
parents:
19656
diff
changeset
|
856 | dnl ####################################################################### |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
857 | dnl # Check for Meanwhile headers (for Sametime) |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
858 | dnl ####################################################################### |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
859 | AC_ARG_ENABLE(meanwhile, |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
860 | [AC_HELP_STRING([--disable-meanwhile], |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
861 | [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
|
862 | 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
|
863 | 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
|
864 | 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
|
865 | have_meanwhile="yes" |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
866 | ], [ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
867 | 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
|
868 | 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
|
869 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
870 | 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
|
871 | 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
|
872 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
873 | fi]) |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
874 | fi |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
875 | AC_SUBST(MEANWHILE_CFLAGS) |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
876 | AC_SUBST(MEANWHILE_LIBS) |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
877 | |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
878 | 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
|
879 | 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
|
880 | dnl ####################################################################### |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
881 | AC_ARG_ENABLE(avahi, |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
882 | [AC_HELP_STRING([--disable-avahi], |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
883 | [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
|
884 | enable_avahi="$enableval", enable_avahi="yes") |
|
28302
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
885 | |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
886 | if test "x$enable_avahi" = "xyes"; then |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
887 | AC_ARG_WITH(avahi-client-includes, [AC_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"]) |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
888 | AC_ARG_WITH(avahi-client-libs, [AC_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"]) |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
889 | AVAHI_CFLAGS="" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
890 | 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
|
891 | |
|
28302
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
892 | dnl Attempt to autodetect Avahi |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
893 | PKG_CHECK_MODULES(AVAHI, [avahi-client avahi-glib], [ |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
894 | avahiincludes="yes" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
895 | avahilibs="yes" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
896 | ], [ |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
897 | avahiincludes="no" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
898 | avahilibs="no" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
899 | ]) |
|
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
|
900 | |
|
28302
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
901 | 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
|
902 | if test "$ac_avahi_client_includes" != "no"; then |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
903 | AVAHI_CFLAGS="-I$ac_avahi_client_includes" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
904 | fi |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
905 | CPPFLAGS_save="$CPPFLAGS" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
906 | CPPFLAGS="$CPPFLAGS $AVAHI_CFLAGS" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
907 | 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
|
908 | CPPFLAGS="$CPPFLAGS $AVAHI_CFLAGS $GLIB_CFLAGS" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
909 | 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
|
910 | CPPFLAGS="$CPPFLAGS_save" |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
911 | |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
912 | 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
|
913 | if test "$ac_avahi_client_libs" != "no"; then |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
914 | 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
|
915 | fi |
|
8bee3af43872
Fix --disable-avahi. Closes #9449.
Paul Aurich <darkrain42@pidgin.im>
parents:
28300
diff
changeset
|
916 | 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
|
917 | 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
|
918 | |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
919 | 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
|
920 | enable_avahi="no" |
|
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
921 | 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
|
922 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
923 | 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
|
924 | 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
|
925 | ]) |
|
29218
bf6fc038a9fa
Patch from Gabriel Schulhof to correctly disable all missing dependencies
Gabriel Schulhof <nix@go-nix.ca>
parents:
29204
diff
changeset
|
926 | fi |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
927 | 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
|
928 | 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
|
929 | 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
|
930 | |
|
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
|
931 | |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
932 | dnl ####################################################################### |
|
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
933 | dnl # Check for SILC client includes and libraries |
|
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
934 | dnl ####################################################################### |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
935 | AC_ARG_WITH(silc-includes, [AC_HELP_STRING([--with-silc-includes=DIR], [compile the SILC plugin against includes in DIR])], [ac_silc_includes="$withval"], [ac_silc_includes="no"]) |
|
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
936 | AC_ARG_WITH(silc-libs, [AC_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 | 937 | SILC_CFLAGS="" |
| 8850 | 938 | 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
|
939 | have_silc="no" |
| 9905 | 940 | if test -n "$with_silc_includes" || test -n "$with_silc_libs"; then |
| 941 | silc_manual_check="yes" | |
| 942 | else | |
| 943 | silc_manual_check="no" | |
| 8850 | 944 | fi |
| 9905 | 945 | 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
|
946 | PKG_CHECK_MODULES(SILC, [silcclient >= 1.1], [ |
| 9905 | 947 | have_silc="yes" |
| 948 | silcincludes="yes" | |
| 949 | silcclient="yes" | |
|
13171
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
950 | ], [ |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
951 | have_silc="no" |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
952 | ]) |
|
10803
9170a8914af7
[gaim-migrate @ 12450]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10628
diff
changeset
|
953 | if test "x$have_silc" = "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
|
954 | PKG_CHECK_MODULES(SILC, silcclient, [ |
|
10803
9170a8914af7
[gaim-migrate @ 12450]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10628
diff
changeset
|
955 | have_silc="yes" |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
956 | silc10includes="yes" |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
957 | silc10client="yes" |
|
13171
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
958 | ], [ |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
959 | have_silc="no" |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
960 | ]) |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
961 | dnl If silcclient.pc wasn't found, check for just silc.pc |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
962 | if test "x$have_silc" = "xno"; then |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
963 | PKG_CHECK_MODULES(SILC, silc, [ |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
964 | 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
|
965 | silc10includes="yes" |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
966 | silc10client="yes" |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
967 | ], [ |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
968 | have_silc="no" |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
969 | ]) |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
970 | fi |
|
10803
9170a8914af7
[gaim-migrate @ 12450]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10628
diff
changeset
|
971 | fi |
| 9905 | 972 | else |
| 973 | if test "$ac_silc_includes" != "no"; then | |
| 974 | SILC_CFLAGS="-I$ac_silc_includes" | |
| 975 | fi | |
| 976 | CPPFLAGS_save="$CPPFLAGS" | |
| 977 | 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
|
978 | AC_CHECK_HEADER(silc.h, [silcincludes=yes]) |
| 9905 | 979 | CPPFLAGS="$CPPFLAGS_save" |
| 980 | ||
| 981 | if test "$ac_silc_libs" != "no"; then | |
| 982 | SILC_LIBS="-L$ac_silc_libs" | |
| 983 | fi | |
|
12038
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
984 | SILC_LIBS="$SILC_LIBS -lsilc -lsilcclient -lpthread $LIBDL" |
| 9905 | 985 | 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
|
986 | |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
987 | 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
|
988 | 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
|
989 | else |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
990 | CPPFLAGS_save="$CPPFLAGS" |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
991 | CPPFLAGS="$CPPFLAGS $SILC_CFLAGS" |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
992 | AC_CHECK_HEADER(silcincludes.h, [silc10includes=yes]) |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
993 | CPPFLAGS="$CPPFLAGS_save" |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
994 | |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
995 | SILC_LIBS="$SILC_LIBS -lsilc -lsilcclient -lpthread $LIBDL" |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
996 | AC_CHECK_LIB(silcclient, silc_client_init, [silc10client=yes], , $SILC_LIBS) |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
997 | if test "x$silc10includes" = "xyes" -a "x$silc10client" = "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
|
998 | 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
|
999 | fi |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1000 | fi |
| 9905 | 1001 | fi |
| 8850 | 1002 | AC_SUBST(SILC_LIBS) |
| 9905 | 1003 | AC_SUBST(SILC_CFLAGS) |
|
12217
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1004 | dnl SILC Toolkit >= 1.0.1 has a new MIME API |
|
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1005 | 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
|
1006 | AC_DEFINE(HAVE_SILCMIME_H, 1, [Define if we have silcmime.h]) |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1007 | elif test "x$silc10client" = "xyes"; then |
|
12217
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1008 | CPPFLAGS_save="$CPPFLAGS" |
|
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1009 | CPPFLAGS="$CPPFLAGS $SILC_CFLAGS" |
|
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1010 | AC_MSG_CHECKING(for silcmime.h) |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
1011 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
12217
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1012 | #include <silcincludes.h> |
|
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1013 | #include <silcmime.h> |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
1014 | ]], [[]])], [ |
|
12217
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1015 | AC_MSG_RESULT(yes) |
|
13324
8ff1c408ef3e
[gaim-migrate @ 15693]
Richard Laager <rlaager@pidgin.im>
parents:
13320
diff
changeset
|
1016 | 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
|
1017 | ], [ |
|
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1018 | AC_MSG_RESULT(no) |
|
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1019 | ]) |
|
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1020 | CPPFLAGS="$CPPFLAGS_save" |
|
ea610d8ab584
[gaim-migrate @ 14519]
Pekka Riikonen <priikone@silcnet.org>
parents:
12123
diff
changeset
|
1021 | fi |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1022 | |
| 13318 | 1023 | dnl ####################################################################### |
|
13776
0578ed4d2284
[gaim-migrate @ 16186]
Mark Doliner <markdoliner@pidgin.im>
parents:
13773
diff
changeset
|
1024 | dnl # Check for Gadu-Gadu client includes and libraries |
| 13318 | 1025 | dnl ####################################################################### |
|
13820
52bd6836c49a
[gaim-migrate @ 16250]
Richard Laager <rlaager@pidgin.im>
parents:
13813
diff
changeset
|
1026 | AC_ARG_WITH(gadu-includes, [AC_HELP_STRING([--with-gadu-includes=DIR], [compile the Gadu-Gadu plugin against includes in DIR])], [ac_gadu_includes="$withval"], [ac_gadu_includes="no"]) |
|
52bd6836c49a
[gaim-migrate @ 16250]
Richard Laager <rlaager@pidgin.im>
parents:
13813
diff
changeset
|
1027 | AC_ARG_WITH(gadu-libs, [AC_HELP_STRING([--with-gadu-libs=DIR], [compile the Gadu-Gadu plugin against the libs in DIR])], [ac_gadu_libs="$withval"], [ac_gadu_libs="no"]) |
| 13318 | 1028 | GADU_CFLAGS="" |
| 1029 | GADU_LIBS="" | |
| 1030 | if test -n "$with_gadu_includes" || test -n "$with_gadu_libs"; then | |
| 1031 | gadu_manual_check="yes" | |
| 1032 | else | |
| 1033 | gadu_manual_check="no" | |
| 1034 | fi | |
| 1035 | if test "x$gadu_manual_check" = "xno"; then | |
|
31826
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
31808
diff
changeset
|
1036 | PKG_CHECK_MODULES(GADU, [libgadu >= 1.11.0], [ |
| 13318 | 1037 | gadu_includes="yes" |
| 1038 | gadu_libs="yes" | |
| 1039 | ], [ | |
|
26755
5c2c25af0133
Don't print 'no' twice if GADU libs are not found by pkg-config.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26754
diff
changeset
|
1040 | gadu_includes="no" |
| 13318 | 1041 | ]) |
| 1042 | else | |
| 1043 | if test "$ac_gadu_includes" != "no"; then | |
| 1044 | GADU_CFLAGS="-I$ac_gadu_includes" | |
| 1045 | fi | |
| 1046 | CPPFLAGS_save="$CPPFLAGS" | |
| 1047 | CPPFLAGS="$CPPFLAGS $GADU_CFLAGS" | |
| 1048 | AC_CHECK_HEADER(libgadu.h, [gadu_includes=yes]) | |
| 1049 | CPPFLAGS="$CPPFLAGS_save" | |
| 1050 | ||
| 1051 | if test "$ac_gadu_libs" != "no"; then | |
| 1052 | GADU_LIBS="-L$ac_gadu_libs" | |
| 1053 | fi | |
| 1054 | GADU_LIBS="$GADU_LIBS -lgadu" | |
| 1055 | AC_CHECK_LIB(gadu, gg_libgadu_version, [gadu_libs=yes], , $GADU_LIBS) | |
| 1056 | fi | |
|
16736
5b4d366da44e
Filter -Wall from the GADU_CFLAGS. I'll let the libgadu folks know about this.
Richard Laager <rlaager@pidgin.im>
parents:
16732
diff
changeset
|
1057 | GADU_CFLAGS=`echo $GADU_CFLAGS |$sedpath 's/-Wall//'` |
| 13318 | 1058 | |
| 1059 | if test "x$gadu_libs" = "xyes"; then | |
| 1060 | AC_MSG_CHECKING(for libgadu GPL compatibility) | |
| 13466 | 1061 | CPPFLAGS_save="$CPPFLAGS" |
| 1062 | CPPFLAGS="$CPPFLAGS $GADU_CFLAGS" | |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
1063 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <libgadu.h>]], [[ |
|
21493
b8d052f19aad
Some versions of libgadu use __GG_LIBGADU_HAVE_OPENSSL, others use
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21481
diff
changeset
|
1064 | #if defined(__GG_LIBGADU_HAVE_OPENSSL) || defined(GG_CONFIG_HAVE_OPENSSL) |
| 13318 | 1065 | #error "libgadu is not compatible with the GPL when compiled with OpenSSL support." |
| 1066 | #endif | |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
1067 | ]])], [ |
|
29839
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1068 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <libgadu.h>]], [[ |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1069 | #if GG_DEFAULT_PROTOCOL_VERSION < 0x2e |
|
31826
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
31808
diff
changeset
|
1070 | #error "Your libgadu version is too old. libpurple requires 1.11.0 or higher." |
|
29839
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1071 | #endif |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1072 | ]])], [ |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1073 | AC_MSG_RESULT(yes) |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1074 | AC_DEFINE([HAVE_LIBGADU], [1], |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1075 | [Define to 1 if you have libgadu.]) |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1076 | ], [ |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1077 | AC_MSG_RESULT(no) |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1078 | echo |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1079 | echo |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1080 | echo "Your supplied copy of libgadu is too old." |
|
31826
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
31808
diff
changeset
|
1081 | echo "Install version 1.11.0 or newer." |
|
29839
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1082 | echo "Then rerun this ./configure" |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1083 | echo |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1084 | echo "Falling back to using our own copy of libgadu" |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1085 | echo |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1086 | GADU_LIBS="" |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1087 | GADU_CFLAGS="" |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1088 | gadu_libs=no |
|
6817ea4fe466
Don't use old versions of libgadu if the user specified a location for the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29838
diff
changeset
|
1089 | ]) |
| 13318 | 1090 | ], [ |
| 1091 | AC_MSG_RESULT(no) | |
| 1092 | echo | |
| 1093 | echo | |
| 1094 | echo "libgadu is not compatible with the GPL when compiled with OpenSSL support." | |
|
21493
b8d052f19aad
Some versions of libgadu use __GG_LIBGADU_HAVE_OPENSSL, others use
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21481
diff
changeset
|
1095 | echo "To compile against system libgadu, please recompile libgadu using:" |
| 13318 | 1096 | echo "./autogen.sh --disable-libgadu-openssl --disable-static --enable-shared" |
| 1097 | echo "Then rerun this ./configure" | |
| 1098 | echo | |
|
21493
b8d052f19aad
Some versions of libgadu use __GG_LIBGADU_HAVE_OPENSSL, others use
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21481
diff
changeset
|
1099 | echo "Falling back to using our own copy of libgadu" |
| 13318 | 1100 | echo |
| 1101 | GADU_LIBS="" | |
| 1102 | GADU_CFLAGS="" | |
| 1103 | gadu_libs=no | |
| 1104 | ]) | |
| 13466 | 1105 | CPPFLAGS="$CPPFLAGS_save" |
| 13318 | 1106 | fi |
| 1107 | ||
|
14666
a38d4736ed44
[gaim-migrate @ 17332]
Richard Laager <rlaager@pidgin.im>
parents:
14662
diff
changeset
|
1108 | AM_CONDITIONAL(USE_INTERNAL_LIBGADU, test "x$gadu_libs" != "xyes") |
|
14662
ffa7b2f70a37
[gaim-migrate @ 17327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14647
diff
changeset
|
1109 | |
|
29856
203c3499753f
Properly display "no" in the configure output when not using external libgadu.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29839
diff
changeset
|
1110 | if test "x$gadu_libs" = "x"; then |
|
203c3499753f
Properly display "no" in the configure output when not using external libgadu.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29839
diff
changeset
|
1111 | gadu_libs=no |
|
203c3499753f
Properly display "no" in the configure output when not using external libgadu.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29839
diff
changeset
|
1112 | fi |
|
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 | AC_SUBST(GADU_LIBS) |
| 1115 | AC_SUBST(GADU_CFLAGS) | |
| 1116 | ||
| 2129 | 1117 | AC_ARG_ENABLE(distrib,,,enable_distrib=no) |
| 1118 | AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") | |
| 8031 | 1119 | DYNAMIC_PRPLS=all |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1120 | AC_ARG_WITH(static-prpls, [AC_HELP_STRING([--with-static-prpls], [Link to certain protocols statically])], [STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`], [STATIC_PRPLS=""]) |
| 8031 | 1121 | if test "x$STATIC_PRPLS" != "x" -a "x$DYNAMIC_PRPLS" = "xall"; then |
| 1122 | DYNAMIC_PRPLS="" | |
| 1123 | fi | |
| 1124 | ||
| 2129 | 1125 | if test "x$STATIC_PRPLS" = "xall" ; then |
|
31684
f351c7834b76
Axe the useless qq prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31672
diff
changeset
|
1126 | STATIC_PRPLS="bonjour gg irc jabber msn myspace mxit novell oscar sametime silc simple yahoo zephyr" |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1127 | fi |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1128 | if test "x$have_meanwhile" != "xyes" ; then |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1129 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/sametime//'` |
|
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1130 | 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
|
1131 | 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
|
1132 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/bonjour//'` |
| 2129 | 1133 | fi |
| 8852 | 1134 | if test "x$silcincludes" != "xyes" -o "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
|
1135 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/silc/silc10/'` |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1136 | fi |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1137 | if test "x$silc10includes" != "xyes" -o "x$silc10client" != "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
|
1138 | STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/silc10//'` |
| 8852 | 1139 | fi |
| 2129 | 1140 | AC_SUBST(STATIC_PRPLS) |
| 1141 | STATIC_LINK_LIBS= | |
| 1142 | extern_init= | |
| 1143 | load_proto= | |
| 1144 | 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
|
1145 | dnl Ugly special case for "libsilcpurple.la": |
|
27758
ec0262f7e9a8
zac from the Adium team noticed that the static prpl foo for yahoo was no longer
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27694
diff
changeset
|
1146 | dnl ... and Ugly special case for multi-protocol oscar and yahoo |
|
17669
6effc1eec7fe
This started off as a patch from OpenSolaris to fix compiling with static
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17638
diff
changeset
|
1147 | if test \( "x$i" = "xoscar" -o "x$i" = "xaim" -o "x$i" = "xicq" \) -a "x$static_oscar" != "xyes"; then |
|
24609
c119f12de848
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
1148 | STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/oscar/liboscar.la" |
|
17669
6effc1eec7fe
This started off as a patch from OpenSolaris to fix compiling with static
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17638
diff
changeset
|
1149 | extern_init="$extern_init extern gboolean purple_init_aim_plugin();" |
|
6effc1eec7fe
This started off as a patch from OpenSolaris to fix compiling with static
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17638
diff
changeset
|
1150 | extern_init="$extern_init extern gboolean purple_init_icq_plugin();" |
|
6effc1eec7fe
This started off as a patch from OpenSolaris to fix compiling with static
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17638
diff
changeset
|
1151 | load_proto="$load_proto purple_init_aim_plugin();" |
|
6effc1eec7fe
This started off as a patch from OpenSolaris to fix compiling with static
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17638
diff
changeset
|
1152 | load_proto="$load_proto purple_init_icq_plugin();" |
|
27758
ec0262f7e9a8
zac from the Adium team noticed that the static prpl foo for yahoo was no longer
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27694
diff
changeset
|
1153 | elif test "x$i" = "xyahoo"; then |
|
ec0262f7e9a8
zac from the Adium team noticed that the static prpl foo for yahoo was no longer
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27694
diff
changeset
|
1154 | STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/yahoo/libymsg.la" |
|
ec0262f7e9a8
zac from the Adium team noticed that the static prpl foo for yahoo was no longer
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27694
diff
changeset
|
1155 | extern_init="$extern_init extern gboolean purple_init_yahoo_plugin();" |
|
ec0262f7e9a8
zac from the Adium team noticed that the static prpl foo for yahoo was no longer
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27694
diff
changeset
|
1156 | extern_init="$extern_init extern gboolean purple_init_yahoojp_plugin();" |
|
ec0262f7e9a8
zac from the Adium team noticed that the static prpl foo for yahoo was no longer
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27694
diff
changeset
|
1157 | load_proto="$load_proto purple_init_yahoo_plugin();" |
|
ec0262f7e9a8
zac from the Adium team noticed that the static prpl foo for yahoo was no longer
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27694
diff
changeset
|
1158 | load_proto="$load_proto purple_init_yahoojp_plugin();" |
|
11945
3013d1f6ca43
[gaim-migrate @ 14236]
Mark Doliner <markdoliner@pidgin.im>
parents:
11903
diff
changeset
|
1159 | else |
|
17669
6effc1eec7fe
This started off as a patch from OpenSolaris to fix compiling with static
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17638
diff
changeset
|
1160 | if test "x$i" = "xsilc"; then |
|
24609
c119f12de848
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
1161 | STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib${i}purple.la" |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1162 | elif test "x$i" = "xsilc10"; then |
|
24609
c119f12de848
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
1163 | STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/libsilcpurple.la" |
|
17669
6effc1eec7fe
This started off as a patch from OpenSolaris to fix compiling with static
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17638
diff
changeset
|
1164 | else |
|
24609
c119f12de848
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
1165 | STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib$i.la" |
|
17669
6effc1eec7fe
This started off as a patch from OpenSolaris to fix compiling with static
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17638
diff
changeset
|
1166 | fi |
|
6effc1eec7fe
This started off as a patch from OpenSolaris to fix compiling with static
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17638
diff
changeset
|
1167 | extern_init="$extern_init extern gboolean purple_init_${i}_plugin();" |
|
6effc1eec7fe
This started off as a patch from OpenSolaris to fix compiling with static
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17638
diff
changeset
|
1168 | load_proto="$load_proto purple_init_${i}_plugin();" |
|
11945
3013d1f6ca43
[gaim-migrate @ 14236]
Mark Doliner <markdoliner@pidgin.im>
parents:
11903
diff
changeset
|
1169 | fi |
| 2129 | 1170 | case $i in |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1171 | bonjour) static_bonjour=yes ;; |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1172 | gg) static_gg=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1173 | irc) static_irc=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1174 | jabber) static_jabber=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1175 | msn) static_msn=yes ;; |
|
16323
0335752f4bbe
Add MySpace prpl to configure.ac
Jeff Connelly <jeff2@soc.pidgin.im>
parents:
16292
diff
changeset
|
1176 | myspace) static_myspace=yes ;; |
|
28841
6b9568572bcb
Initial addition of the MXit protocol plugin, provided by the MXit folks
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28693
diff
changeset
|
1177 | mxit) static_mxit=yes ;; |
| 8675 | 1178 | novell) static_novell=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1179 | oscar) static_oscar=yes ;; |
|
15478
e0dc5250f702
I think this is what was meant
Nathan Walp <nwalp@pidgin.im>
parents:
15471
diff
changeset
|
1180 | aim) static_oscar=yes ;; |
|
e0dc5250f702
I think this is what was meant
Nathan Walp <nwalp@pidgin.im>
parents:
15471
diff
changeset
|
1181 | icq) static_oscar=yes ;; |
|
10977
5802457af313
[gaim-migrate @ 12803]
Christopher O'Brien <siege@pidgin.im>
parents:
10975
diff
changeset
|
1182 | sametime) static_sametime=yes ;; |
| 8849 | 1183 | silc) static_silc=yes ;; |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1184 | silc10) static_silc=yes ;; |
|
11182
9cb28f52220f
[gaim-migrate @ 13294]
Mark Doliner <markdoliner@pidgin.im>
parents:
11181
diff
changeset
|
1185 | simple) static_simple=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1186 | yahoo) static_yahoo=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1187 | 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
|
1188 | *) echo "Invalid static protocol $i!!" ; exit 1 ;; |
| 2129 | 1189 | esac |
| 1190 | 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
|
1191 | AM_CONDITIONAL(STATIC_BONJOUR, test "x$static_bonjour" = "xyes") |
|
2393
cfef0212506b
[gaim-migrate @ 2406]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2330
diff
changeset
|
1192 | AM_CONDITIONAL(STATIC_GG, test "x$static_gg" = "xyes") |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1193 | AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1194 | AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1195 | AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") |
|
16323
0335752f4bbe
Add MySpace prpl to configure.ac
Jeff Connelly <jeff2@soc.pidgin.im>
parents:
16292
diff
changeset
|
1196 | AM_CONDITIONAL(STATIC_MYSPACE, test "x$static_myspace" = "xyes") |
|
28841
6b9568572bcb
Initial addition of the MXit protocol plugin, provided by the MXit folks
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28693
diff
changeset
|
1197 | AM_CONDITIONAL(STATIC_MXIT, test "x$static_mxit" = "xyes") |
| 8675 | 1198 | AM_CONDITIONAL(STATIC_NOVELL, test "x$static_novell" = "xyes") |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1199 | AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1200 | 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
|
1201 | 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
|
1202 | AM_CONDITIONAL(STATIC_SIMPLE, test "x$static_simple" = "xyes") |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1203 | AM_CONDITIONAL(STATIC_YAHOO, test "x$static_yahoo" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
1204 | AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") |
| 2129 | 1205 | AC_SUBST(STATIC_LINK_LIBS) |
|
22104
56970903b8e9
Probe for -Wstrict-prototypes to get some more warnings. I then cleaned up
Richard Laager <rlaager@pidgin.im>
parents:
22053
diff
changeset
|
1206 | AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init static void static_proto_init(void) { $load_proto }, |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
1207 | [Loads static protocol plugin module initialization functions.]) |
| 2129 | 1208 | |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1209 | AC_ARG_WITH(dynamic_prpls, [AC_HELP_STRING([--with-dynamic-prpls], [specify which protocols to build dynamically])], [DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`]) |
| 7373 | 1210 | if test "x$DYNAMIC_PRPLS" = "xall" ; then |
|
31684
f351c7834b76
Axe the useless qq prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31672
diff
changeset
|
1211 | DYNAMIC_PRPLS="bonjour gg irc jabber msn myspace mxit novell oscar sametime silc simple yahoo zephyr" |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1212 | fi |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1213 | if test "x$have_meanwhile" != "xyes"; then |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1214 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/sametime//'` |
|
12496
788b20ccec91
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
12487
diff
changeset
|
1215 | 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
|
1216 | 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
|
1217 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'` |
| 7373 | 1218 | fi |
| 8852 | 1219 | if test "x$silcincludes" != "xyes" -o "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
|
1220 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/silc/silc10/'` |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1221 | fi |
|
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1222 | if test "x$silc10includes" != "xyes" -o "x$silc10client" != "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
|
1223 | DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/silc10//'` |
| 8852 | 1224 | fi |
| 7373 | 1225 | AC_SUBST(DYNAMIC_PRPLS) |
| 1226 | for i in $DYNAMIC_PRPLS ; do | |
| 1227 | case $i in | |
|
11579
1ff537bd2e92
[gaim-migrate @ 13849]
Mark Doliner <markdoliner@pidgin.im>
parents:
11465
diff
changeset
|
1228 | bonjour) dynamic_bonjour=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1229 | gg) dynamic_gg=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1230 | irc) dynamic_irc=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1231 | jabber) dynamic_jabber=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1232 | msn) dynamic_msn=yes ;; |
|
16323
0335752f4bbe
Add MySpace prpl to configure.ac
Jeff Connelly <jeff2@soc.pidgin.im>
parents:
16292
diff
changeset
|
1233 | myspace) dynamic_myspace=yes ;; |
|
28841
6b9568572bcb
Initial addition of the MXit protocol plugin, provided by the MXit folks
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28693
diff
changeset
|
1234 | mxit) dynamic_mxit=yes ;; |
| 8675 | 1235 | novell) dynamic_novell=yes ;; |
|
25003
4094ff8a95c7
The DYNAMIC_protocol defines aren't used anywhere.
Richard Laager <rlaager@pidgin.im>
parents:
24689
diff
changeset
|
1236 | null) dynamic_null=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1237 | 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
|
1238 | 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
|
1239 | icq) dynamic_oscar=yes ;; |
|
10977
5802457af313
[gaim-migrate @ 12803]
Christopher O'Brien <siege@pidgin.im>
parents:
10975
diff
changeset
|
1240 | sametime) dynamic_sametime=yes ;; |
| 8849 | 1241 | silc) dynamic_silc=yes ;; |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
1242 | silc10) dynamic_silc=yes ;; |
|
11181
e872a55b9524
[gaim-migrate @ 13292]
Thomas Butter <tbutter@users.sourceforge.net>
parents:
11171
diff
changeset
|
1243 | simple) dynamic_simple=yes ;; |
|
8637
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1244 | yahoo) dynamic_yahoo=yes ;; |
|
3993f410c17c
[gaim-migrate @ 9389]
Mark Doliner <markdoliner@pidgin.im>
parents:
8626
diff
changeset
|
1245 | 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
|
1246 | *) echo "Invalid dynamic protocol $i!!" ; exit 1 ;; |
| 7373 | 1247 | esac |
| 1248 | done | |
| 1249 | ||
|
14269
cd16418f69e8
[gaim-migrate @ 16881]
Mark Doliner <markdoliner@pidgin.im>
parents:
14268
diff
changeset
|
1250 | AC_ARG_ENABLE(plugins, [AC_HELP_STRING([--disable-plugins], [compile without plugin support])], , enable_plugins=yes) |
|
14502
06af96a5a07d
[gaim-migrate @ 17154]
Mark Doliner <markdoliner@pidgin.im>
parents:
14498
diff
changeset
|
1251 | AC_ARG_WITH(krb4, [AC_HELP_STRING([--with-krb4=PREFIX], [compile Zephyr plugin with Kerberos 4 support])], kerberos="$withval", kerberos="no") |
|
06af96a5a07d
[gaim-migrate @ 17154]
Mark Doliner <markdoliner@pidgin.im>
parents:
14498
diff
changeset
|
1252 | AC_ARG_WITH(zephyr, [AC_HELP_STRING([--with-zephyr=PREFIX], [compile Zephyr plugin against external libzephyr])], zephyr="$withval", zephyr="no") |
| 8849 | 1253 | AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno") |
| 2129 | 1254 | |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
1255 | AC_CHECK_HEADERS(sys/utsname.h) |
| 8849 | 1256 | AC_CHECK_FUNC(uname) |
| 8378 | 1257 | |
|
16591
f135ca1f398d
disapproval of revision '1266a6e5c649b88df9492e37648ddcd08ba3007a'
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16590
diff
changeset
|
1258 | AC_ARG_ENABLE(fortify, [AC_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
|
1259 | |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
24512
diff
changeset
|
1260 | 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
|
1261 | if test "x$GCC" = "xyes"; then |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1262 | dnl We enable -Wall later. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1263 | 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
|
1264 | dnl This leads to warnings we don't want. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1265 | CFLAGS=`echo $CFLAGS |$sedpath 's/-Wall//'` |
|
12438
b993017e8f68
[gaim-migrate @ 14745]
Richard Laager <rlaager@pidgin.im>
parents:
12435
diff
changeset
|
1266 | |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1267 | dnl ENABLE WARNINGS SUPPORTED BY THE VERSION OF GCC IN USE |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1268 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1269 | dnl Future Possibilities |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1270 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1271 | dnl Consider adding -Wbad-function-cast. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1272 | 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
|
1273 | dnl We'd need an intermediate variable. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1274 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1275 | dnl Consider adding -Wfloat-equal. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1276 | dnl This leads to warnings with Perl. |
|
15868
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1277 | dnl Perhaps we could write ugly configure magic and pass -Wno-float-equal down to that subdirectory. |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1278 | dnl On the other hand, it's probably actually broken, so maybe the Perl folks should fix that? |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1279 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1280 | dnl Consider removing -Wno-sign-compare (from the -Wextra set) and fixing all those cases. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1281 | dnl This is likely non-trivial. |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1282 | dnl |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1283 | for newflag in \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1284 | "-Waggregate-return" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1285 | "-Wcast-align" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1286 | "-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
|
1287 | "-Wendif-labels" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1288 | "-Werror-implicit-function-declaration" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1289 | "-Wextra -Wno-sign-compare -Wno-unused-parameter" \ |
|
25136
026dcbacb44e
Turn on -Wformat-security and make it an error with GCC 4.
Richard Laager <rlaager@pidgin.im>
parents:
24689
diff
changeset
|
1290 | "-Wformat-security" \ |
|
026dcbacb44e
Turn on -Wformat-security and make it an error with GCC 4.
Richard Laager <rlaager@pidgin.im>
parents:
24689
diff
changeset
|
1291 | "-Werror=format-security" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1292 | "-Winit-self" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1293 | "-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
|
1294 | "-Wmissing-noreturn" \ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1295 | "-Wmissing-prototypes" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1296 | "-Wpointer-arith" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1297 | "-Wundef" \ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1298 | ; do |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1299 | orig_CFLAGS="$CFLAGS" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1300 | CFLAGS="$CFLAGS $newflag" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1301 | AC_MSG_CHECKING(for $newflag option to gcc) |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
1302 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1303 | int main() {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
|
1304 | ]])], [ |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1305 | AC_MSG_RESULT(yes) |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1306 | CFLAGS="$orig_CFLAGS" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1307 | DEBUG_CFLAGS="$DEBUG_CFLAGS $newflag" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1308 | ], [ |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1309 | AC_MSG_RESULT(no) |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1310 | CFLAGS="$orig_CFLAGS" |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1311 | ]) |
|
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1312 | done |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1313 | |
|
12600
7ecd4441fdc7
[gaim-migrate @ 14934]
Richard Laager <rlaager@pidgin.im>
parents:
12584
diff
changeset
|
1314 | if test "x$enable_fortify" = "xyes"; then |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1315 | 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
|
1316 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <features.h>]], [[ |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1317 | int main() { |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1318 | #if !(__GNUC_PREREQ (4, 1) \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1319 | || (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (4, 0)) \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1320 | || (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (3, 4) \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1321 | && __GNUC_MINOR__ == 4 \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1322 | && (__GNUC_PATCHLEVEL__ > 2 \ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1323 | || (__GNUC_PATCHLEVEL__ == 2 && __GNUC_RH_RELEASE__ >= 8)))) |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1324 | #error No FORTIFY_SOURCE support |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1325 | #endif |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1326 | return 0; |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1327 | } |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
1328 | ]])], [ |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1329 | 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
|
1330 | DEBUG_CFLAGS="$DEBUG_CFLAGS -Wp,-D_FORTIFY_SOURCE=2" |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1331 | ], [ |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1332 | AC_MSG_RESULT(no) |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1333 | ]) |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1334 | fi |
|
8525
9e4e0635fd3c
[gaim-migrate @ 9264]
Christian Hammond <chipx86@chipx86.com>
parents:
8485
diff
changeset
|
1335 | |
|
12435
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1336 | DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS" |
|
98e36746b52b
[gaim-migrate @ 14742]
Richard Laager <rlaager@pidgin.im>
parents:
12423
diff
changeset
|
1337 | CFLAGS="-g $CFLAGS" |
| 7021 | 1338 | fi |
|
30263
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
1339 | |
|
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
1340 | if test "x$SUNCC" = "xyes"; then |
|
30357
f795e03bf384
I agree with Stu that this is the correct way to handle the Sun CC specific
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30263
diff
changeset
|
1341 | CFLAGS="$CFLAGS -features=extensions" |
|
30263
c570eb3becca
Build fixes on OpenSolaris. Closes #11841.
Brian Lu <brian.lu@sun.com>
parents:
30234
diff
changeset
|
1342 | fi |
|
6723
f62d96da133a
[gaim-migrate @ 7250]
Christian Hammond <chipx86@chipx86.com>
parents:
6722
diff
changeset
|
1343 | AC_SUBST(CFLAGS) |
|
f62d96da133a
[gaim-migrate @ 7250]
Christian Hammond <chipx86@chipx86.com>
parents:
6722
diff
changeset
|
1344 | |
|
15976
dbb3ea0b1f7c
Minor 'make dist' fix and check for installed versions of pidgin, not gaim
Mark Doliner <markdoliner@pidgin.im>
parents:
15966
diff
changeset
|
1345 | 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
|
1346 | |
|
8665
03013bac18b9
[gaim-migrate @ 9417]
Christian Hammond <chipx86@chipx86.com>
parents:
8637
diff
changeset
|
1347 | dnl ####################################################################### |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
1348 | dnl # Check for D-Bus libraries |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1349 | dnl ####################################################################### |
|
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1350 | |
|
23472
47e62844487f
The DBus and NetworkManager options are enabled by default, so the --help
Richard Laager <rlaager@pidgin.im>
parents:
23352
diff
changeset
|
1351 | AC_ARG_ENABLE(dbus, [AC_HELP_STRING([--disable-dbus], [disable D-Bus support])], , enable_dbus=yes) |
|
47e62844487f
The DBus and NetworkManager options are enabled by default, so the --help
Richard Laager <rlaager@pidgin.im>
parents:
23352
diff
changeset
|
1352 | AC_ARG_ENABLE(nm, [AC_HELP_STRING([--disable-nm], [disable NetworkManager support (requires D-Bus)])], enable_nm=$enableval, enable_nm=yes) |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1353 | |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1354 | if test "x$enable_dbus" = "xyes" ; then |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1355 | 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
|
1356 | fi |
|
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1357 | |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1358 | if test "x$enable_dbus" = "xyes" ; then |
|
22756
c075c698757b
Fix our D-Bus version requirement
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22755
diff
changeset
|
1359 | 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
|
1360 | AC_SUBST(DBUS_CFLAGS) |
|
11070
133af4fe08f9
[gaim-migrate @ 13069]
Richard Laager <rlaager@pidgin.im>
parents:
11067
diff
changeset
|
1361 | AC_SUBST(DBUS_LIBS) |
|
133af4fe08f9
[gaim-migrate @ 13069]
Richard Laager <rlaager@pidgin.im>
parents:
11067
diff
changeset
|
1362 | enable_dbus=yes |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
1363 | ], [ |
|
24252
a9e2f64c5287
Report dbus/nm availability correctly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
24244
diff
changeset
|
1364 | 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
|
1365 | 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
|
1366 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1367 | 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
|
1368 | 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
|
1369 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1370 | 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
|
1371 | fi |
| 14758 | 1372 | |
|
23040
13df421b8347
Update configure.ac to properly detect Network Manager (via NetworkManager.h instead of libnm_glib). Also, change the code so that if NetworkManager is dead, we'll assume we're connected to the network and try anyway.
Richard Laager <rlaager@pidgin.im>
parents:
22818
diff
changeset
|
1373 | dnl Check for NetworkManager.h; if we don't have it, oh well |
|
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
|
1374 | if test "x$enable_dbus" = "xyes" ; then |
|
23040
13df421b8347
Update configure.ac to properly detect Network Manager (via NetworkManager.h instead of libnm_glib). Also, change the code so that if NetworkManager is dead, we'll assume we're connected to the network and try anyway.
Richard Laager <rlaager@pidgin.im>
parents:
22818
diff
changeset
|
1375 | if test "x$enable_nm" = "xyes" ; then |
|
24244
a567e5307e47
Depend on NetworkManager >= 0.5.0 because NetworkManager.h does not
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24243
diff
changeset
|
1376 | PKG_CHECK_MODULES(NETWORKMANAGER, [NetworkManager >= 0.5.0], [ |
|
23060
db9632a9b374
Use pkg-config to detect NetworkManager. Also, fail if it isn't present,
Richard Laager <rlaager@pidgin.im>
parents:
23040
diff
changeset
|
1377 | AC_SUBST(NETWORKMANAGER_CFLAGS) |
|
db9632a9b374
Use pkg-config to detect NetworkManager. Also, fail if it isn't present,
Richard Laager <rlaager@pidgin.im>
parents:
23040
diff
changeset
|
1378 | AC_SUBST(NETWORKMANAGER_LIBS) |
|
db9632a9b374
Use pkg-config to detect NetworkManager. Also, fail if it isn't present,
Richard Laager <rlaager@pidgin.im>
parents:
23040
diff
changeset
|
1379 | AC_DEFINE(HAVE_NETWORKMANAGER, 1, [Define if we have NetworkManager.]) |
|
db9632a9b374
Use pkg-config to detect NetworkManager. Also, fail if it isn't present,
Richard Laager <rlaager@pidgin.im>
parents:
23040
diff
changeset
|
1380 | ], [ |
|
24252
a9e2f64c5287
Report dbus/nm availability correctly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
24244
diff
changeset
|
1381 | enable_nm=no |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1382 | 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
|
1383 | AC_MSG_ERROR([ |
|
23060
db9632a9b374
Use pkg-config to detect NetworkManager. Also, fail if it isn't present,
Richard Laager <rlaager@pidgin.im>
parents:
23040
diff
changeset
|
1384 | NetworkManager development headers not found. |
|
db9632a9b374
Use pkg-config to detect NetworkManager. Also, fail if it isn't present,
Richard Laager <rlaager@pidgin.im>
parents:
23040
diff
changeset
|
1385 | Use --disable-nm if you do not need NetworkManager support. |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1386 | ]) |
|
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1387 | fi]) |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
1388 | fi |
|
24252
a9e2f64c5287
Report dbus/nm availability correctly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
24244
diff
changeset
|
1389 | else |
|
a9e2f64c5287
Report dbus/nm availability correctly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
24244
diff
changeset
|
1390 | enable_nm=no |
|
11067
b6353889a9ba
[gaim-migrate @ 13048]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11055
diff
changeset
|
1391 | fi |
|
b6353889a9ba
[gaim-migrate @ 13048]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11055
diff
changeset
|
1392 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1393 | dnl ####################################################################### |
|
35122
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1394 | dnl # Check for Unity and Messaging Menu |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1395 | dnl ####################################################################### |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1396 | AC_ARG_ENABLE(unity, [AC_HELP_STRING([--enable-unity], |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1397 | [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
|
1398 | if test "$enable_unity" = yes; then |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1399 | 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
|
1400 | AC_MSG_RESULT(no) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1401 | AC_MSG_ERROR([ |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1402 | 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
|
1403 | ])]) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1404 | USES_MM_CHAT_SECTION="X-MessagingMenu-UsesChatSection=true" |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1405 | AC_SUBST(UNITY_CFLAGS) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1406 | AC_SUBST(UNITY_LIBS) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1407 | AC_SUBST(USES_MM_CHAT_SECTION) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1408 | else |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1409 | enable_unity=no |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1410 | fi |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1411 | AM_CONDITIONAL(ENABLE_UNITY, [test "x$enable_unity" = "xyes"]) |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1412 | |
|
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
1413 | dnl ####################################################################### |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1414 | dnl # Check for Python |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1415 | dnl ####################################################################### |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1416 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1417 | 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
|
1418 | 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
|
1419 | dnl it is now accessible through D-Bus. |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1420 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1421 | 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
|
1422 | 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
|
1423 | dnl This autogenerated code is system-independent, so in principle we |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1424 | 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
|
1425 | dnl auto-generated stuff to the repository is inelegant. |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1426 | dnl Alternatively, these python scripts could be rewritten |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
1427 | dnl in C (brrrr ...). |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1428 | |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1429 | AC_ARG_WITH([python], |
| 13773 | 1430 | AC_HELP_STRING([--with-python=PATH], |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1431 | [which python interpreter to use for dbus code generation]), |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1432 | PYTHON=$withval) |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1433 | |
|
29960
e6ca0b8ae3b7
Fix Python overrideability in configure script. Closes #11625.
Brad Smith <brad@comstyle.com>
parents:
29957
diff
changeset
|
1434 | if test "x$enable_dbus" = "xyes" || test "x$enable_consoleui" = "xyes" ; then |
| 13843 | 1435 | if test -z "$PYTHON" -o "x$PYTHON" = "xyes"; then |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1436 | AC_PATH_PROG([PYTHON], [python], [no]) |
|
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1437 | fi |
|
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1438 | |
|
19957
bb636b927e06
Fix the capitalization of the python variable in a configure.ac check, I
Etan Reisner <deryni@pidgin.im>
parents:
19944
diff
changeset
|
1439 | if test x"$PYTHON" = x"no" ; then |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1440 | AC_MSG_WARN([python interpreter not found in your path]) |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1441 | enable_dbus=no |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1442 | fi |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1443 | |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1444 | 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
|
1445 | AC_MSG_WARN([python version >= 2.4 required]) |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1446 | enable_dbus=no |
|
12584
177bdacdfcf8
[gaim-migrate @ 14912]
Gary Kramlich <grim@reaperworld.com>
parents:
12582
diff
changeset
|
1447 | fi |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1448 | fi |
|
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11098
diff
changeset
|
1449 | |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1450 | dnl ########################################################################### |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1451 | dnl # Find the D-Bus services dir. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1452 | dnl # |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1453 | dnl # This is a 3 step process that |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1454 | dnl # |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1455 | 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
|
1456 | dnl # 2. checks if --prefix was given, if so use that. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1457 | 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
|
1458 | dnl # directories. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1459 | dnl # |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1460 | 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
|
1461 | 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
|
1462 | dnl # directory searching to keep this situation at a minimum. |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1463 | dnl ########################################################################### |
|
14502
06af96a5a07d
[gaim-migrate @ 17154]
Mark Doliner <markdoliner@pidgin.im>
parents:
14498
diff
changeset
|
1464 | AC_ARG_WITH(dbus-services, [AC_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
|
1465 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1466 | DBUS_SERVICES_DIR="" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1467 | |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1468 | if test x"$enable_dbus" = "xyes" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1469 | AC_MSG_CHECKING([location of the D-Bus services directory]) |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1470 | if ! test -z "$with_dbus_services" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1471 | if ! test -d "$with_dbus_services" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1472 | 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
|
1473 | fi |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1474 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1475 | DBUS_SERVICES_DIR="$with_dbus_services" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1476 | else |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1477 | if test x"$prefix" = x"NONE" ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1478 | 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
|
1479 | dnl # if a prefix is given, we use it. |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1480 | |
|
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
|
1481 | serviceprefixes="$prefix/share $prefix/lib /usr/share /usr/local/share" |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1482 | DBUS_SERVICES_DIR="" |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1483 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1484 | for d in $serviceprefixes ; do |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1485 | dir="$d/dbus-1/services" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1486 | if test -d $dir ; then |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1487 | DBUS_SERVICES_DIR="$dir" |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1488 | break |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1489 | fi |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1490 | done |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1491 | |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1492 | 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
|
1493 | 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
|
1494 | fi |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1495 | else |
|
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1496 | DBUS_SERVICES_DIR="$datadir/dbus-1/services" |
|
11903
56ae8af14a0d
[gaim-migrate @ 14194]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11874
diff
changeset
|
1497 | fi |
|
13491
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1498 | fi |
|
13589
2c48c168ba30
[gaim-migrate @ 15973]
Gary Kramlich <grim@reaperworld.com>
parents:
13575
diff
changeset
|
1499 | 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
|
1500 | 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
|
1501 | fi |
|
a4898caca966
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13466
diff
changeset
|
1502 | AC_SUBST(DBUS_SERVICES_DIR) |
|
11351
c29898b1b746
[gaim-migrate @ 13570]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11318
diff
changeset
|
1503 | |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1504 | 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
|
1505 | echo "Building with D-Bus support" |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1506 | else |
|
15610
fc49b3cc8095
Make NetworkManager support disabled by default, add an "--enable-nm" option
Mark Doliner <markdoliner@pidgin.im>
parents:
15600
diff
changeset
|
1507 | echo "Building without D-Bus support" |
|
11356
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1508 | fi |
|
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1509 | |
|
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1510 | AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes") |
|
77be80ff8961
[gaim-migrate @ 13578]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11351
diff
changeset
|
1511 | |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1512 | 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
|
1513 | dnl (Thanks to XChat) |
|
29960
e6ca0b8ae3b7
Fix Python overrideability in configure script. Closes #11625.
Brad Smith <brad@comstyle.com>
parents:
29957
diff
changeset
|
1514 | 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
|
1515 | AC_MSG_CHECKING(for Python compile flags) |
|
33932
c49bfe98716d
Fix build and other scripts on Python3.
Ashish Gupta <ashmew2@gmail.com>
parents:
33795
diff
changeset
|
1516 | PY_PREFIX=`$PYTHON -c 'import sys ; sys.stdout.write(sys.prefix)'` |
|
c49bfe98716d
Fix build and other scripts on Python3.
Ashish Gupta <ashmew2@gmail.com>
parents:
33795
diff
changeset
|
1517 | PY_EXEC_PREFIX=`$PYTHON -c 'import sys ; sys.stdout.write(sys.exec_prefix)'` |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1518 | changequote(<<, >>)dnl |
|
33932
c49bfe98716d
Fix build and other scripts on Python3.
Ashish Gupta <ashmew2@gmail.com>
parents:
33795
diff
changeset
|
1519 | PY_VERSION=`$PYTHON -c 'import sys ; sys.stdout.write(sys.version[0:3])'` |
|
c49bfe98716d
Fix build and other scripts on Python3.
Ashish Gupta <ashmew2@gmail.com>
parents:
33795
diff
changeset
|
1520 | PY_MAJOR=`$PYTHON -c 'import sys ; sys.stdout.write(sys.version[0:2])'` |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1521 | changequote([, ])dnl |
|
33932
c49bfe98716d
Fix build and other scripts on Python3.
Ashish Gupta <ashmew2@gmail.com>
parents:
33795
diff
changeset
|
1522 | if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then |
|
29834
c0d5d6cc81c1
Make Python compile check look a little nicer.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29833
diff
changeset
|
1523 | AC_MSG_RESULT() |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1524 | AC_CHECK_LIB(pthread, pthread_create, ) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1525 | AC_CHECK_LIB(util, openpty, ) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1526 | AC_CHECK_LIB(db, dbopen, ) |
|
29036
6e6e46dd92f3
*** Plucked rev 8afdf9fa3c0c98a6735023230f285152f54c3a79 (f05c54b03e6bbfdbff38c01697fbd353a969e05e):
Daniel Atallah <datallah@pidgin.im>
parents:
29031
diff
changeset
|
1527 | PY_LIBS="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config -lpython$PY_VERSION" |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1528 | PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION" |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1529 | AC_DEFINE(USE_PYTHON, [1], [Define if python headers are available.]) |
|
29834
c0d5d6cc81c1
Make Python compile check look a little nicer.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29833
diff
changeset
|
1530 | dnl Because the above AC_CHECK_LIB get in the way... |
|
c0d5d6cc81c1
Make Python compile check look a little nicer.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29833
diff
changeset
|
1531 | AC_MSG_CHECKING(for Python compile flags) |
|
21915
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1532 | AC_MSG_RESULT(ok) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1533 | else |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1534 | AC_MSG_RESULT([Can't find Python.h]) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1535 | PY_LIBS="" |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1536 | PY_CFLAGS="" |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1537 | fi |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1538 | fi |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1539 | AC_SUBST(PY_CFLAGS) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1540 | AC_SUBST(PY_LIBS) |
|
c08dfd143ca9
Allow loading python scripts at runtime.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21912
diff
changeset
|
1541 | |
|
11055
e564996853bf
[gaim-migrate @ 12996]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
10977
diff
changeset
|
1542 | dnl ####################################################################### |
|
11660
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1543 | dnl # Check for Mono support |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1544 | dnl ####################################################################### |
|
15600
393bc032b053
sf patch #1640011, from Celso Pinto
Mark Doliner <markdoliner@pidgin.im>
parents:
15523
diff
changeset
|
1545 | AC_ARG_ENABLE(mono, [AC_HELP_STRING([--enable-mono], [compile with Mono runtime support (experimental)])], , enable_mono=no) |
|
11662
589d19fbb36f
[gaim-migrate @ 13947]
Gary Kramlich <grim@reaperworld.com>
parents:
11660
diff
changeset
|
1546 | if test x"$enable_mono" = x"yes" ; then |
|
15868
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1547 | PKG_CHECK_MODULES(MONO, mono, [ |
|
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1548 | AC_SUBST(MONO_CFLAGS) |
|
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1549 | AC_SUBST(MONO_LIBS) |
|
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1550 | enable_mono=yes |
|
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1551 | ], [ |
|
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1552 | AC_MSG_RESULT(no) |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1553 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1554 | Mono development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1555 | Use --disable-mono if you do not need Mono support. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1556 | ]) |
|
15868
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1557 | ]) |
|
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1558 | if test x"$enable_mono" = x"yes"; then |
|
11660
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1559 | oldLIBS="$LIBS" |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1560 | LIBS="$LIBS $MONO_LIBS" |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1561 | AC_MSG_CHECKING(for libmono) |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1562 | AC_CHECK_FUNCS(mono_jit_init, [], enable_mono=no) |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1563 | LIBS="$oldLIBS" |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1564 | |
|
11660
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1565 | oldCPPFLAGS="$CPPFLAGS" |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1566 | CPPFLAGS="$CPPFLAGS $MONO_CFLAGS" |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1567 | AC_CHECK_HEADERS(mono/jit/jit.h, [], enable_mono=no) |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1568 | AC_CHECK_HEADERS(mono/metadata/object.h, [], enable_mono=no) |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1569 | CPPFLAGS="$oldCPPFLAGS" |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1570 | |
|
11660
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1571 | AC_DEFINE(ENABLE_MONO, 1, [Define if mono enabled.]) |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1572 | fi |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1573 | else |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1574 | MONO_CFLAGS= |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1575 | MONO_LIBS= |
|
11662
589d19fbb36f
[gaim-migrate @ 13947]
Gary Kramlich <grim@reaperworld.com>
parents:
11660
diff
changeset
|
1576 | enable_mono=no |
|
11660
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1577 | fi |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1578 | |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1579 | AC_SUBST(MONO_CFLAGS) |
|
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
1580 | AC_SUBST(MONO_LIBS) |
|
11662
589d19fbb36f
[gaim-migrate @ 13947]
Gary Kramlich <grim@reaperworld.com>
parents:
11660
diff
changeset
|
1581 | AM_CONDITIONAL(USE_MONO, test x"$enable_mono" = x"yes") |
|
3203
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
1582 | |
|
8665
03013bac18b9
[gaim-migrate @ 9417]
Christian Hammond <chipx86@chipx86.com>
parents:
8637
diff
changeset
|
1583 | dnl ####################################################################### |
|
03013bac18b9
[gaim-migrate @ 9417]
Christian Hammond <chipx86@chipx86.com>
parents:
8637
diff
changeset
|
1584 | dnl # Check for Perl support |
|
03013bac18b9
[gaim-migrate @ 9417]
Christian Hammond <chipx86@chipx86.com>
parents:
8637
diff
changeset
|
1585 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
1586 | AC_ARG_ENABLE(perl, [AC_HELP_STRING([--disable-perl], [compile without perl scripting])], , enable_perl=yes) |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
1587 | |
|
10975
a67aa6003df4
[gaim-migrate @ 12800]
Gary Kramlich <grim@reaperworld.com>
parents:
10925
diff
changeset
|
1588 | if test "$enable_plugins" = no ; then |
|
a67aa6003df4
[gaim-migrate @ 12800]
Gary Kramlich <grim@reaperworld.com>
parents:
10925
diff
changeset
|
1589 | enable_perl=no |
|
a67aa6003df4
[gaim-migrate @ 12800]
Gary Kramlich <grim@reaperworld.com>
parents:
10925
diff
changeset
|
1590 | fi |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1591 | looked_for_perl="no" |
| 2129 | 1592 | if test "$enable_perl" = yes ; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1593 | looked_for_perl="yes" |
| 2129 | 1594 | AC_PATH_PROG(perlpath, perl) |
| 1595 | AC_MSG_CHECKING(for Perl compile flags) | |
| 1596 | PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null` | |
| 1597 | if test "_$PERL_CFLAGS" = _ ; then | |
| 1598 | AC_MSG_RESULT([not found, building without perl.]) | |
|
16952
bf250fad9e88
Prevent bogus configure errors if perl isn't found. This isn't major but
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16947
diff
changeset
|
1599 | enable_perl=no |
| 2129 | 1600 | else |
| 1601 | PERL_LIBS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null |$sedpath 's/-lgdbm //'` | |
| 1602 | PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-ldb //'` | |
| 1603 | PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lndbm //'` | |
| 1604 | if test "$system" = "Linux"; then | |
| 1605 | PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lnsl //'` | |
| 1606 | PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lposix //'` | |
| 1607 | fi | |
| 1608 | PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lc //'` | |
| 1609 | AC_MSG_RESULT(ok) | |
| 3931 | 1610 | |
|
6844
c378819cdda4
[gaim-migrate @ 7389]
Christian Hammond <chipx86@chipx86.com>
parents:
6836
diff
changeset
|
1611 | oldLIBS="$LIBS" |
| 3931 | 1612 | LIBS="$LIBS $PERL_LIBS" |
| 1613 | AC_MSG_CHECKING(for libperl) | |
| 1614 | AC_CHECK_FUNCS(perl_run, [], enable_perl=no) | |
|
6844
c378819cdda4
[gaim-migrate @ 7389]
Christian Hammond <chipx86@chipx86.com>
parents:
6836
diff
changeset
|
1615 | LIBS="$oldLIBS" |
|
10460
3233258c3918
[gaim-migrate @ 11730]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10374
diff
changeset
|
1616 | |
|
3233258c3918
[gaim-migrate @ 11730]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10374
diff
changeset
|
1617 | oldCPPFLAGS="$CPPFLAGS" |
|
3233258c3918
[gaim-migrate @ 11730]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10374
diff
changeset
|
1618 | CPPFLAGS="$CPPFLAGS $PERL_CFLAGS" |
|
22663
7e79d04ab088
This broke building perl, finding EXTERN.h breaks without the PERL_CFLAGS
Etan Reisner <deryni@pidgin.im>
parents:
22631
diff
changeset
|
1619 | AC_CHECK_HEADERS(EXTERN.h) |
|
10460
3233258c3918
[gaim-migrate @ 11730]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10374
diff
changeset
|
1620 | AC_CHECK_HEADERS(perl.h, [], enable_perl=no, |
|
3233258c3918
[gaim-migrate @ 11730]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10374
diff
changeset
|
1621 | [#if HAVE_EXTERN_H |
|
3233258c3918
[gaim-migrate @ 11730]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10374
diff
changeset
|
1622 | # include <EXTERN.h> |
|
3233258c3918
[gaim-migrate @ 11730]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10374
diff
changeset
|
1623 | #endif]) |
|
3233258c3918
[gaim-migrate @ 11730]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10374
diff
changeset
|
1624 | CPPFLAGS="$oldCPPFLAGS" |
| 2129 | 1625 | fi |
| 1626 | fi | |
| 1627 | ||
| 3931 | 1628 | if test "$enable_perl" = yes ; then |
|
7200
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1629 | AC_PROG_PERL_MODULES(ExtUtils::MakeMaker, , have_makemaker=no) |
| 3931 | 1630 | |
|
7200
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1631 | if test "x$have_makemaker" = "xno"; then |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1632 | enable_perl=no |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1633 | PERL_CFLAGS= |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1634 | PERL_LIBS= |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1635 | AM_CONDITIONAL(USE_PERL, false) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1636 | AC_MSG_WARN(Compiling perl requires ExtUtils::MakeMaker) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1637 | else |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
1638 | AC_DEFINE(HAVE_PERL, [1], [Compile with support for perl]) |
|
7200
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1639 | AC_SUBST(PERL_CFLAGS) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1640 | AC_SUBST(PERL_LIBS) |
| 12120 | 1641 | AM_CONDITIONAL(USE_PERL, true) |
| 4298 | 1642 | |
|
7200
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1643 | dnl This is almost definitely wrong, but in case there's |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1644 | dnl something I'm missing, I'll leave it in. |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1645 | AC_CHECK_FUNCS(Perl_eval_pv) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1646 | |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1647 | AC_MSG_CHECKING(for old perl) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1648 | PERL_OLD=`$perlpath -e 'if($]<5.006){printf"yes\n";}else{printf"no\n";}'` |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6475
diff
changeset
|
1649 | |
|
7200
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1650 | if test "x$PERL_OLD" = "xyes"; then |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1651 | AC_DEFINE(OLD_PERL, 1, [Define if old perl is installed.]) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1652 | AC_MSG_RESULT(yes) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1653 | else |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1654 | AC_MSG_RESULT(no) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1655 | fi |
|
6586
de66e971fa46
[gaim-migrate @ 7108]
Christian Hammond <chipx86@chipx86.com>
parents:
6535
diff
changeset
|
1656 | |
|
7200
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1657 | AC_MSG_CHECKING(for DynaLoader.a) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1658 | DYNALOADER_A=`echo $PERL_LDFLAGS | $perlpath -pe 's/^(.* )*([[^ ]]*DynaLoader\.a).*/\2/'` |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1659 | |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1660 | dnl Don't check libperl.a if dynaloader.a wasn't found. |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1661 | if test -n "$DYNALOADER_A"; then |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6475
diff
changeset
|
1662 | AC_MSG_RESULT(yes) |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6475
diff
changeset
|
1663 | |
|
7200
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1664 | dnl Find either libperl.a or libperl.so |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1665 | AC_MSG_CHECKING(for libperl.a or libperl.so) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1666 | LIBPERL_A=`echo "$PERL_LDFLAGS -L/usr/lib"|$perlpath -e 'foreach (split(/ /, <STDIN>)) { if (/^-L(.*)/) { my $dir=$1; if (\`ls $dir/libperl.so* 2>/dev/null\`) { print "-lperl"; last; }; if (-e "$dir/libperl.a") { print "$dir/libperl.a"; last } } };'` |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1667 | if test -z "$LIBPERL_A"; then |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1668 | AC_MSG_RESULT(no) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1669 | DYNALOADER_A= |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1670 | else |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1671 | AC_MSG_RESULT(yes) |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6475
diff
changeset
|
1672 | |
|
7200
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1673 | if test "$LIBPERL_A" = "-lperl"; then |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1674 | LIBPERL_A= |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1675 | fi |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1676 | fi |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1677 | |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1678 | PERL_LIBS=`echo $PERL_LIBS | $perlpath -pe 's/^(.* )*[[^ ]]*DynaLoader\.a/\1libperl_dynaloader.la/'` |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6475
diff
changeset
|
1679 | |
|
7200
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1680 | if test -n "$LIBPERL_A"; then |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1681 | PERL_LIBS=`echo $PERL_LDFLAGS | $sedpath -e 's/-lperl /libperl_orig.la /' -e 's/-lperl$/libperl_orig.la$/'` |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1682 | fi |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1683 | |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1684 | AC_SUBST(DYNALOADER_A) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1685 | AC_SUBST(LIBPERL_A) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1686 | else |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1687 | AC_MSG_RESULT(no) |
|
5f026de48d93
[gaim-migrate @ 7769]
Christian Hammond <chipx86@chipx86.com>
parents:
7168
diff
changeset
|
1688 | fi |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6475
diff
changeset
|
1689 | fi |
| 3931 | 1690 | else |
| 1691 | PERL_CFLAGS= | |
| 1692 | PERL_LIBS= | |
|
5232
626c3db309ed
[gaim-migrate @ 5602]
Christian Hammond <chipx86@chipx86.com>
parents:
5229
diff
changeset
|
1693 | AM_CONDITIONAL(USE_PERL, false) |
| 3931 | 1694 | fi |
| 1695 | ||
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
1696 | if test "x$looked_for_perl" = "xyes" -a "x$enable_perl" = "xno" -a "x$force_deps" = "xyes"; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1697 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1698 | Perl development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1699 | Use --disable-perl if you do not need Perl scripting support. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1700 | ]) |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1701 | fi |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1702 | |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1703 | dnl ####################################################################### |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1704 | dnl # SSL support |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1705 | dnl # |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1706 | dnl # Thanks go to Evolution for the checks. |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1707 | dnl ####################################################################### |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1708 | |
|
27963
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1709 | AC_ARG_WITH(system-ssl-certs, [AC_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
|
1710 | |
|
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1711 | SSL_CERTIFICATES_DIR="" |
|
27963
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1712 | 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
|
1713 | 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
|
1714 | 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
|
1715 | fi |
|
27963
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1716 | if ! test -d "$ssl_certificates_dir" ; then |
|
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1717 | AC_MSG_ERROR([$ssl_certificates_dir does not exist, if this is the correct location please make sure that it exists.]) |
|
23473
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1718 | fi |
|
27963
f99a27c539fe
And really fix that --with-system-ssl-certs argument.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27961
diff
changeset
|
1719 | 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
|
1720 | fi |
|
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1721 | AC_SUBST(SSL_CERTIFICATES_DIR) |
|
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
1722 | 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
|
1723 | |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1724 | dnl These two are inverses of each other <-- stolen from evolution! |
|
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1725 | |
|
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1726 | AC_ARG_ENABLE(gnutls, |
|
22757
7d68e6dcc3dc
Remove a legacy preference for GnuTLS
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22756
diff
changeset
|
1727 | [ --enable-gnutls=[yes,no] attempt to use GnuTLS for SSL support [default=yes]], |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1728 | [enable_gnutls="$enableval"], |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1729 | [enable_gnutls="yes"]) |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1730 | |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1731 | AC_ARG_ENABLE(nss, |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
1732 | [ --enable-nss=[yes,no,static] attempt to use Mozilla libnss for SSL support [default=yes]], |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1733 | [enable_nss="$enableval"], |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
1734 | [enable_nss="yes"]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1735 | |
|
27386
885fcba6bcca
Mention Yahoo in all the places we say "These protocols won't work without SSL"
Paul Aurich <darkrain42@pidgin.im>
parents:
27361
diff
changeset
|
1736 | msg_ssl="None. MSN, Yahoo!, Novell Groupwise and Google Talk will not work without GnuTLS or NSS. OpenSSL is NOT usable!" |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1737 | looked_for_gnutls="no" |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1738 | dnl # |
|
13820
52bd6836c49a
[gaim-migrate @ 16250]
Richard Laager <rlaager@pidgin.im>
parents:
13813
diff
changeset
|
1739 | dnl # Check for GnuTLS if it's specified. |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1740 | dnl # |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1741 | if test "x$enable_gnutls" != "xno"; then |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1742 | enable_gnutls="no" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1743 | prefix=`eval echo $prefix` |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1744 | looked_for_gnutls="yes" |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1745 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1746 | AC_ARG_WITH(gnutls-includes, |
|
13820
52bd6836c49a
[gaim-migrate @ 16250]
Richard Laager <rlaager@pidgin.im>
parents:
13813
diff
changeset
|
1747 | [ --with-gnutls-includes=PREFIX location of GnuTLS includes.], |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1748 | [ with_gnutls_includes="$withval" ], |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1749 | [ with_gnutls_includes="$prefix/include" ]) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1750 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1751 | have_gnutls_includes="no" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1752 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1753 | if test "x$with_gnutls_includes" != "xno"; then |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1754 | CPPFLAGS_save="$CPPFLAGS" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1755 | |
|
13820
52bd6836c49a
[gaim-migrate @ 16250]
Richard Laager <rlaager@pidgin.im>
parents:
13813
diff
changeset
|
1756 | AC_MSG_CHECKING(for GnuTLS includes) |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1757 | AC_MSG_RESULT("") |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1758 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1759 | CPPFLAGS="$CPPFLAGS -I$with_gnutls_includes" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1760 | AC_CHECK_HEADERS(gnutls/gnutls.h, [ gnutls_includes="yes" ]) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1761 | CPPFLAGS="$CPPFLAGS_save" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1762 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1763 | if test "x$gnutls_includes" != "xno" -a \ |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1764 | "x$gnutls_includes" != "x"; then |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1765 | have_gnutls_includes="yes" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1766 | |
|
15868
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1767 | if test "x$with_gnutls_includes" != "xNONE/include"; then |
|
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1768 | GNUTLS_CFLAGS="-I$with_gnutls_includes" |
|
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
1769 | fi |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1770 | else |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1771 | GNUTLS_CFLAGS="" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1772 | fi |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1773 | else |
|
13820
52bd6836c49a
[gaim-migrate @ 16250]
Richard Laager <rlaager@pidgin.im>
parents:
13813
diff
changeset
|
1774 | AC_MSG_CHECKING(for GnuTLS includes) |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1775 | AC_MSG_RESULT(no) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1776 | fi |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1777 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1778 | AC_ARG_WITH(gnutls-libs, |
|
14502
06af96a5a07d
[gaim-migrate @ 17154]
Mark Doliner <markdoliner@pidgin.im>
parents:
14498
diff
changeset
|
1779 | [AC_HELP_STRING([--with-gnutls-libs=PREFIX], [location of GnuTLS libraries.])], |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1780 | [ with_gnutls_libs="$withval" ]) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1781 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1782 | if test "x$with_gnutls_libs" != "xno" -a \ |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1783 | "x$have_gnutls_includes" != "xno"; then |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1784 | |
| 14797 | 1785 | LIBS_save="$LIBS" |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1786 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1787 | case $with_gnutls_libs in |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1788 | ""|-L*) ;; |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1789 | *) with_gnutls_libs="-L$with_gnutls_libs" ;; |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1790 | esac |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1791 | |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
1792 | AC_CACHE_CHECK([for GnuTLS libraries], ac_cv_gnutls_libs, |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1793 | [ |
|
33474
eea4bbe04daa
Remove references to -lgcrypt from configure.ac. We don't directly use
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
33073
diff
changeset
|
1794 | LIBS="$LIBS $with_gnutls_libs -lgnutls" |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
1795 | AC_TRY_LINK_FUNC(gnutls_init, ac_cv_gnutls_libs="yes", ac_cv_gnutls_libs="no") |
| 14797 | 1796 | LIBS="$LIBS_save" |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1797 | ]) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1798 | |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
1799 | if test "x$ac_cv_gnutls_libs" != "xno"; then |
|
13820
52bd6836c49a
[gaim-migrate @ 16250]
Richard Laager <rlaager@pidgin.im>
parents:
13813
diff
changeset
|
1800 | AC_DEFINE(HAVE_GNUTLS, 1, [Define if you have GnuTLS]) |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1801 | AC_DEFINE(HAVE_SSL) |
|
13820
52bd6836c49a
[gaim-migrate @ 16250]
Richard Laager <rlaager@pidgin.im>
parents:
13813
diff
changeset
|
1802 | msg_gnutls="GnuTLS" |
|
33474
eea4bbe04daa
Remove references to -lgcrypt from configure.ac. We don't directly use
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
33073
diff
changeset
|
1803 | GNUTLS_LIBS="$with_gnutls_libs -lgnutls" |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1804 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1805 | enable_gnutls="yes" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1806 | else |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1807 | GNUTLS_CFLAGS="" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1808 | GNUTLS_LIBS="" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1809 | fi |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1810 | else |
|
13820
52bd6836c49a
[gaim-migrate @ 16250]
Richard Laager <rlaager@pidgin.im>
parents:
13813
diff
changeset
|
1811 | AC_MSG_CHECKING(for GnuTLS libraries) |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1812 | AC_MSG_RESULT(no) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1813 | fi |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1814 | else |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1815 | GNUTLS_CFLAGS="" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1816 | GNUTLS_LIBS="" |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1817 | fi |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1818 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1819 | AC_SUBST(GNUTLS_CFLAGS) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1820 | AC_SUBST(GNUTLS_LIBS) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1821 | |
|
25643
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1822 | if test "x$enable_gnutls" = "xyes"; then |
|
30041
cd31a67de2c0
configure.ac: Check for gnutls_priority_set.
Paul Aurich <darkrain42@pidgin.im>
parents:
30027
diff
changeset
|
1823 | AC_MSG_CHECKING(for gnutls_priority_set_direct and gnutls_priority_set) |
|
25643
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1824 | LIBS_save="$LIBS" |
|
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1825 | LIBS="$LIBS $GNUTLS_LIBS" |
|
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1826 | CPPFLAGS_save="$CPPFLAGS" |
|
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1827 | CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS" |
|
27694
ccab35c75f3a
Fix some quoting for AC_LANG_PROGRAM.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
27692
diff
changeset
|
1828 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]], |
|
30041
cd31a67de2c0
configure.ac: Check for gnutls_priority_set.
Paul Aurich <darkrain42@pidgin.im>
parents:
30027
diff
changeset
|
1829 | [[gnutls_session s; gnutls_priority_set_direct(s, NULL, NULL); gnutls_priority_set(s, NULL);]])], |
|
25643
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1830 | [AC_DEFINE([HAVE_GNUTLS_PRIORITY_FUNCS], 1, |
|
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1831 | [Define if your gnutls has gnutls_priority_set_direct and friends]) |
|
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1832 | AC_MSG_RESULT(yes)], |
|
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1833 | [AC_MSG_RESULT(no)]) |
|
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1834 | CPPFLAGS="$CPPFLAGS_save" |
|
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1835 | LIBS="$LIBS_save" |
|
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1836 | fi |
|
04831cc56f5a
Use _set_default_priority on gnutls versions lacking _priority_set_direct.
Ethan Blanton <elb@pidgin.im>
parents:
25427
diff
changeset
|
1837 | |
|
28654
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1838 | if test "x$enable_gnutls" = "xyes"; then |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1839 | AC_MSG_CHECKING(for GNUTLS_CERT_INSECURE_ALGORITHM) |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1840 | LIBS_save="$LIBS" |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1841 | LIBS="$LIBS $GNUTLS_LIBS" |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1842 | CPPFLAGS_save="$CPPFLAGS" |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1843 | CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS" |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1844 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]], |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1845 | [[unsigned int verify = GNUTLS_CERT_INSECURE_ALGORITHM;]])], |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1846 | [AC_DEFINE([HAVE_GNUTLS_CERT_INSECURE_ALGORITHM], 1, |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1847 | [Define if your gnutls has the GNUTLS_CERT_INSECURE_ALGORITHM flag]) |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1848 | AC_MSG_RESULT(yes)], |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1849 | [AC_MSG_RESULT(no)]) |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1850 | CPPFLAGS="$CPPFLAGS_save" |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1851 | LIBS="$LIBS_save" |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1852 | fi |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1853 | |
|
4be5f3da3edb
Check in the configure.ac check to go along with that #ifdef... Refs #10412.
Paul Aurich <darkrain42@pidgin.im>
parents:
28510
diff
changeset
|
1854 | |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1855 | AM_CONDITIONAL(USE_GNUTLS, test "x$enable_gnutls" = "xyes") |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1856 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1857 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1858 | dnl # |
|
13820
52bd6836c49a
[gaim-migrate @ 16250]
Richard Laager <rlaager@pidgin.im>
parents:
13813
diff
changeset
|
1859 | dnl # Check for NSS if it's specified, or if GnuTLS checks failed. |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1860 | dnl # |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1861 | looked_for_nss="no" |
|
7155
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1862 | if test "x$enable_nss" != "xno"; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
1863 | looked_for_nss="yes" |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1864 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1865 | AC_ARG_WITH(nspr-includes, |
|
14502
06af96a5a07d
[gaim-migrate @ 17154]
Mark Doliner <markdoliner@pidgin.im>
parents:
14498
diff
changeset
|
1866 | [AC_HELP_STRING([--with-nspr-includes=PREFIX], [specify location of Mozilla nspr4 includes.])], |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1867 | [with_nspr_includes="$withval"]) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1868 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1869 | AC_ARG_WITH(nspr-libs, |
|
14502
06af96a5a07d
[gaim-migrate @ 17154]
Mark Doliner <markdoliner@pidgin.im>
parents:
14498
diff
changeset
|
1870 | [AC_HELP_STRING([--with-nspr-libs=PREFIX], [specify location of Mozilla nspr4 libs.])], |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1871 | [with_nspr_libs="$withval"]) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1872 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1873 | AC_ARG_WITH(nss-includes, |
|
14502
06af96a5a07d
[gaim-migrate @ 17154]
Mark Doliner <markdoliner@pidgin.im>
parents:
14498
diff
changeset
|
1874 | [AC_HELP_STRING([--with-nss-includes=PREFIX], [specify location of Mozilla nss3 includes.])], |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1875 | [with_nss_includes="$withval"]) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1876 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1877 | AC_ARG_WITH(nss-libs, |
|
14502
06af96a5a07d
[gaim-migrate @ 17154]
Mark Doliner <markdoliner@pidgin.im>
parents:
14498
diff
changeset
|
1878 | [AC_HELP_STRING([--with-nss-libs=PREFIX], [specify location of Mozilla nss3 libs.])], |
|
6757
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1879 | [with_nss_libs="$withval"]) |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1880 | |
|
58c39d82f606
[gaim-migrate @ 7289]
Christian Hammond <chipx86@chipx86.com>
parents:
6756
diff
changeset
|
1881 | |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1882 | if test -n "$with_nspr_includes" || test -n "$with_nspr_libs" || \ |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1883 | test -n "$with_nss_includes" || test -n "$with_nss_libs" || |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1884 | test "x$enable_nss" = "xstatic"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1885 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1886 | nss_manual_check="yes" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1887 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1888 | nss_manual_check="no" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1889 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1890 | |
|
6738
aa797bcc69dd
[gaim-migrate @ 7270]
Christian Hammond <chipx86@chipx86.com>
parents:
6734
diff
changeset
|
1891 | enable_nss="no" |
|
aa797bcc69dd
[gaim-migrate @ 7270]
Christian Hammond <chipx86@chipx86.com>
parents:
6734
diff
changeset
|
1892 | |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1893 | if test "x$nss_manual_check" = "xno"; then |
|
12507
9c4e2db872fd
[gaim-migrate @ 14819]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12502
diff
changeset
|
1894 | if `$PKG_CONFIG --exists mozilla-nss`; then |
|
13171
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1895 | PKG_CHECK_MODULES(NSS, mozilla-nss, [ |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1896 | have_nss="yes" |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1897 | ], [ |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1898 | AC_MSG_RESULT(no) |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1899 | have_nss="no" |
|
a49601b4afa9
[gaim-migrate @ 15533]
Richard Laager <rlaager@pidgin.im>
parents:
13153
diff
changeset
|
1900 | ]) |
|
12507
9c4e2db872fd
[gaim-migrate @ 14819]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12502
diff
changeset
|
1901 | mozilla_nspr="mozilla-nspr" |
|
9c4e2db872fd
[gaim-migrate @ 14819]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12502
diff
changeset
|
1902 | mozilla_nss="mozilla-nss" |
|
21832
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1903 | elif `$PKG_CONFIG --exists nss`; then |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1904 | PKG_CHECK_MODULES(NSS, nss, [ |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1905 | have_nss="yes" |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1906 | ], [ |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1907 | AC_MSG_RESULT(no) |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1908 | have_nss="no" |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1909 | ]) |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1910 | mozilla_nspr="nspr" |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1911 | mozilla_nss="nss" |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1912 | elif `$PKG_CONFIG --exists microb-engine-nss`; then |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1913 | PKG_CHECK_MODULES(NSS, microb-engine-nss, [ |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1914 | have_nss="yes" |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1915 | ], [ |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1916 | AC_MSG_RESULT(no) |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1917 | have_nss="no" |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1918 | ]) |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1919 | mozilla_nspr="mozilla-nspr" |
|
0f9c51f91e66
NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
Will Thompson <resiak@pidgin.im>
parents:
21822
diff
changeset
|
1920 | mozilla_nss="microb-engine-nss" |
|
12507
9c4e2db872fd
[gaim-migrate @ 14819]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12502
diff
changeset
|
1921 | fi |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1922 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1923 | if test "x$have_nss" = "xyes"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1924 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1925 | AC_DEFINE(HAVE_NSS, 1, [Define if you have Mozilla NSS]) |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
1926 | AC_DEFINE(HAVE_SSL, 1, [Define if you have SSL]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1927 | |
|
7155
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
1928 | msg_nss="Mozilla NSS" |
|
6738
aa797bcc69dd
[gaim-migrate @ 7270]
Christian Hammond <chipx86@chipx86.com>
parents:
6734
diff
changeset
|
1929 | enable_nss="yes" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1930 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1931 | nss_manual_check="yes" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1932 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1933 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1934 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1935 | if test "x$nss_manual_check" = "xyes"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1936 | mozilla_nss="" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1937 | have_nspr_includes="no" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1938 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1939 | if test "x$with_nspr_includes" != "xno"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1940 | CPPFLAGS_save=$CPPFLAGS |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1941 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1942 | AC_MSG_CHECKING(for Mozilla nspr4 includes in $with_nspr_includes) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1943 | AC_MSG_RESULT("") |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1944 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1945 | CPPFLAGS="$CPPFLAGS -I$with_nspr_includes" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1946 | AC_CHECK_HEADERS(nspr.h prio.h, [ moz_nspr_includes="yes" ]) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1947 | CPPFLAGS=$CPPFLAGS_save |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1948 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1949 | if test "x$moz_nspr_includes" != "xno" -a \ |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1950 | "x$moz_nspr_includes" != "x"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1951 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1952 | have_nspr_includes="yes" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1953 | NSPR_CFLAGS="-I$with_nspr_includes" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1954 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1955 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1956 | AC_MSG_CHECKING(for Mozilla nspr4 includes) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1957 | AC_MSG_RESULT(no) |
|
7087
a572c156a178
[gaim-migrate @ 7652]
Christian Hammond <chipx86@chipx86.com>
parents:
7021
diff
changeset
|
1958 | |
|
a572c156a178
[gaim-migrate @ 7652]
Christian Hammond <chipx86@chipx86.com>
parents:
7021
diff
changeset
|
1959 | enable_nss="no" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1960 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1961 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1962 | have_nspr_libs="no" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1963 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1964 | if test "x$with_nspr_libs" != "xno" -a \ |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1965 | "x$have_nspr_includes" != "xno"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1966 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1967 | CFLAGS_save=$CFLAGS |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1968 | LDFLAGS_save=$LDFLAGS |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1969 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1970 | if test "$enable_nss" = "static"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1971 | if test -z "$with_nspr_libs"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1972 | AC_MSG_ERROR( |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1973 | [Static linkage requested, but path to nspr libraries not set.] |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1974 | [Please specify the path to libnspr4.a] |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1975 | [Example: --with-nspr-libs=/usr/lib]) |
|
7087
a572c156a178
[gaim-migrate @ 7652]
Christian Hammond <chipx86@chipx86.com>
parents:
7021
diff
changeset
|
1976 | |
|
a572c156a178
[gaim-migrate @ 7652]
Christian Hammond <chipx86@chipx86.com>
parents:
7021
diff
changeset
|
1977 | enable_nss="no" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1978 | else |
|
12038
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
1979 | nsprlibs="$LIBDL $with_nspr_libs/libplc4.a $with_nspr_libs/libplds4.a $with_nspr_libs/libnspr4.a $PTHREAD_LIB" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1980 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1981 | else |
|
12038
1d83b5720a65
[gaim-migrate @ 14331]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12036
diff
changeset
|
1982 | nsprlibs="$LIBDL -lplc4 -lplds4 -lnspr4 $PTHREAD_LIB" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1983 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1984 | |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
1985 | AC_CACHE_CHECK([for Mozilla nspr libraries], ac_cv_moz_nspr_libs, |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1986 | [ |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1987 | LIBS_save=$LIBS |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1988 | CFLAGS="$CFLAGS $NSPR_CFLAGS" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1989 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1990 | LIBS="$nsprlibs" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1991 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1992 | if test "x$with_nspr_libs" != "x"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1993 | LDFLAGS="$LDFLAGS -L$with_nspr_libs" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1994 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1995 | LDFLAGS="$LDFLAGS" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1996 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1997 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
1998 | AC_TRY_LINK_FUNC(PR_Init, |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
1999 | [ac_cv_moz_nspr_libs="yes"], |
|
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
2000 | [ac_cv_moz_nspr_libs="no"]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2001 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2002 | CFLAGS=$CFLAGS_save |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2003 | LDFLAGS=$LDFLAGS_save |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2004 | LIBS=$LIBS_save |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2005 | ]) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2006 | |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
2007 | if test "x$ac_cv_moz_nspr_libs" != "xno"; then |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2008 | have_nspr_libs="yes" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2009 | NSPR_LIBS="-L$with_nspr_libs $nsprlibs" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2010 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2011 | NSPR_CFLAGS="" |
|
7087
a572c156a178
[gaim-migrate @ 7652]
Christian Hammond <chipx86@chipx86.com>
parents:
7021
diff
changeset
|
2012 | enable_nss="no" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2013 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2014 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2015 | AC_MSG_CHECKING(for Mozilla nspr4 libraries) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2016 | AC_MSG_RESULT(no) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2017 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2018 | |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2019 | have_nss_includes="no" |
|
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2020 | |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2021 | if test "x$with_nss_includes" != "xno" -a \ |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2022 | "x$have_nspr_libs" != "xno"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2023 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2024 | CPPFLAGS_save=$CPPFLAGS |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2025 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2026 | AC_MSG_CHECKING(for Mozilla nss3 includes in $with_nss_includes) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2027 | AC_MSG_RESULT("") |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2028 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2029 | if test "x$with_nspr_includes" != "x"; then |
| 6990 | 2030 | CPPFLAGS="$CPPFLAGS -I$with_nspr_includes -I$with_nss_includes" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2031 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2032 | CPPFLAGS="$CPPFLAGS -I$with_nss_includes" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2033 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2034 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2035 | AC_CHECK_HEADERS(nss.h ssl.h smime.h, |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2036 | [moz_nss_includes="yes"], |
|
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2037 | [moz_nss_includes="no"]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2038 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2039 | CPPFLAGS=$CPPFLAGS_save |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2040 | |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2041 | if test "x$moz_nss_includes" = "xyes"; then |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2042 | have_nss_includes="yes" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2043 | NSS_CFLAGS="-I$with_nss_includes" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2044 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2045 | NSPR_CFLAGS="" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2046 | NSPR_LIBS="" |
|
7252
71e4a6a902af
[gaim-migrate @ 7829]
Christian Hammond <chipx86@chipx86.com>
parents:
7233
diff
changeset
|
2047 | enable_nss="no" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2048 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2049 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2050 | AC_MSG_CHECKING(for Mozilla nss3 includes) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2051 | AC_MSG_RESULT(no) |
|
7087
a572c156a178
[gaim-migrate @ 7652]
Christian Hammond <chipx86@chipx86.com>
parents:
7021
diff
changeset
|
2052 | enable_nss="no" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2053 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2054 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2055 | if test "x$with_nss_libs" != "xno" -a \ |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2056 | "x$have_nss_includes" != "xno"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2057 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2058 | LDFLAGS_save=$LDFLAGS |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2059 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2060 | if test "$enable_nss" = "static"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2061 | if test -z "$with_nss_libs"; then |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2062 | AC_MSG_ERROR( |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2063 | [Static linkage requested, but path to nss libraries not set.] |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2064 | [Please specify the path to libnss3.a] |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2065 | [Example: --with-nspr-libs=/usr/lib/mozilla]) |
|
7087
a572c156a178
[gaim-migrate @ 7652]
Christian Hammond <chipx86@chipx86.com>
parents:
7021
diff
changeset
|
2066 | enable_nss="no" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2067 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2068 | nsslibs="-ldb1 $with_nss_libs/libnssckfw.a $with_nss_libs/libasn1.a $with_nss_libs/libcrmf.a $with_nss_libs/libswfci.a $with_nss_libs/libjar.a $with_nss_libs/libpkcs12.a $with_nss_libs/libpkcs7.a $with_nss_libs/libpki1.a $with_nss_libs/libsmime.a $with_nss_libs/libssl.a $with_nss_libs/libnss.a $with_nss_libs/libpk11wrap.a $with_nss_libs/libsoftokn.a $with_nss_libs/libfreebl.a $with_nss_libs/libnsspki.a $with_nss_libs/libnssdev.a $with_nss_libs/libcryptohi.a $with_nss_libs/libcerthi.a $with_nss_libs/libcertdb.a $with_nss_libs/libsecutil.a $with_nss_libs/libnssb.a" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2069 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2070 | case "$host" in |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2071 | *solaris*) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2072 | nsslibs="$nsslibs $with_nss_libs/libfreeb1.a" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2073 | ;; |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2074 | esac |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2075 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2076 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2077 | nsslibs="-lssl3 -lsmime3 -lnss3 -lsoftokn3" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2078 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2079 | |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
2080 | AC_CACHE_CHECK([for Mozilla nss libraries], ac_cv_moz_nss_libs, |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2081 | [ |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2082 | LIBS_save=$LIBS |
| 14797 | 2083 | LDFLAGS="$LDFLAGS -L$with_nspr_libs -L$with_nss_libs" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2084 | LIBS="$nsslibs $nsprlibs" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2085 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2086 | AC_TRY_LINK_FUNC(NSS_Init, |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
2087 | [ac_cv_moz_nss_libs="yes"], |
|
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
2088 | [ac_cv_moz_nss_libs="no"]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2089 | |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
2090 | if test "x$ac_cv_moz_nss_libs" = "xno"; then |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2091 | nsslibs="-lssl3 -lsmime3 -lnss3 -lsoftokn3" |
|
27848
a52e369d98c6
Strip trailing whitespace.
Paul Aurich <darkrain42@pidgin.im>
parents:
27758
diff
changeset
|
2092 | LDFLAGS="$LDFLAGS -L$with_nspr_libs -L$with_nss_libs" |
| 14797 | 2093 | LIBS="$LIBS $nsslibs" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2094 | AC_TRY_LINK_FUNC(NSS_Init, |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
2095 | [ac_cv_moz_nss_libs="yes"], |
|
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
2096 | [ac_cv_moz_nss_libs="no"]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2097 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2098 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2099 | LDFLAGS=$LDFLAGS_save |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2100 | LIBS=$LIBS_save |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2101 | ]) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2102 | |
|
23340
ac3ac8e7652d
A patch from compnerd (Saleem Abdulrasool) to properly name the variables
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23302
diff
changeset
|
2103 | if test "x$ac_cv_moz_nss_libs" != "xno"; then |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2104 | AC_DEFINE(HAVE_NSS) |
|
6734
38b7396c0116
[gaim-migrate @ 7266]
Christian Hammond <chipx86@chipx86.com>
parents:
6723
diff
changeset
|
2105 | AC_DEFINE(HAVE_SSL) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2106 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2107 | NSS_LIBS="-L$with_nss_libs $nsslibs" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2108 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2109 | if test "$enable_nss" = "static"; then |
|
7155
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
2110 | msg_nss="Mozilla NSS (static)" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2111 | else |
|
7155
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
2112 | msg_nss="Mozilla NSS" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2113 | fi |
|
6738
aa797bcc69dd
[gaim-migrate @ 7270]
Christian Hammond <chipx86@chipx86.com>
parents:
6734
diff
changeset
|
2114 | |
|
aa797bcc69dd
[gaim-migrate @ 7270]
Christian Hammond <chipx86@chipx86.com>
parents:
6734
diff
changeset
|
2115 | enable_nss="yes" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2116 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2117 | NSS_CFLAGS="" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2118 | NSPR_CFLAGS="" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2119 | NSPR_LIBS="" |
|
7087
a572c156a178
[gaim-migrate @ 7652]
Christian Hammond <chipx86@chipx86.com>
parents:
7021
diff
changeset
|
2120 | enable_nss="no" |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2121 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2122 | else |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2123 | AC_MSG_CHECKING(for Mozilla nss libraries) |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2124 | AC_MSG_RESULT(no) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2125 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2126 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2127 | NSS_CFLAGS="$NSPR_CFLAGS $NSS_CFLAGS" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2128 | NSS_LIBS="$NSPR_LIBS $NSS_LIBS" |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2129 | fi |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2130 | |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2131 | AC_SUBST(NSS_CFLAGS) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2132 | AC_SUBST(NSS_LIBS) |
|
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2133 | fi |
|
27848
a52e369d98c6
Strip trailing whitespace.
Paul Aurich <darkrain42@pidgin.im>
parents:
27758
diff
changeset
|
2134 | |
|
6738
aa797bcc69dd
[gaim-migrate @ 7270]
Christian Hammond <chipx86@chipx86.com>
parents:
6734
diff
changeset
|
2135 | AM_CONDITIONAL(USE_NSS, test "x$enable_nss" = "xyes") |
|
aa797bcc69dd
[gaim-migrate @ 7270]
Christian Hammond <chipx86@chipx86.com>
parents:
6734
diff
changeset
|
2136 | |
|
7155
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
2137 | if test "x$msg_nss" != "x" -a "x$msg_gnutls" != "x"; then |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
2138 | msg_ssl="$msg_nss and $msg_gnutls" |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
2139 | elif test "x$msg_nss" != "x"; then |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
2140 | msg_ssl=$msg_nss |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
2141 | elif test "x$msg_gnutls" != "x"; then |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
2142 | msg_ssl=$msg_gnutls |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
2143 | elif test "x$looked_for_gnutls" = "xyes" -a "x$looked_for_nss" = "xyes" -a "x$force_deps" = "xyes" ; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2144 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2145 | Neither GnuTLS or NSS SSL development headers found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2146 | Use --disable-nss --disable-gnutls if you do not need SSL support. |
|
27386
885fcba6bcca
Mention Yahoo in all the places we say "These protocols won't work without SSL"
Paul Aurich <darkrain42@pidgin.im>
parents:
27361
diff
changeset
|
2147 | MSN, Yahoo!, Novell Groupwise and Google Talk will not work without GnuTLS or NSS. OpenSSL is NOT usable! |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2148 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
2149 | elif test "x$looked_for_gnutls" = "xyes" -a "x$force_deps" = "xyes" ; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2150 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2151 | GnuTLS SSL development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2152 | Use --disable-gnutls if you do not need SSL support. |
|
27386
885fcba6bcca
Mention Yahoo in all the places we say "These protocols won't work without SSL"
Paul Aurich <darkrain42@pidgin.im>
parents:
27361
diff
changeset
|
2153 | MSN, Yahoo!, Novell Groupwise and Google Talk will not work without SSL support. |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2154 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
2155 | elif test "x$looked_for_nss" = "xyes" -a "x$force_deps" = "xyes" ; then |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2156 | AC_MSG_ERROR([ |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2157 | NSS SSL development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2158 | Use --disable-nss if you do not need SSL support. |
|
27386
885fcba6bcca
Mention Yahoo in all the places we say "These protocols won't work without SSL"
Paul Aurich <darkrain42@pidgin.im>
parents:
27361
diff
changeset
|
2159 | MSN, Yahoo!, Novell Groupwise and Google Talk will not work without SSL support. |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2160 | ]) |
|
7155
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
2161 | fi |
|
8ce800977807
[gaim-migrate @ 7722]
Christian Hammond <chipx86@chipx86.com>
parents:
7087
diff
changeset
|
2162 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2163 | dnl ####################################################################### |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2164 | dnl # Check for Tcl |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2165 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2166 | AC_ARG_ENABLE(tcl, [AC_HELP_STRING([--disable-tcl], |
| 14859 | 2167 | [compile without Tcl scripting])], enable_tcl="$enableval", enable_tcl="yes") |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2168 | AC_ARG_WITH(tclconfig, [AC_HELP_STRING([--with-tclconfig=DIR], |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2169 | [directory containing tclConfig.sh])]) |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2170 | |
|
10975
a67aa6003df4
[gaim-migrate @ 12800]
Gary Kramlich <grim@reaperworld.com>
parents:
10925
diff
changeset
|
2171 | if test "$enable_plugins" = no; then |
|
a67aa6003df4
[gaim-migrate @ 12800]
Gary Kramlich <grim@reaperworld.com>
parents:
10925
diff
changeset
|
2172 | enable_tcl=no |
|
a67aa6003df4
[gaim-migrate @ 12800]
Gary Kramlich <grim@reaperworld.com>
parents:
10925
diff
changeset
|
2173 | fi |
|
a67aa6003df4
[gaim-migrate @ 12800]
Gary Kramlich <grim@reaperworld.com>
parents:
10925
diff
changeset
|
2174 | |
| 6694 | 2175 | if test "$enable_tcl" = yes; then |
| 2176 | AC_MSG_CHECKING([for tclConfig.sh]) | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2177 | TCLCONFIG=no |
| 6710 | 2178 | TCLCONFIGDIRS="/usr/lib \ |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2179 | /usr/lib64 \ |
|
24071
0abe49c5b324
Fix finding TCL headers with latest TCL
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23881
diff
changeset
|
2180 | /usr/lib/tcl8.5 \ |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2181 | /usr/lib/tcl8.4 \ |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2182 | /usr/lib/tcl8.3 \ |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2183 | /usr/lib/tcl8.2 \ |
|
24071
0abe49c5b324
Fix finding TCL headers with latest TCL
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23881
diff
changeset
|
2184 | /usr/lib64/tcl8.5 \ |
|
0abe49c5b324
Fix finding TCL headers with latest TCL
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23881
diff
changeset
|
2185 | /usr/lib64/tcl8.4 \ |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2186 | /System/Library/Tcl/8.3 \ |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2187 | /usr/local/lib" |
| 6710 | 2188 | for dir in $with_tclconfig $TCLCONFIGDIRS; do |
| 6694 | 2189 | if test -f $dir/tclConfig.sh; then |
| 2190 | TCLCONFIG=$dir/tclConfig.sh | |
| 2191 | AC_MSG_RESULT([yes ($TCLCONFIG)]) | |
|
29835
d8e197726e12
Stop looking for tcl/tkConfig.sh after the first result, since I think it
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29834
diff
changeset
|
2192 | break |
| 6694 | 2193 | fi |
| 2194 | done | |
| 6697 | 2195 | if test "$TCLCONFIG" = "no"; then |
| 6694 | 2196 | AC_MSG_RESULT([no]) |
| 2197 | enable_tcl=no | |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
2198 | 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
|
2199 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2200 | Tcl development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2201 | Use --disable-tcl if you do not need Tcl scripting support. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2202 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
2203 | fi |
| 6694 | 2204 | else |
| 2205 | . $TCLCONFIG | |
| 6709 | 2206 | AC_MSG_CHECKING([Tcl version compatability]) |
| 7822 | 2207 | if test "$TCL_MAJOR_VERSION" -ne 8 -o "$TCL_MINOR_VERSION" -lt 3; then |
| 2208 | AC_MSG_RESULT([bad, $TCL_VERSION found but 8.3 or later required]) | |
| 6709 | 2209 | enable_tcl=no |
| 2210 | else | |
| 2211 | AC_MSG_RESULT([ok, $TCL_VERSION]) | |
| 2212 | eval "TCL_LIB_SPEC=\"$TCL_LIB_SPEC\"" | |
| 2213 | AC_MSG_CHECKING([for Tcl linkability]) | |
| 6713 | 2214 | oldCPPFLAGS=$CPPFLAGS |
| 7351 | 2215 | CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC -I$TCL_PREFIX/include" |
| 6709 | 2216 | oldLIBS=$LIBS |
| 2217 | LIBS="$LIBS $TCL_LIB_SPEC" | |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2218 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <tcl.h>]], |
|
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2219 | [[Tcl_Interp *interp=NULL; Tcl_Init(interp)]])], |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2220 | [AC_MSG_RESULT([yes]);enable_tcl=yes], |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2221 | [AC_MSG_RESULT([no]);enable_tcl=no]) |
| 6713 | 2222 | CPPFLAGS="$oldCPPFLAGS" |
| 6709 | 2223 | LIBS="$oldLIBS" |
| 2224 | fi | |
| 6694 | 2225 | fi |
| 2226 | fi | |
| 2227 | ||
| 2228 | if test "$enable_tcl" = yes; then | |
| 2229 | AM_CONDITIONAL(USE_TCL, true) | |
| 2230 | TCL_LIBS=$TCL_LIB_SPEC | |
|
14504
88f6b47296a9
[gaim-migrate @ 17156]
Mark Doliner <markdoliner@pidgin.im>
parents:
14503
diff
changeset
|
2231 | AC_DEFINE(HAVE_TCL, [1], [Compile with support for the Tcl toolkit]) |
| 6694 | 2232 | AC_SUBST(TCL_LIBS) |
| 7351 | 2233 | TCL_CFLAGS="$TCL_INCLUDE_SPEC -I$TCL_PREFIX/include" |
| 6717 | 2234 | if test "x$GCC" = "xyes"; then |
| 2235 | TCL_CFLAGS="$TCL_CFLAGS -fno-strict-aliasing" | |
| 2236 | fi | |
| 6712 | 2237 | AC_SUBST(TCL_CFLAGS) |
| 6694 | 2238 | else |
| 2239 | AM_CONDITIONAL(USE_TCL, false) | |
| 2240 | fi | |
| 2241 | ||
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2242 | dnl ####################################################################### |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2243 | dnl # Check for Tk |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2244 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2245 | AC_ARG_ENABLE(tk, [AC_HELP_STRING([--disable-tk], |
| 14859 | 2246 | [compile without Tcl support for Tk])], enable_tk="$enableval", enable_tk="yes") |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2247 | AC_ARG_WITH(tkconfig, [AC_HELP_STRING([--with-tkconfig=DIR], |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2248 | [directory containing tkConfig.sh])]) |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2249 | |
| 6694 | 2250 | if test "$enable_tcl" = yes -a "$enable_tk" = yes; then |
| 2251 | AC_MSG_CHECKING([for tkConfig.sh]) | |
| 2252 | TKCONFIG=no | |
| 6715 | 2253 | TKCONFIGDIRS="/usr/lib \ |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2254 | /usr/lib64 \ |
|
30621
d0e80088af1e
Add /usr/lib/tk8.5 to configure.ac to get Debian Squeeze working.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30618
diff
changeset
|
2255 | /usr/lib/tk8.5 \ |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2256 | /usr/lib/tk8.4 \ |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2257 | /usr/lib/tk8.3 \ |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2258 | /usr/lib/tk8.2 \ |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2259 | /usr/local/lib" |
| 6715 | 2260 | for dir in $with_tkconfig $TKCONFIGDIRS; do |
| 6694 | 2261 | if test -f $dir/tkConfig.sh; then |
| 2262 | TKCONFIG=$dir/tkConfig.sh | |
| 2263 | AC_MSG_RESULT([yes ($TKCONFIG)]) | |
|
29835
d8e197726e12
Stop looking for tcl/tkConfig.sh after the first result, since I think it
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29834
diff
changeset
|
2264 | break |
| 6694 | 2265 | fi |
| 2266 | done | |
| 2267 | if test "$TKCONFIG" = "no"; then | |
| 2268 | AC_MSG_RESULT([no]) | |
| 2269 | enable_tk=no | |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
2270 | 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
|
2271 | AC_MSG_ERROR([ |
|
22758
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2272 | Tk development headers not found. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2273 | Use --disable-tk if you do not need Tk scripting support. |
|
ba0bee0e8f61
Make ./configure fail immediately if requirements for enabled options are
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
22757
diff
changeset
|
2274 | ]) |
|
23571
1a323da99332
Add a --disable-missing-dependencies option to configure for people who
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
23548
diff
changeset
|
2275 | fi |
| 6694 | 2276 | else |
| 2277 | . $TKCONFIG | |
| 2278 | eval "TK_LIB_SPEC=\"$TK_LIB_SPEC\"" | |
| 2279 | AC_MSG_CHECKING([for Tk linkability]) | |
| 6716 | 2280 | oldCPPFLAGS=$CPPFLAGS |
| 2281 | CPPFLAGS="$CPPFLAGS $TCL_CFLAGS" | |
| 6694 | 2282 | oldLIBS=$LIBS |
| 2283 | LIBS="$LIBS $TCL_LIB_SPEC $TK_LIB_SPEC" | |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2284 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <tk.h>]], |
|
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2285 | [[Tcl_Interp *interp=NULL; Tcl_Init(interp); Tk_Init(interp);]])], |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2286 | [AC_MSG_RESULT([yes]);enable_tk=yes], |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2287 | [AC_MSG_RESULT([no]);enable_tk=no]) |
| 6716 | 2288 | CPPFLAGS="$oldCPPFLAGS" |
| 6694 | 2289 | LIBS="$oldLIBS" |
| 2290 | fi | |
| 6710 | 2291 | else |
| 2292 | enable_tk=no | |
| 6694 | 2293 | fi |
| 2294 | ||
| 2295 | if test "$enable_tk" = yes; then | |
| 2296 | AM_CONDITIONAL(USE_TK, true) | |
| 2297 | AC_DEFINE(HAVE_TK, [1], [Compile with support for the Tk toolkit]) | |
| 2298 | TK_LIBS=$TK_LIB_SPEC | |
| 2299 | AC_SUBST(TK_LIBS) | |
| 2300 | else | |
| 2301 | AM_CONDITIONAL(USE_TK, false) | |
| 2302 | fi | |
| 2303 | ||
| 2129 | 2304 | if test "$ac_cv_cygwin" = yes ; then |
| 2305 | LDADD="$LDADD -static" | |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
2306 | AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) |
|
6701
7e2db9273748
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6697
diff
changeset
|
2307 | fi |
| 2129 | 2308 | |
|
6360
c2bfe65b200c
[gaim-migrate @ 6864]
Robert McQueen <robot101@debian.org>
parents:
6321
diff
changeset
|
2309 | AC_SUBST(DEBUG_CFLAGS) |
| 2129 | 2310 | AC_SUBST(LDADD) |
| 2311 | AC_SUBST(LIBS) | |
| 2312 | ||
| 2313 | 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
|
2314 | AC_DEFINE(PURPLE_PLUGINS, 1, [Define if plugins are enabled.]) |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2315 | 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
|
2316 | PLUGINS_DEFINE="#define PURPLE_PLUGINS 1" |
| 2129 | 2317 | else |
|
3411
e9d50336f9c3
[gaim-migrate @ 3430]
Christian Hammond <chipx86@chipx86.com>
parents:
3408
diff
changeset
|
2318 | 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
|
2319 | PLUGINS_DEFINE="#undef PURPLE_PLUGINS" |
| 2129 | 2320 | 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
|
2321 | AC_SUBST(PLUGINS_DEFINE) |
| 2129 | 2322 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2323 | dnl ####################################################################### |
|
33795
590514c0a77c
Improve configure message for Cyrus SASL
Daniel Atallah <datallah@pidgin.im>
parents:
33750
diff
changeset
|
2324 | dnl # Check for Cyrus-SASL (for xmpp/irc) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2325 | dnl ####################################################################### |
| 2129 | 2326 | dnl AC_CHECK_SIZEOF(short) |
| 2327 | AC_CHECK_FUNCS(snprintf connect) | |
| 12508 | 2328 | AC_SUBST(SASL_LIBS) |
|
33795
590514c0a77c
Improve configure message for Cyrus SASL
Daniel Atallah <datallah@pidgin.im>
parents:
33750
diff
changeset
|
2329 | AC_ARG_ENABLE(cyrus-sasl, AC_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
|
2330 | if test "x$enable_cyrus_sasl" = "xyes" ; then |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2331 | 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
|
2332 | AM_CONDITIONAL(USE_CYRUS_SASL, true) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2333 | 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
|
2334 | SASL_LIBS=-"lsasl2" |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2335 | ], [ |
|
28855
c5bc85f9c00e
jabber: Factor the SASL auth methods into their own files.
Paul Aurich <darkrain42@pidgin.im>
parents:
28693
diff
changeset
|
2336 | AM_CONDITIONAL(USE_CYRUS_SASL, false) |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
2337 | AC_MSG_ERROR([Cyrus SASL library not found]) |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2338 | ]) |
|
28855
c5bc85f9c00e
jabber: Factor the SASL auth methods into their own files.
Paul Aurich <darkrain42@pidgin.im>
parents:
28693
diff
changeset
|
2339 | else |
|
c5bc85f9c00e
jabber: Factor the SASL auth methods into their own files.
Paul Aurich <darkrain42@pidgin.im>
parents:
28693
diff
changeset
|
2340 | AM_CONDITIONAL(USE_CYRUS_SASL, false) |
| 12508 | 2341 | fi |
| 2129 | 2342 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2343 | dnl ####################################################################### |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2344 | dnl # Check for Kerberos (for Zephyr) |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2345 | dnl ####################################################################### |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
2346 | AC_DEFINE(ZEPHYR_INT32, long, [Size of an int32.]) |
| 2129 | 2347 | AC_SUBST(KRB4_CFLAGS) |
| 2348 | AC_SUBST(KRB4_LDFLAGS) | |
| 2349 | AC_SUBST(KRB4_LIBS) | |
| 2350 | if test "$kerberos" != "no" ; then | |
| 2351 | if test "$kerberos" != "yes" ; then | |
| 2352 | KRB4_CFLAGS="-I${kerberos}/include" | |
| 2353 | if test -d "$kerberos/include/kerberosIV" ; then | |
| 2354 | KRB4_CFLAGS="$KRB4_CFLAGS -I${kerberos}/include/kerberosIV" | |
| 2355 | fi | |
| 2356 | KRB4_LDFLAGS="-L${kerberos}/lib" | |
| 2357 | elif test -d /usr/local/include/kerberosIV ; then | |
| 2358 | KRB4_CFLAGS="-I/usr/local/include/kerberosIV" | |
| 2359 | elif test -d /usr/include/kerberosIV ; then | |
| 2360 | KRB4_CFLAGS="-I/usr/include/kerberosIV" | |
| 2361 | fi | |
|
3662
e00dc031358b
[gaim-migrate @ 3791]
Christian Hammond <chipx86@chipx86.com>
parents:
3589
diff
changeset
|
2362 | AC_DEFINE(ZEPHYR_USES_KERBEROS, 1, [Define if kerberos should be used in Zephyr.]) |
| 2129 | 2363 | |
| 2364 | orig_LDFLAGS="$LDFLAGS" | |
| 2365 | LDFLAGS="$LDFLAGS $KRB4_LDFLAGS" | |
| 2366 | AC_CHECK_LIB(krb4, krb_rd_req, | |
| 2367 | [KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"], | |
| 2368 | [AC_CHECK_LIB(krb, krb_rd_req, | |
| 2369 | [KRB4_LIBS="-lkrb -ldes"], | |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
2370 | [AC_MSG_ERROR([Kerberos 4 libraries not found])], |
| 2129 | 2371 | -ldes)], |
| 2372 | -ldes425 -lkrb5 -lk5crypto -lcom_err) | |
| 2373 | orig_LIBS="$LIBS" | |
| 2374 | LIBS="$LIBS $KRB4_LIBS" | |
| 2375 | AC_CHECK_FUNCS(krb_set_key krb_rd_req krb_get_lrealm) | |
| 2376 | AC_CHECK_FUNCS(krb_get_err_text krb_log) | |
| 2377 | LIBS="$orig_LIBS" | |
| 2378 | LDFLAGS="$orig_LDFLAGS" | |
| 2379 | fi | |
| 6150 | 2380 | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2381 | dnl ####################################################################### |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2382 | dnl # Check for external libzephyr |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2383 | dnl ####################################################################### |
| 8378 | 2384 | AC_SUBST(ZEPHYR_CFLAGS) |
| 2385 | AC_SUBST(ZEPHYR_LDFLAGS) | |
| 2386 | AC_SUBST(ZEPHYR_LIBS) | |
| 2387 | if test "$zephyr" != "no" ; then | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2388 | if test "$zephyr" != "yes" ; then |
|
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2389 | ZEPHYR_CFLAGS="-I${zephyr}/include" |
| 8378 | 2390 | ZEPHYR_LDFLAGS="-L${zephyr}/lib" |
| 2391 | elif test -d /usr/athena/include/zephyr ; then | |
| 2392 | ZEPHYR_CFLAGS="-I/usr/athena/include" | |
| 2393 | elif test -d /usr/include/zephyr ; then | |
|
12034
e40d6191f530
[gaim-migrate @ 14327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12032
diff
changeset
|
2394 | ZEPHYR_CFLAGS="-I/usr/include" |
|
e40d6191f530
[gaim-migrate @ 14327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12032
diff
changeset
|
2395 | elif test -d /usr/local/include/zephyr ; then |
|
e40d6191f530
[gaim-migrate @ 14327]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12032
diff
changeset
|
2396 | ZEPHYR_CFLAGS="-I/usr/local/include" |
| 8378 | 2397 | fi |
|
13733
a11620505037
[gaim-migrate @ 16142]
Mark Doliner <markdoliner@pidgin.im>
parents:
13720
diff
changeset
|
2398 | AC_DEFINE(LIBZEPHYR_EXT, 1 , [Define if external libzephyr should be used.]) |
| 8378 | 2399 | AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno") |
| 2400 | orig_LDFLAGS="$LDFLAGS" | |
| 2401 | LDFLAGS="$LDFLAGS $ZEPHYR_LDFLAGS" | |
| 2402 | AC_CHECK_LIB(zephyr, ZInitialize, | |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2403 | [ZEPHYR_LIBS="-lzephyr"], |
|
29832
7dffd69edacb
Standardize on AC_MSG_ERROR.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29823
diff
changeset
|
2404 | [AC_MSG_ERROR([Zephyr libraries not found])], |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2405 | -lzephyr) |
| 8378 | 2406 | orig_LIBS="$LIBS" |
| 2407 | LIBS="$orig_LIBS" | |
| 2408 | LDFLAGS="$orig_LDFLAGS" | |
| 2409 | fi | |
| 2410 | ||
| 6150 | 2411 | AC_MSG_CHECKING(for me pot o' gold) |
| 2412 | AC_MSG_RESULT(no) | |
|
31332
6a74f42c8c04
Fix purple_str_to_time(). Fixes #13131.
Nader Morshed <morshed.nader@gmail.com>
parents:
31270
diff
changeset
|
2413 | AC_CHECK_FUNCS(gethostid lrand48 timegm) |
| 2129 | 2414 | AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf) |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
2415 | AC_CHECK_HEADERS(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h) |
|
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
2416 | AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h) |
|
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
2417 | AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/utsname.h sys/wait.h) |
|
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
2418 | 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
|
2419 | |
|
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
|
2420 | # 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
|
2421 | # 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
|
2422 | 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
|
2423 | 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
|
2424 | [[ |
|
23518
228c316f1323
Some header inclusion fixes to help on NetBSD/FreeBSD.
Richard Laager <rlaager@pidgin.im>
parents:
23492
diff
changeset
|
2425 | #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
|
2426 | #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
|
2427 | # 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
|
2428 | #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
|
2429 | ]]) |
|
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
|
2430 | |
|
22673
9a01f082c6b0
Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
Mark Doliner <markdoliner@pidgin.im>
parents:
22663
diff
changeset
|
2431 | AC_CHECK_HEADERS(sys/socket.h) |
|
3194
9404dfabed94
[gaim-migrate @ 3211]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3191
diff
changeset
|
2432 | AC_VAR_TIMEZONE_EXTERNALS |
| 2129 | 2433 | |
|
14533
18965bbec457
[gaim-migrate @ 17187]
Evan Schoenberg <evands@pidgin.im>
parents:
14507
diff
changeset
|
2434 | AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff, |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2435 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
14533
18965bbec457
[gaim-migrate @ 17187]
Evan Schoenberg <evands@pidgin.im>
parents:
14507
diff
changeset
|
2436 | #include <time.h> |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2437 | ]], [[ |
|
14533
18965bbec457
[gaim-migrate @ 17187]
Evan Schoenberg <evands@pidgin.im>
parents:
14507
diff
changeset
|
2438 | struct tm tm; |
|
18965bbec457
[gaim-migrate @ 17187]
Evan Schoenberg <evands@pidgin.im>
parents:
14507
diff
changeset
|
2439 | tm.tm_gmtoff = 1; |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2440 | ]])], [ac_cv_struct_tm_gmtoff=yes], [ac_cv_struct_tm_gmtoff=no])) |
|
14533
18965bbec457
[gaim-migrate @ 17187]
Evan Schoenberg <evands@pidgin.im>
parents:
14507
diff
changeset
|
2441 | if test $ac_cv_struct_tm_gmtoff = yes; then |
|
18965bbec457
[gaim-migrate @ 17187]
Evan Schoenberg <evands@pidgin.im>
parents:
14507
diff
changeset
|
2442 | AC_DEFINE(HAVE_TM_GMTOFF, 1, [Define if you have a tm_gmtoff member in struct tm]) |
|
18965bbec457
[gaim-migrate @ 17187]
Evan Schoenberg <evands@pidgin.im>
parents:
14507
diff
changeset
|
2443 | fi |
|
18965bbec457
[gaim-migrate @ 17187]
Evan Schoenberg <evands@pidgin.im>
parents:
14507
diff
changeset
|
2444 | |
|
29341
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2445 | AC_CACHE_CHECK([whether va_lists can be copied by value], ac_cv_va_val_copy,[ |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2446 | AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdarg.h> |
|
29341
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2447 | #include <stdlib.h> |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2448 | void f (int i, ...) { |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2449 | va_list args1, args2; |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2450 | va_start (args1, i); |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2451 | args2 = args1; |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2452 | if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42) |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2453 | exit (1); |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2454 | va_end (args1); va_end (args2); |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2455 | } |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2456 | int main() { |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2457 | f (0, 42); |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2458 | 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
|
2459 | }]])], |
|
29341
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2460 | [ac_cv_va_val_copy=yes], |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2461 | [ac_cv_va_val_copy=no], |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2462 | [ac_cv_va_val_copy=yes]) |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2463 | ]) |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2464 | |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2465 | if test "x$ac_cv_va_val_copy" = "xno"; then |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2466 | AC_DEFINE(VA_COPY_AS_ARRAY, 1, ['va_lists' cannot be copied as values]) |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2467 | fi |
|
8df545432476
disapproval of revision '1073f46cfe21069efa8e3be8f158fc2f841240cd'
Mark Doliner <markdoliner@pidgin.im>
parents:
29340
diff
changeset
|
2468 | |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2469 | dnl ####################################################################### |
| 15102 | 2470 | dnl # Check for check |
| 2471 | dnl ####################################################################### | |
|
23341
dfb174f1430a
A patch from compnerd (Saleem Abdulrasool) to remove a use of the
Saleem Abdulrasool <compnerd@compnerd.org>
parents:
23340
diff
changeset
|
2472 | PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], , [AC_MSG_RESULT([no, testing is disabled])]) |
|
15868
7013bc2fca16
minor cleanups, and make 'make check' work with older versions of Check
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15834
diff
changeset
|
2473 | AM_CONDITIONAL(HAVE_CHECK, [test "x$CHECK_LIBS" != "x"]) |
| 15102 | 2474 | AC_SUBST(CHECK_CFLAGS) |
| 2475 | AC_SUBST(CHECK_LIBS) | |
| 2476 | ||
| 2477 | 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
|
2478 | 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
|
2479 | dnl ####################################################################### |
|
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
|
2480 | AC_ARG_ENABLE(pixmaps-install, AC_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
|
2481 | |
|
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
|
2482 | 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
|
2483 | |
|
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
|
2484 | 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
|
2485 | 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
|
2486 | dnl ####################################################################### |
|
6fb91698456e
Add a configure option --enable-trayicon-compat which installs tray icons
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30358
diff
changeset
|
2487 | AC_ARG_ENABLE(trayicon-compat, AC_HELP_STRING([--enable-trayicon-compat], [install tray icons in location compatible with older releases of hicolor-icon-theme]), enable_traycompat="$enableval", enable_traycompat=no) |
|
6fb91698456e
Add a configure option --enable-trayicon-compat which installs tray icons
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30358
diff
changeset
|
2488 | |
|
6fb91698456e
Add a configure option --enable-trayicon-compat which installs tray icons
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30358
diff
changeset
|
2489 | 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
|
2490 | |
|
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
|
2491 | dnl ####################################################################### |
|
14503
bb719a93d9e1
[gaim-migrate @ 17155]
Mark Doliner <markdoliner@pidgin.im>
parents:
14502
diff
changeset
|
2492 | dnl # Check for Doxygen and dot (part of GraphViz) |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2493 | dnl ####################################################################### |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2494 | AC_ARG_ENABLE(doxygen, |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2495 | [AC_HELP_STRING([--disable-doxygen], |
|
25407
090423051623
We default doxygen, dot, and devhelp to being enabled so make configure print
Etan Reisner <deryni@pidgin.im>
parents:
25381
diff
changeset
|
2496 | [disable documentation with doxygen])], |
| 14859 | 2497 | enable_doxygen="$enableval", enable_doxygen="yes") |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2498 | AC_ARG_ENABLE(dot, |
|
25407
090423051623
We default doxygen, dot, and devhelp to being enabled so make configure print
Etan Reisner <deryni@pidgin.im>
parents:
25381
diff
changeset
|
2499 | [AC_HELP_STRING([--disable-dot], |
|
090423051623
We default doxygen, dot, and devhelp to being enabled so make configure print
Etan Reisner <deryni@pidgin.im>
parents:
25381
diff
changeset
|
2500 | [disable graphs in doxygen via 'dot'])], |
| 14859 | 2501 | enable_dot="$enableval", enable_dot="yes") |
|
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
|
2502 | AC_ARG_ENABLE(devhelp, |
|
25407
090423051623
We default doxygen, dot, and devhelp to being enabled so make configure print
Etan Reisner <deryni@pidgin.im>
parents:
25381
diff
changeset
|
2503 | [AC_HELP_STRING([--disable-devhelp], |
|
090423051623
We default doxygen, dot, and devhelp to being enabled so make configure print
Etan Reisner <deryni@pidgin.im>
parents:
25381
diff
changeset
|
2504 | [disable building index for devhelp documentation browser])], |
|
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
|
2505 | enable_devhelp="$enableval", enable_devhelp="yes") |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2506 | |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2507 | if test "x$enable_doxygen" = xyes; then |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2508 | AC_CHECK_PROG(DOXYGEN, doxygen, true, false) |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2509 | if test $DOXYGEN = false; then |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2510 | AC_MSG_WARN([*** Doxygen not found, docs will not be available]) |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2511 | enable_doxygen="no" |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2512 | else |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2513 | AC_DEFINE_UNQUOTED(HAVE_DOXYGEN, 1, [whether or not we have doxygen]) |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2514 | |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2515 | if test "x$enable_dot" = "xyes"; then |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2516 | AC_CHECK_PROG(DOT, dot, true, false) |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2517 | |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2518 | if test $DOT = false; then |
|
11318
13fa1d5134f3
[gaim-migrate @ 13521]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11308
diff
changeset
|
2519 | enable_dot="no"; |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2520 | AC_MSG_WARN([*** GraphViz dot not found, docs will not have graphs]) |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2521 | else |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2522 | AC_DEFINE_UNQUOTED(HAVE_DOT, 1, [whether or not we have dot]) |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2523 | fi |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2524 | fi |
|
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
|
2525 | |
|
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2526 | if test "x$enable_devhelp" = "xyes"; then |
|
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2527 | AC_CHECK_PROG(XSLTPROC, xsltproc, true, false) |
|
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2528 | |
|
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2529 | if test $XSLTPROC = false; then |
|
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2530 | enable_devhelp="no"; |
|
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2531 | AC_MSG_WARN([*** xsltproc not found; devhelp index will not be created]) |
|
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2532 | else |
|
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2533 | AC_DEFINE_UNQUOTED(HAVE_XSLTPROC, 1, [whether or not we have xsltproc for devhelp index]) |
|
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2534 | fi |
|
89f5ef90c79e
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents:
20957
diff
changeset
|
2535 | fi |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2536 | fi |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2537 | else |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2538 | enable_dot="no" |
|
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
|
2539 | enable_devhelp="no" |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2540 | fi |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2541 | |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2542 | AC_SUBST(enable_doxygen) |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2543 | AC_SUBST(enable_dot) |
|
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
|
2544 | AC_SUBST(enable_devhelp) |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2545 | AM_CONDITIONAL(HAVE_DOXYGEN, test "x$enable_doxygen" = "xyes") |
|
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
|
2546 | AM_CONDITIONAL(HAVE_XSLTPROC, test "x$enable_devhelp" = "xyes") |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10851
diff
changeset
|
2547 | |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2548 | AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2549 | [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
|
2550 | |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2551 | if test "x$enable_debug" = "xyes" ; then |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2552 | AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2553 | fi |
|
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2554 | |
|
18705
ee878f1aa32b
Some lines to the auto-thingies to aid in libgnt building standalone
Eric Polino <aluink@pidgin.im>
parents:
18292
diff
changeset
|
2555 | 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
|
2556 | |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2557 | AC_CONFIG_FILES([Makefile |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2558 | Doxyfile |
|
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2559 | 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
|
2560 | doc/pidgin.1 |
|
15909
0ee1e930d385
Rename/update finch man page
Richard Nelson <wabz@pidgin.im>
parents:
15901
diff
changeset
|
2561 | doc/finch.1 |
|
11147
67309baf4c84
[gaim-migrate @ 13226]
Gary Kramlich <grim@reaperworld.com>
parents:
11146
diff
changeset
|
2562 | m4macros/Makefile |
|
15966
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
15946
diff
changeset
|
2563 | pidgin.apspec |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2564 | pidgin/Makefile |
|
15671
cbff05c2d691
Add stuff for pkg-config
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15661
diff
changeset
|
2565 | pidgin/pidgin.pc |
|
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
|
2566 | pidgin/pidgin-uninstalled.pc |
|
29678
1c628e63e507
Add pidgin-2 and purple-2 .pc variants
Will Thompson <resiak@pidgin.im>
parents:
29665
diff
changeset
|
2567 | pidgin/pidgin-2.pc |
|
1c628e63e507
Add pidgin-2 and purple-2 .pc variants
Will Thompson <resiak@pidgin.im>
parents:
29665
diff
changeset
|
2568 | pidgin/pidgin-2-uninstalled.pc |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2569 | pidgin/pixmaps/Makefile |
| 19385 | 2570 | pidgin/pixmaps/emotes/default/24/Makefile |
| 15441 | 2571 | pidgin/pixmaps/emotes/none/Makefile |
|
24689
d9db6c50ac6f
Make the small smiley theme actually work.
Richard Laager <rlaager@pidgin.im>
parents:
24609
diff
changeset
|
2572 | 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
|
2573 | pidgin/plugins/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2574 | pidgin/plugins/cap/Makefile |
|
27217
7509acac49de
Convert the disco browser to a plugin. Refs #556
Paul Aurich <darkrain42@pidgin.im>
parents:
27047
diff
changeset
|
2575 | pidgin/plugins/disco/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2576 | pidgin/plugins/gestures/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2577 | pidgin/plugins/gevolution/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2578 | pidgin/plugins/musicmessaging/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2579 | pidgin/plugins/perl/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2580 | pidgin/plugins/perl/common/Makefile.PL |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2581 | pidgin/plugins/ticker/Makefile |
|
31421
713fb035d563
Created a new branch to break the ciphers out to their own files. Also I've now exposed purple_g_checksum_* if we're on glib >= 2.16.0
Gary Kramlich <grim@reaperworld.com>
parents:
31411
diff
changeset
|
2582 | libpurple/ciphers/Makefile |
|
15673
7f2c84ae63b0
Add the example nullclient here.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15671
diff
changeset
|
2583 | libpurple/example/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2584 | libpurple/gconf/Makefile |
|
15671
cbff05c2d691
Add stuff for pkg-config
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15661
diff
changeset
|
2585 | libpurple/purple.pc |
|
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
|
2586 | libpurple/purple-uninstalled.pc |
|
29678
1c628e63e507
Add pidgin-2 and purple-2 .pc variants
Will Thompson <resiak@pidgin.im>
parents:
29665
diff
changeset
|
2587 | libpurple/purple-2.pc |
|
1c628e63e507
Add pidgin-2 and purple-2 .pc variants
Will Thompson <resiak@pidgin.im>
parents:
29665
diff
changeset
|
2588 | libpurple/purple-2-uninstalled.pc |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2589 | libpurple/plugins/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2590 | libpurple/plugins/mono/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2591 | libpurple/plugins/mono/api/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2592 | libpurple/plugins/mono/loader/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2593 | libpurple/plugins/perl/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2594 | libpurple/plugins/perl/common/Makefile.PL |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2595 | libpurple/plugins/ssl/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2596 | libpurple/plugins/tcl/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2597 | libpurple/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2598 | libpurple/protocols/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2599 | libpurple/protocols/bonjour/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2600 | libpurple/protocols/gg/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2601 | libpurple/protocols/irc/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2602 | libpurple/protocols/jabber/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2603 | libpurple/protocols/msn/Makefile |
|
16323
0335752f4bbe
Add MySpace prpl to configure.ac
Jeff Connelly <jeff2@soc.pidgin.im>
parents:
16292
diff
changeset
|
2604 | libpurple/protocols/myspace/Makefile |
|
28841
6b9568572bcb
Initial addition of the MXit protocol plugin, provided by the MXit folks
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28693
diff
changeset
|
2605 | libpurple/protocols/mxit/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2606 | 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
|
2607 | libpurple/protocols/null/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2608 | libpurple/protocols/oscar/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2609 | libpurple/protocols/sametime/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2610 | libpurple/protocols/silc/Makefile |
|
17675
e7069bf1de1a
Patch from Pekka Riikonen to update the SILC protocol plugin to work with
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17669
diff
changeset
|
2611 | libpurple/protocols/silc10/Makefile |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2612 | libpurple/protocols/simple/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2613 | libpurple/protocols/yahoo/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2614 | libpurple/protocols/zephyr/Makefile |
|
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15421
diff
changeset
|
2615 | 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
|
2616 | libpurple/purple.h |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16650
diff
changeset
|
2617 | libpurple/version.h |
| 18292 | 2618 | 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
|
2619 | share/ca-certs/Makefile |
|
20892
bace1e693fd3
pkg-config shizzle for finch.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20771
diff
changeset
|
2620 | finch/finch.pc |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2621 | finch/Makefile |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2622 | finch/libgnt/Makefile |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2623 | finch/libgnt/gnt.pc |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2624 | finch/libgnt/wms/Makefile |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15875
diff
changeset
|
2625 | finch/plugins/Makefile |
| 6954 | 2626 | po/Makefile.in |
|
35122
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
2627 | pidgin.desktop.in |
|
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
|
2628 | pidgin.spec |
|
6968
dfff23d8e933
[gaim-migrate @ 7515]
Mark Doliner <markdoliner@pidgin.im>
parents:
6960
diff
changeset
|
2629 | ]) |
|
29833
191ef3a49890
Update some stuff that should be in Autoconf 2.50.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29832
diff
changeset
|
2630 | AC_OUTPUT |
| 2129 | 2631 | |
| 2632 | echo | |
| 2633 | echo $PACKAGE $VERSION | |
| 2634 | ||
| 2635 | echo | |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2636 | echo Build GTK+ 2.x UI............. : $enable_gtkui |
|
14507
7d7ad2b8c3f8
[gaim-migrate @ 17159]
Mark Doliner <markdoliner@pidgin.im>
parents:
14506
diff
changeset
|
2637 | 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
|
2638 | echo Build for X11................. : $with_x |
| 2129 | 2639 | 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
|
2640 | echo Enable Gestures............... : $enable_gestures |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2641 | echo Protocols to build dynamically : $DYNAMIC_PRPLS |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2642 | echo Protocols to link statically.. : $STATIC_PRPLS |
| 2129 | 2643 | echo |
| 13720 | 2644 | 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
|
2645 | 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
|
2646 | echo Build with voice and video.... : $enable_vv |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2647 | 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
|
2648 | eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2649 | fi |
|
27849
7f7428cb8309
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <darkrain42@pidgin.im>
parents:
27848
diff
changeset
|
2650 | echo Build with GNU Libidn......... : $enable_idn |
|
23040
13df421b8347
Update configure.ac to properly detect Network Manager (via NetworkManager.h instead of libnm_glib). Also, change the code so that if NetworkManager is dead, we'll assume we're connected to the network and try anyway.
Richard Laager <rlaager@pidgin.im>
parents:
22818
diff
changeset
|
2651 | echo Build with NetworkManager..... : $enable_nm |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2652 | echo SSL Library/Libraries......... : $msg_ssl |
|
23473
df05ffc37ed0
Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@pidgin.im>
parents:
23472
diff
changeset
|
2653 | 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
|
2654 | 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
|
2655 | fi |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2656 | echo Build with Cyrus SASL support. : $enable_cyrus_sasl |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2657 | echo Use kerberos 4 with zephyr.... : $kerberos |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2658 | echo Use external libzephyr........ : $zephyr |
|
29751
438f88ecc11e
Update our internal libgadu to 1.9.0-rc2. This does not yet build on Windows.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29722
diff
changeset
|
2659 | echo Use external libgadu.......... : $gadu_libs |
|
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
|
2660 | 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
|
2661 | 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
|
2662 | echo Install translations.......... : $enable_i18n |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2663 | echo Has you....................... : yes |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2664 | echo |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2665 | echo Use XScreenSaver Extension.... : $enable_screensaver |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2666 | echo Use X Session Management...... : $enable_sm |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2667 | echo Use startup notification...... : $enable_startup_notification |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2668 | echo Build with GtkSpell support... : $enable_gtkspell |
|
35122
30af0986aa62
Added the Unity integration plugin
Ankit Vani <a@nevitus.org>
parents:
33932
diff
changeset
|
2669 | echo Build Unity integration plugin.: $enable_unity |
|
14506
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2670 | echo |
|
0c47b596fede
[gaim-migrate @ 17158]
Mark Doliner <markdoliner@pidgin.im>
parents:
14504
diff
changeset
|
2671 | echo Build with plugin support..... : $enable_plugins |
|
11660
a7cf8f7d43b3
[gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11645
diff
changeset
|
2672 | echo Build with Mono support....... : $enable_mono |
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
2673 | echo Build with Perl support....... : $enable_perl |
| 6694 | 2674 | echo Build with Tcl support........ : $enable_tcl |
| 2675 | echo Build with Tk support......... : $enable_tk | |
| 2129 | 2676 | echo |
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
2677 | echo Print debugging messages...... : $enable_debug |
| 2129 | 2678 | 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
|
2679 | 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
|
2680 | 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
|
2681 | echo Warning: You have an old copy of Pidgin at $pidginpath. |
| 2129 | 2682 | 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
|
2683 | 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
|
2684 | 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
|
2685 | 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
|
2686 | 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
|
2687 | fi |
|
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2688 | 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
|
2689 | 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
|
2690 | echo Warning: You have disabled the building and installation of translation |
|
29902
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2691 | echo data. This will prevent building pidgin.desktop and the GConf schemas. |
|
c2506a6741cb
Small wording tweak and add a warning about the effects of --disable-nls.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29901
diff
changeset
|
2692 | 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
|
2693 | fi |
| 2129 | 2694 | echo |
| 2695 | echo configure complete, now type \'make\' | |
| 2696 | 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
|
2697 |