1 /* config.h. Generated by cmake from config.h.cmake */
3 /* NOTE: only add something here if it is really needed by all of kdelibs.
4 Otherwise please prefer adding to the relevant config-foo.h.cmake file,
5 to minimize recompilations and increase modularity. */
7 /* if setgroups() takes short *as second arg */
8 #cmakedefine HAVE_SHORTSETGROUPS 1
10 /****************************/
12 #define kde_socklen_t socklen_t
14 #define KDELIBSUFF "${KDELIBSUFF}"
16 /****************************/
18 #cmakedefine HAVE_BZIP2_SUPPORT 1
19 /* Define if the libbz2 functions need the BZ2_ prefix */
20 #cmakedefine NEED_BZ2_PREFIX 1
22 /* Define if you have libz */
23 #cmakedefine HAVE_LIBZ 1
25 /* Define to 1 if you have the <dlfcn.h> header file. */
26 #cmakedefine HAVE_DLFCN_H 1
28 /* Define to 1 if you have stdio.h */
29 #cmakedefine HAVE_STDIO_H 1
31 /* Define to 1 if you have stdlib.h */
32 #cmakedefine HAVE_STDLIB_H 1
34 /* Define to 1 if you have string.h */
35 #cmakedefine HAVE_STRING_H 1
37 /* Define to 1 if you have strings.h */
38 #cmakedefine HAVE_STRINGS_H 1
40 /* Define to 1 if you have malloc.h */
41 #cmakedefine HAVE_MALLOC_H 1
43 /* define if message translations are enabled */
44 #cmakedefine ENABLE_NLS 1
46 #cmakedefine HAVE_VOLMGT 1
48 #cmakedefine HAVE_ERRNO_H 1
49 #cmakedefine HAVE_STDINT_H 1
50 #cmakedefine HAVE_SYS_STAT_H 1
51 #cmakedefine HAVE_SYS_TYPES_H 1
52 #cmakedefine HAVE_SYS_PARAM_H 1
53 #cmakedefine HAVE_SYS_TIME_H 1
54 #cmakedefine HAVE_SYS_SELECT_H 1
55 #cmakedefine HAVE_SYS_BITYPES_H 1
56 #cmakedefine HAVE_SYSENT_H 1
57 #cmakedefine HAVE_SYS_MNTTAB_H 1
58 #cmakedefine HAVE_SYS_MNTENT_H 1
59 #cmakedefine HAVE_SYS_MOUNT_H 1
60 #cmakedefine HAVE_CRTDBG_H 1
62 #cmakedefine HAVE_ALLOCA_H 1
63 #cmakedefine HAVE_CRT_EXTERNS_H 1
64 #cmakedefine HAVE_CARBON_CARBON_H 1
65 #cmakedefine HAVE_FSTAB_H 1
66 #cmakedefine HAVE_LIMITS_H 1
67 #cmakedefine HAVE_MNTENT_H 1
68 #cmakedefine HAVE_NETINET_IN_H 1
69 #cmakedefine HAVE_PATHS_H 1
70 #cmakedefine HAVE_SYS_BITYPES_H 1
71 #cmakedefine HAVE_SYS_MMAN_H 1
72 #cmakedefine HAVE_SYS_UCRED_H 1
73 #cmakedefine HAVE_UNISTD_H 1
74 #cmakedefine HAVE_ARPA_NAMESER8_COMPAT_H
75 #cmakedefine HAVE_LANGINFO_H 1
77 #cmakedefine HAVE_XTEST 1
79 /* Define to 1 if you have the Xcursor library */
80 #cmakedefine HAVE_XCURSOR 1
82 /* Define to 1 if you have the Xfixes library */
83 #cmakedefine HAVE_XFIXES 1
85 /* Define to 1 if you have the Xrender library */
86 #cmakedefine HAVE_XRENDER 1
88 #cmakedefine HAVE_BACKTRACE 1
89 #cmakedefine HAVE_FADVISE 1
90 #cmakedefine HAVE_GETMNTINFO 1
91 #cmakedefine HAVE_GETPAGESIZE 1
92 #cmakedefine HAVE_INITGROUPS 1
93 #cmakedefine HAVE_MADVISE 1
94 #cmakedefine HAVE_MMAP 1
95 #cmakedefine HAVE_MKSTEMPS 1
96 #cmakedefine HAVE_MKSTEMP 1
97 #cmakedefine HAVE_MKDTEMP 1
98 #cmakedefine HAVE_RANDOM 1
99 #cmakedefine HAVE_READDIR_R 1
100 #cmakedefine HAVE_SENDFILE 1
101 #cmakedefine HAVE_SETENV 1
102 #cmakedefine HAVE_SETEUID 1
103 #cmakedefine HAVE_SETMNTENT 1
104 #cmakedefine HAVE_SETPRIORITY 1
105 #cmakedefine HAVE_SRANDOM 1
106 #cmakedefine HAVE_STRCMP 1
107 #cmakedefine HAVE_STRLCPY 1
108 #cmakedefine HAVE_STRLCAT 1
109 #cmakedefine HAVE_STRCASESTR 1
110 #cmakedefine HAVE_STRRCHR 1
111 #cmakedefine HAVE_STRTOLL 1
112 #cmakedefine HAVE_UNSETENV 1
113 #cmakedefine HAVE_USLEEP 1
114 #cmakedefine HAVE_VSNPRINTF 1
115 #cmakedefine HAVE_NSGETENVIRON 1
116 #cmakedefine HAVE_GETTIMEOFDAY 1
117 #cmakedefine HAVE_TRUNC 1
119 #cmakedefine HAVE_S_ISSOCK 1
121 #cmakedefine TIME_WITH_SYS_TIME 1
123 /* When building universal binaries, you must determine endianness at compile-time */
125 #ifdef __BIG_ENDIAN__
126 #define WORDS_BIGENDIAN 1
128 #undef WORDS_BIGENDIAN
132 #cmakedefine WORDS_BIGENDIAN
135 /********* structs ******************/
137 #cmakedefine HAVE_STRUCT_UCRED 1
139 /*********************/
141 #ifndef HAVE_S_ISSOCK
142 #define HAVE_S_ISSOCK
143 #define S_ISSOCK(mode) (1==0)
147 * On HP-UX, the declaration of vsnprintf() is needed every time !
150 #if !defined(HAVE_VSNPRINTF) || defined(hpux)
160 int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
164 int snprintf(char *str, size_t n, char const *fmt, ...);
167 #if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
168 # include <sys/time.h>
169 # include <crt_externs.h>
170 # define environ (*_NSGetEnviron())
173 #cmakedefine GETMNTINFO_USES_STATVFS 1
175 #cmakedefine SIZEOF_TIME_T ${SIZEOF_TIME_T}
177 /* Defined to 1 if you have a tm_gmtoff member in struct tm */
178 #cmakedefine HAVE_TM_GMTOFF 1
180 /* Defined to 1 if you have a tm_zone member in struct tm */
181 #cmakedefine HAVE_STRUCT_TM_TM_ZONE 1
183 /* Defined to 1 if you have a d_type member in struct dirent */
184 #cmakedefine HAVE_DIRENT_D_TYPE 1
187 #include "kdecore/kdefakes.h"