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_SYSENT_H 1
56 #cmakedefine HAVE_SYS_MNTTAB_H 1
57 #cmakedefine HAVE_SYS_MNTENT_H 1
58 #cmakedefine HAVE_SYS_MOUNT_H 1
59 #cmakedefine HAVE_CRTDBG_H 1
61 #cmakedefine HAVE_ALLOCA_H 1
62 #cmakedefine HAVE_CRT_EXTERNS_H 1
63 #cmakedefine HAVE_CARBON_CARBON_H 1
64 #cmakedefine HAVE_FSTAB_H 1
65 #cmakedefine HAVE_LIMITS_H 1
66 #cmakedefine HAVE_MNTENT_H 1
67 #cmakedefine HAVE_NETINET_IN_H 1
68 #cmakedefine HAVE_PATHS_H 1
69 #cmakedefine HAVE_SYS_MMAN_H 1
70 #cmakedefine HAVE_SYS_UCRED_H 1
71 #cmakedefine HAVE_UNISTD_H 1
72 #cmakedefine HAVE_ARPA_NAMESER8_COMPAT_H
73 #cmakedefine HAVE_LANGINFO_H 1
75 #cmakedefine HAVE_XTEST 1
77 /* Define to 1 if you have the Xcursor library */
78 #cmakedefine HAVE_XCURSOR 1
80 /* Define to 1 if you have the Xfixes library */
81 #cmakedefine HAVE_XFIXES 1
83 /* Define to 1 if you have the Xrender library */
84 #cmakedefine HAVE_XRENDER 1
86 #cmakedefine HAVE_BACKTRACE 1
87 #cmakedefine HAVE_FADVISE 1
88 #cmakedefine HAVE_GETMNTINFO 1
89 #cmakedefine HAVE_GETPAGESIZE 1
90 #cmakedefine HAVE_INITGROUPS 1
91 #cmakedefine HAVE_MADVISE 1
92 #cmakedefine HAVE_MMAP 1
93 #cmakedefine HAVE_MKSTEMPS 1
94 #cmakedefine HAVE_MKSTEMP 1
95 #cmakedefine HAVE_MKDTEMP 1
96 #cmakedefine HAVE_RANDOM 1
97 #cmakedefine HAVE_READDIR_R 1
98 #cmakedefine HAVE_SENDFILE 1
99 #cmakedefine HAVE_SETENV 1
100 #cmakedefine HAVE_SETEUID 1
101 #cmakedefine HAVE_SETMNTENT 1
102 #cmakedefine HAVE_SETPRIORITY 1
103 #cmakedefine HAVE_SRANDOM 1
104 #cmakedefine HAVE_STRCMP 1
105 #cmakedefine HAVE_STRLCPY 1
106 #cmakedefine HAVE_STRLCAT 1
107 #cmakedefine HAVE_STRCASESTR 1
108 #cmakedefine HAVE_STRRCHR 1
109 #cmakedefine HAVE_STRTOLL 1
110 #cmakedefine HAVE_UNSETENV 1
111 #cmakedefine HAVE_USLEEP 1
112 #cmakedefine HAVE_VSNPRINTF 1
113 #cmakedefine HAVE_NSGETENVIRON 1
114 #cmakedefine HAVE_GETTIMEOFDAY 1
115 #cmakedefine HAVE_TRUNC 1
117 #cmakedefine HAVE_S_ISSOCK 1
119 #cmakedefine TIME_WITH_SYS_TIME 1
121 /* When building universal binaries, you must determine endianness at compile-time */
123 #ifdef __BIG_ENDIAN__
124 #define WORDS_BIGENDIAN 1
126 #undef WORDS_BIGENDIAN
130 #cmakedefine WORDS_BIGENDIAN
133 /********* structs ******************/
135 #cmakedefine HAVE_STRUCT_UCRED 1
137 /*********************/
139 #ifndef HAVE_S_ISSOCK
140 #define HAVE_S_ISSOCK
141 #define S_ISSOCK(mode) (1==0)
145 * On HP-UX, the declaration of vsnprintf() is needed every time !
148 #if !defined(HAVE_VSNPRINTF) || defined(hpux)
158 int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
162 int snprintf(char *str, size_t n, char const *fmt, ...);
165 #if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
166 # include <sys/time.h>
167 # include <crt_externs.h>
168 # define environ (*_NSGetEnviron())
171 #cmakedefine GETMNTINFO_USES_STATVFS 1
173 #cmakedefine SIZEOF_TIME_T ${SIZEOF_TIME_T}
175 /* Defined to 1 if you have a tm_gmtoff member in struct tm */
176 #cmakedefine HAVE_TM_GMTOFF 1
178 /* Defined to 1 if you have a tm_zone member in struct tm */
179 #cmakedefine HAVE_STRUCT_TM_TM_ZONE 1
181 /* Defined to 1 if you have a d_type member in struct dirent */
182 #cmakedefine HAVE_DIRENT_D_TYPE 1
185 #include "kdecore/kdefakes.h"