Sun, 05 Jun 2011 01:28:53 +0000
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Fixes 14248
| 11360 | 1 | /* Local libgadu configuration. */ |
| 2 | ||
|
12561
c81871bffd54
[gaim-migrate @ 14880]
Richard Laager <rlaager@pidgin.im>
parents:
11546
diff
changeset
|
3 | #include "config.h" |
| 11360 | 4 | |
| 5 | #ifndef __GG_LIBGADU_CONFIG_H | |
| 6 | #define __GG_LIBGADU_CONFIG_H | |
| 7 | ||
| 8 | /* Defined if libgadu was compiled for bigendian machine. */ | |
| 9 | #undef __GG_LIBGADU_BIGENDIAN | |
| 10 | #ifdef WORDS_BIGENDIAN | |
| 11 | #define __GG_LIBGADU_BIGENDIAN | |
| 12 | #endif /* WORDS_BIGENDIAN */ | |
| 13 | ||
| 14 | /* Defined if this machine has va_copy(). */ | |
| 15 | #define __GG_LIBGADU_HAVE_VA_COPY | |
| 16 | ||
| 17 | /* Defined if this machine has __va_copy(). */ | |
| 18 | #define __GG_LIBGADU_HAVE___VA_COPY | |
| 19 | ||
| 20 | /* Defined if this machine supports long long. */ | |
| 21 | #undef __GG_LIBGADU_HAVE_LONG_LONG | |
| 22 | #ifdef HAVE_LONG_LONG | |
| 23 | #define __GG_LIBGADU_HAVE_LONG_LONG | |
| 24 | #endif /* HAVE_LONG_LONG */ | |
| 25 | ||
| 26 | /* Defined if libgadu was compiled and linked with pthread support. */ | |
| 27 | /* We don't like pthreads. */ | |
| 28 | #undef __GG_LIBGADU_HAVE_PTHREAD | |
| 29 | ||
|
31826
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
15884
diff
changeset
|
30 | /* Defined if libgadu was compiled and linked with GnuTLS encryption support. */ |
|
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
15884
diff
changeset
|
31 | #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
|
32 | # 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
|
33 | #else |
|
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
15884
diff
changeset
|
34 | # undef 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
|
35 | #endif |
|
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
15884
diff
changeset
|
36 | |
| 11360 | 37 | /* Defined if libgadu was compiled and linked with TLS support. */ |
| 15884 | 38 | /* Always undefined in Purple. */ |
| 11360 | 39 | #undef __GG_LIBGADU_HAVE_OPENSSL |
| 40 | ||
| 41 | /* Include file containing uintXX_t declarations. */ | |
|
12561
c81871bffd54
[gaim-migrate @ 14880]
Richard Laager <rlaager@pidgin.im>
parents:
11546
diff
changeset
|
42 | #if HAVE_STDINT_H |
| 11360 | 43 | #include <stdint.h> |
|
12561
c81871bffd54
[gaim-migrate @ 14880]
Richard Laager <rlaager@pidgin.im>
parents:
11546
diff
changeset
|
44 | #endif |
| 11360 | 45 | |
| 46 | /* Defined if this machine has C99-compiliant vsnprintf(). */ | |
|
11546
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
47 | #ifndef _WIN32 |
| 11360 | 48 | #define __GG_LIBGADU_HAVE_C99_VSNPRINTF |
|
11546
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
49 | #else |
|
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
50 | #undef __GG_LIBGADU_HAVE_C99_VSNPRINTF |
|
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
51 | #endif |
| 11360 | 52 | |
| 53 | #define vnsprintf g_vnsprintf | |
| 54 | ||
|
11546
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
55 | #ifdef _WIN32 |
|
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
56 | #define random (long) rand |
|
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
57 | #endif |
|
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
58 | |
| 11360 | 59 | #endif /* __GG_LIBGADU_CONFIG_H */ |