Tue, 07 Aug 2012 20:23:21 +0200
Gadu-Gadu: initial multilogon support
|
33292
0ad1dc71f5c7
Makefile cleanup, fix building with external libgadu, little synchronization of internal libgadu with upstream. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33290
diff
changeset
|
1 | /* Local libgadu configuration file. */ |
| 11360 | 2 | |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
3 | /* libpurple's config */ |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
4 | #include <config.h> |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
5 | |
|
33300
c671ae84307f
Updated libgadu to 1.11.2, configure.ac refactoring
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33292
diff
changeset
|
6 | #define GGP_QUOTE(x) GGP_QUOTE2(x) |
|
c671ae84307f
Updated libgadu to 1.11.2, configure.ac refactoring
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33292
diff
changeset
|
7 | #define GGP_QUOTE2(x) #x |
|
c671ae84307f
Updated libgadu to 1.11.2, configure.ac refactoring
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33292
diff
changeset
|
8 | #define GG_LIBGADU_VERSION GGP_QUOTE(GG_INTERNAL_LIBGADU_VERSION) |
|
33292
0ad1dc71f5c7
Makefile cleanup, fix building with external libgadu, little synchronization of internal libgadu with upstream. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33290
diff
changeset
|
9 | |
| 11360 | 10 | /* Defined if libgadu was compiled for bigendian machine. */ |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
11 | #undef GG_CONFIG_BIGENDIAN |
| 11360 | 12 | #ifdef WORDS_BIGENDIAN |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
13 | # define GG_CONFIG_BIGENDIAN |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
14 | #endif |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
15 | |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
16 | /* Defined if this machine has gethostbyname_r(). */ |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
17 | #undef GG_CONFIG_HAVE_GETHOSTBYNAME_R |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
18 | |
|
33289
a3b7aa1b6f34
We should use _exit, not exit with fork
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33288
diff
changeset
|
19 | /* Define to 1 if you have the `_exit' function. */ |
|
a3b7aa1b6f34
We should use _exit, not exit with fork
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33288
diff
changeset
|
20 | #define HAVE__EXIT 1 |
|
a3b7aa1b6f34
We should use _exit, not exit with fork
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33288
diff
changeset
|
21 | |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
22 | /* Defined if libgadu was compiled and linked with fork support. */ |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
23 | #undef GG_CONFIG_HAVE_FORK |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
24 | #ifndef _WIN32 |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
25 | # define GG_CONFIG_HAVE_FORK |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
26 | #endif |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
27 | |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
28 | /* Defined if libgadu was compiled and linked with pthread support. */ |
|
33289
a3b7aa1b6f34
We should use _exit, not exit with fork
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33288
diff
changeset
|
29 | /* We don't use pthreads - they may not be safe. */ |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
30 | #undef GG_CONFIG_HAVE_PTHREAD |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
31 | |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
32 | /* Defined if this machine has C99-compiliant vsnprintf(). */ |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
33 | #undef HAVE_C99_VSNPRINTF |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
34 | #ifndef _WIN32 |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
35 | # define HAVE_C99_VSNPRINTF |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
36 | #endif |
| 11360 | 37 | |
| 38 | /* Defined if this machine has va_copy(). */ | |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
39 | #define GG_CONFIG_HAVE_VA_COPY |
| 11360 | 40 | |
| 41 | /* Defined if this machine has __va_copy(). */ | |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
42 | #define GG_CONFIG_HAVE___VA_COPY |
| 11360 | 43 | |
| 44 | /* Defined if this machine supports long long. */ | |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
45 | #undef GG_CONFIG_HAVE_LONG_LONG |
| 11360 | 46 | #ifdef HAVE_LONG_LONG |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
47 | # define GG_CONFIG_HAVE_LONG_LONG |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
48 | #endif |
| 11360 | 49 | |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
50 | /* Defined if libgadu was compiled and linked with GnuTLS support. */ |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
51 | #undef GG_CONFIG_HAVE_GNUTLS |
|
31826
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
15884
diff
changeset
|
52 | #ifdef HAVE_GNUTLS |
|
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
15884
diff
changeset
|
53 | # define GG_CONFIG_HAVE_GNUTLS |
|
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
15884
diff
changeset
|
54 | #endif |
|
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
15884
diff
changeset
|
55 | |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
56 | /* Defined if libgadu was compiled and linked with OpenSSL support. */ |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
57 | /* OpenSSL cannot be used with libpurple due to licence type. */ |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
58 | #undef GG_CONFIG_HAVE_OPENSSL |
| 11360 | 59 | |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
60 | /* Defined if libgadu was compiled and linked with zlib support. */ |
|
33314
57013b9e1a8e
Gadu-Gadu: roster - downloading
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33300
diff
changeset
|
61 | #define GG_CONFIG_HAVE_ZLIB |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
62 | |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
63 | /* Defined if uintX_t types are defined in <stdint.h>. */ |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
64 | #undef GG_CONFIG_HAVE_STDINT_H |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
65 | #ifdef HAVE_STDINT_H |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
66 | # define GG_CONFIG_HAVE_STDINT_H |
|
12561
c81871bffd54
[gaim-migrate @ 14880]
Richard Laager <rlaager@pidgin.im>
parents:
11546
diff
changeset
|
67 | #endif |
| 11360 | 68 | |
|
33288
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
69 | /* Defined if uintX_t types are defined in <inttypes.h>. */ |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
70 | #undef GG_CONFIG_HAVE_INTTYPES_H |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
71 | #ifdef HAVE_INTTYPES_H |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
72 | # define GG_CONFIG_HAVE_INTTYPES_H |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
73 | #endif |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
74 | |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
75 | /* Defined if uintX_t types are defined in <sys/types.h>. */ |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
76 | #undef GG_CONFIG_HAVE_SYS_TYPES_H |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
77 | #ifdef HAVE_SYS_TYPES_H |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
78 | # define GG_CONFIG_HAVE_SYS_TYPES_H |
|
eddaed171bb7
Libgadu configuration file cleanup and update
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33285
diff
changeset
|
79 | #endif |