Fri, 25 May 2012 19:05:26 +0000
Gadu-Gadu: synchronize internal libgadu with upstream - part 4. Adds -Wall -Wextra -Werror switches. Refs #343
| 11360 | 1 | /* Local libgadu configuration. */ |
| 2 | ||
|
33285
32cbdbf016bd
Gadu-Gadu: synchronize internal libgadu with upstream - part 4. Adds -Wall -Wextra -Werror switches. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32688
diff
changeset
|
3 | /* libpurple's config */ |
|
32cbdbf016bd
Gadu-Gadu: synchronize internal libgadu with upstream - part 4. Adds -Wall -Wextra -Werror switches. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32688
diff
changeset
|
4 | #include <config.h> |
| 11360 | 5 | |
| 6 | #ifndef __GG_LIBGADU_CONFIG_H | |
| 7 | #define __GG_LIBGADU_CONFIG_H | |
| 8 | ||
| 9 | /* Defined if libgadu was compiled for bigendian machine. */ | |
| 10 | #undef __GG_LIBGADU_BIGENDIAN | |
| 11 | #ifdef WORDS_BIGENDIAN | |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
12 | # define __GG_LIBGADU_BIGENDIAN |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
13 | #endif |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
14 | |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
15 | /* 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
|
16 | #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
|
17 | |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
18 | /* Defined if this machine has _exit(). */ |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
19 | #define GG_CONFIG_HAVE__EXIT |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
20 | |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
21 | /* 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
|
22 | #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
|
23 | #ifndef _WIN32 |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
24 | # 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
|
25 | #endif |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
26 | |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
27 | /* Defined if libgadu was compiled and linked with pthread support. */ |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
28 | /* We don't like pthreads. */ |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
29 | #undef __GG_LIBGADU_HAVE_PTHREAD |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
30 | |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
31 | /* Defined if this machine has C99-compiliant vsnprintf(). */ |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
32 | #undef __GG_LIBGADU_HAVE_C99_VSNPRINTF |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
33 | #ifndef _WIN32 |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
34 | # define __GG_LIBGADU_HAVE_C99_VSNPRINTF |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
35 | #endif |
| 11360 | 36 | |
| 37 | /* Defined if this machine has va_copy(). */ | |
| 38 | #define __GG_LIBGADU_HAVE_VA_COPY | |
| 39 | ||
| 40 | /* Defined if this machine has __va_copy(). */ | |
| 41 | #define __GG_LIBGADU_HAVE___VA_COPY | |
| 42 | ||
| 43 | /* Defined if this machine supports long long. */ | |
| 44 | #undef __GG_LIBGADU_HAVE_LONG_LONG | |
| 45 | #ifdef 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
|
46 | # define __GG_LIBGADU_HAVE_LONG_LONG |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
47 | #endif |
| 11360 | 48 | |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
49 | /* 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
|
50 | #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
|
51 | #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
|
52 | # 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
|
53 | #endif |
|
0f6ab56fbf9d
Update libgadu to 0.11.0 plus local changes; thanks to Tomasz Wasilczyk.
Ethan Blanton <elb@pidgin.im>
parents:
15884
diff
changeset
|
54 | |
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
55 | /* Defined if libgadu was compiled and linked with OpenSSL support. */ |
| 15884 | 56 | /* Always undefined in Purple. */ |
| 11360 | 57 | #undef __GG_LIBGADU_HAVE_OPENSSL |
| 58 | ||
|
32688
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
59 | /* Defined if libgadu was compiled and linked with zlib support. */ |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
60 | #undef GG_CONFIG_HAVE_ZLIB |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
61 | |
|
9e137d441acd
Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32675
diff
changeset
|
62 | /* 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
|
63 | #undef GG_CONFIG_HAVE_STDINT_H |
|
12561
c81871bffd54
[gaim-migrate @ 14880]
Richard Laager <rlaager@pidgin.im>
parents:
11546
diff
changeset
|
64 | #if 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
|
65 | # define GG_CONFIG_HAVE_STDINT_H |
|
12561
c81871bffd54
[gaim-migrate @ 14880]
Richard Laager <rlaager@pidgin.im>
parents:
11546
diff
changeset
|
66 | #endif |
| 11360 | 67 | |
| 68 | ||
| 69 | #define vnsprintf g_vnsprintf | |
| 70 | ||
|
11546
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
71 | #endif |