summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
blob: 3bed93bcbd612c9759f8e11bf389c60966dccec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85

/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
   significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@

// krdp
#define VERSION "@VERSION@"

// NOTE:
// this definition is safe for modern Linux systems
// for other OSes can be necessary to check
#define STDC_HEADERS 1

// kopete (libkopete/avdevice and plugins/motionautoaway)
#cmakedefine VIDEODEV_HEADER "@VIDEODEV_HEADER@"

// kopete/protocols/yahoo
#cmakedefine HAVE_INTTYPES_H 1
#cmakedefine HAVE_STRINGS_H 1

// kopete/protocols/yahoo, kppp
#cmakedefine HAVE_STRING_H 1

// kopete, ktalkd
#cmakedefine HAVE_STDINT_H 1

// kopete/protocols/jabber
#cmakedefine SUPPORT_JINGLE 1
#cmakedefine HAVE_GLIB 1
#cmakedefine HAVE_SPEEX 1
#cmakedefine HAVE_TM_GMTOFF 1

// kopete/plugins/nowlistening
#cmakedefine HAVE_XMMS 1

// kppp
#cmakedefine HAVE_SYS_PARAM_H 1
#cmakedefine HAVE_NET_IF_PPP_H 1

// krcd / krfb
#cmakedefine HAVE_GETNAMEINFO 1
#cmakedefine HAVE_GETIFADDRS 1
#cmakedefine HAVE_SLP 1
#cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1
#cmakedefine HAVE_SYS_SOCKIO_H 1

// ktalkd
#cmakedefine HAVE_SYS_TYPES_H 1
#cmakedefine HAVE_SYS_STAT_H 1
#cmakedefine HAVE_SYS_FILE_H 1
#cmakedefine HAVE_UNISTD_H 1
#cmakedefine HAVE_UTMP_H 1
#cmakedefine HAVE_UTMPX_H 1
#cmakedefine HAVE_VSNPRINTF 1
#cmakedefine SCANDIR_NEEDS_CONST 1

// only for Linux
#cmakedefine PROC_FIND_USER 1
#cmakedefine UTMP_AND_PROC_FIND_USER 1
#cmakedefine ALL_PROCESSES_AND_PROC_FIND_USER 1

// wifi
#cmakedefine WITHOUT_ARTS 1

/* Define if you have the strlcat prototype */
#cmakedefine HAVE_STRLCAT_PROTO

/* Define if you have the strlcpy prototype */
#cmakedefine HAVE_STRLCPY_PROTO

#if !defined(HAVE_STRLCAT_PROTO)
#ifdef __cplusplus
extern "C" {
unsigned long strlcat(char*, const char*, unsigned long);
}
#endif
#endif

#if !defined(HAVE_STRLCPY_PROTO)
#ifdef __cplusplus
extern "C" {
unsigned long strlcpy(char*, const char*, unsigned long);
}
#endif
#endif