libpurple/protocols/gg/lib/config.h

branch
soc.2012.gg
changeset 33288
eddaed171bb7
parent 33285
32cbdbf016bd
child 33289
a3b7aa1b6f34
equal deleted inserted replaced
33287:79ed046bf275 33288:eddaed171bb7
1 /* Local libgadu configuration. */ 1 /* Local libgadu configuration. */
2
3 #ifndef __GG_LIBGADU_CONFIG_H
4 #define __GG_LIBGADU_CONFIG_H
2 5
3 /* libpurple's config */ 6 /* libpurple's config */
4 #include <config.h> 7 #include <config.h>
5 8
6 #ifndef __GG_LIBGADU_CONFIG_H
7 #define __GG_LIBGADU_CONFIG_H
8
9 /* Defined if libgadu was compiled for bigendian machine. */ 9 /* Defined if libgadu was compiled for bigendian machine. */
10 #undef __GG_LIBGADU_BIGENDIAN 10 #undef GG_CONFIG_BIGENDIAN
11 #ifdef WORDS_BIGENDIAN 11 #ifdef WORDS_BIGENDIAN
12 # define __GG_LIBGADU_BIGENDIAN 12 # define GG_CONFIG_BIGENDIAN
13 #endif 13 #endif
14 14
15 /* Defined if this machine has gethostbyname_r(). */ 15 /* Defined if this machine has gethostbyname_r(). */
16 #undef GG_CONFIG_HAVE_GETHOSTBYNAME_R 16 #undef GG_CONFIG_HAVE_GETHOSTBYNAME_R
17
18 /* Defined if this machine has _exit(). */
19 #define GG_CONFIG_HAVE__EXIT
20 17
21 /* Defined if libgadu was compiled and linked with fork support. */ 18 /* Defined if libgadu was compiled and linked with fork support. */
22 #undef GG_CONFIG_HAVE_FORK 19 #undef GG_CONFIG_HAVE_FORK
23 #ifndef _WIN32 20 #ifndef _WIN32
24 # define GG_CONFIG_HAVE_FORK 21 # define GG_CONFIG_HAVE_FORK
25 #endif 22 #endif
26 23
27 /* Defined if libgadu was compiled and linked with pthread support. */ 24 /* Defined if libgadu was compiled and linked with pthread support. */
28 /* We don't like pthreads. */ 25 /* We don't use pthreads due to stability issues. */
29 #undef __GG_LIBGADU_HAVE_PTHREAD 26 #undef GG_CONFIG_HAVE_PTHREAD
30 27
31 /* Defined if this machine has C99-compiliant vsnprintf(). */ 28 /* Defined if this machine has C99-compiliant vsnprintf(). */
32 #undef __GG_LIBGADU_HAVE_C99_VSNPRINTF 29 #undef HAVE_C99_VSNPRINTF
33 #ifndef _WIN32 30 #ifndef _WIN32
34 # define __GG_LIBGADU_HAVE_C99_VSNPRINTF 31 # define HAVE_C99_VSNPRINTF
35 #endif 32 #endif
36 33
37 /* Defined if this machine has va_copy(). */ 34 /* Defined if this machine has va_copy(). */
38 #define __GG_LIBGADU_HAVE_VA_COPY 35 #define GG_CONFIG_HAVE_VA_COPY
39 36
40 /* Defined if this machine has __va_copy(). */ 37 /* Defined if this machine has __va_copy(). */
41 #define __GG_LIBGADU_HAVE___VA_COPY 38 #define GG_CONFIG_HAVE___VA_COPY
42 39
43 /* Defined if this machine supports long long. */ 40 /* Defined if this machine supports long long. */
44 #undef __GG_LIBGADU_HAVE_LONG_LONG 41 #undef GG_CONFIG_HAVE_LONG_LONG
45 #ifdef HAVE_LONG_LONG 42 #ifdef HAVE_LONG_LONG
46 # define __GG_LIBGADU_HAVE_LONG_LONG 43 # define GG_CONFIG_HAVE_LONG_LONG
47 #endif 44 #endif
48 45
49 /* Defined if libgadu was compiled and linked with GnuTLS support. */ 46 /* Defined if libgadu was compiled and linked with GnuTLS support. */
50 #undef GG_CONFIG_HAVE_GNUTLS 47 #undef GG_CONFIG_HAVE_GNUTLS
51 #ifdef HAVE_GNUTLS 48 #ifdef HAVE_GNUTLS
52 # define GG_CONFIG_HAVE_GNUTLS 49 # define GG_CONFIG_HAVE_GNUTLS
53 #endif 50 #endif
54 51
55 /* Defined if libgadu was compiled and linked with OpenSSL support. */ 52 /* Defined if libgadu was compiled and linked with OpenSSL support. */
56 /* Always undefined in Purple. */ 53 /* OpenSSL cannot be used with libpurple due to licence type. */
57 #undef __GG_LIBGADU_HAVE_OPENSSL 54 #undef GG_CONFIG_HAVE_OPENSSL
58 55
59 /* Defined if libgadu was compiled and linked with zlib support. */ 56 /* Defined if libgadu was compiled and linked with zlib support. */
60 #undef GG_CONFIG_HAVE_ZLIB 57 #undef GG_CONFIG_HAVE_ZLIB
61 58
62 /* Defined if uintX_t types are defined in <stdint.h>. */ 59 /* Defined if uintX_t types are defined in <stdint.h>. */
63 #undef GG_CONFIG_HAVE_STDINT_H 60 #undef GG_CONFIG_HAVE_STDINT_H
64 #if HAVE_STDINT_H 61 #ifdef HAVE_STDINT_H
65 # define GG_CONFIG_HAVE_STDINT_H 62 # define GG_CONFIG_HAVE_STDINT_H
63 #endif
64
65 /* Defined if uintX_t types are defined in <inttypes.h>. */
66 #undef GG_CONFIG_HAVE_INTTYPES_H
67 #ifdef HAVE_INTTYPES_H
68 # define GG_CONFIG_HAVE_INTTYPES_H
69 #endif
70
71 /* Defined if uintX_t types are defined in <sys/types.h>. */
72 #undef GG_CONFIG_HAVE_SYS_TYPES_H
73 #ifdef HAVE_SYS_TYPES_H
74 # define GG_CONFIG_HAVE_SYS_TYPES_H
66 #endif 75 #endif
67 76
68 77
69 #define vnsprintf g_vnsprintf 78 #define vnsprintf g_vnsprintf
70 79

mercurial