Atrinik Server  4.0
toolkit_cmake.h
1 /*************************************************************************
2  * Atrinik, a Multiplayer Online Role Playing Game *
3  * *
4  * Copyright (C) 2009-2014 Alex Tokar and Atrinik Development Team *
5  * *
6  * Fork from Crossfire (Multiplayer game for X-windows). *
7  * *
8  * This program is free software; you can redistribute it and/or modify *
9  * it under the terms of the GNU General Public License as published by *
10  * the Free Software Foundation; either version 2 of the License, or *
11  * (at your option) any later version. *
12  * *
13  * This program is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16  * GNU General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU General Public License *
19  * along with this program; if not, write to the Free Software *
20  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
21  * *
22  * The author can be reached at admin@atrinik.org *
23  ************************************************************************/
24 
25 #ifndef TOOLKIT_CMAKE_H
26 #define TOOLKIT_CMAKE_H
27 
28 /* Plugin suffix. */
29 #define PLUGIN_SUFFIX ".so"
30 
31 /* Is cURL available? */
32 #define HAVE_CURL
33 
34 /* Is zlib available? */
35 #define HAVE_ZLIB
36 
37 /* Is crypt available? */
38 #define HAVE_CRYPT
39 
40 /* Is readline available? */
41 #define HAVE_READLINE
42 
43 /* Is X11 available? */
44 #define HAVE_X11
45 
46 /* Is X11 XMU available? */
47 /* #undef HAVE_X11_XMU */
48 
49 #ifndef HAVE_FCNTL_H
50 #define HAVE_FCNTL_H
51 #endif
52 
53 #ifndef HAVE_UNISTD_H
54 #define HAVE_UNISTD_H
55 #endif
56 
57 #ifndef HAVE_SYS_TIME_H
58 #define HAVE_SYS_TIME_H
59 #endif
60 
61 #ifndef HAVE_TIME_H
62 #define HAVE_TIME_H
63 #endif
64 
65 #ifndef HAVE_STDDEF_H
66 #define HAVE_STDDEF_H
67 #endif
68 
69 #ifndef HAVE_DIRENT_H
70 #define HAVE_DIRENT_H
71 #endif
72 
73 #ifndef HAVE_SYS_NDIR_H
74 /* #undef HAVE_SYS_NDIR_H */
75 #endif
76 
77 #ifndef HAVE_SYS_NDIR_H
78 #define HAVE_SYS_DIR_H
79 #endif
80 
81 #ifndef HAVE_SYS_SOCKET_H
82 #define HAVE_SYS_SOCKET_H
83 #endif
84 
85 #ifndef HAVE_NDIR_H
86 /* #undef HAVE_NDIR_H */
87 #endif
88 
89 #ifndef HAVE_CRYPT_H
90 #define HAVE_CRYPT_H
91 #endif
92 
93 #ifndef HAVE_ARPA_INET_H
94 #define HAVE_ARPA_INET_H
95 #endif
96 
97 #ifndef HAVE_VALGRIND_H
98 /* #undef HAVE_VALGRIND_H */
99 #endif
100 
101 #ifndef HAVE_STRERROR
102 #define HAVE_STRERROR
103 #endif
104 
105 #ifndef HAVE_STRCASECMP
106 #define HAVE_STRCASECMP
107 #endif
108 
109 #ifndef HAVE_STRNCASECMP
110 #define HAVE_STRNCASECMP
111 #endif
112 
113 #ifndef HAVE_STRICMP
114 /* #undef HAVE_STRICMP */
115 #endif
116 
117 #ifndef HAVE_STRNICMP
118 /* #undef HAVE_STRNICMP */
119 #endif
120 
121 #ifndef HAVE_SRANDOM
122 #define HAVE_SRANDOM
123 #endif
124 
125 #ifndef HAVE_SRAND48
126 #define HAVE_SRAND48
127 #endif
128 
129 #ifndef HAVE_SRAND
130 #define HAVE_SRAND
131 #endif
132 
133 #ifndef HAVE_GETDTABLESIZE
134 #define HAVE_GETDTABLESIZE
135 #endif
136 
137 #ifndef HAVE_SYSCONF
138 #define HAVE_SYSCONF
139 #endif
140 
141 #ifndef HAVE_GETTIMEOFDAY
142 #define HAVE_GETTIMEOFDAY
143 #endif
144 
145 #ifndef HAVE_TEMPNAM
146 #define HAVE_TEMPNAM
147 #endif
148 
149 #ifndef HAVE_STRCASESTR
150 #define HAVE_STRCASESTR
151 #endif
152 
153 #ifndef HAVE_STRDUP
154 #define HAVE_STRDUP
155 #endif
156 
157 #ifndef HAVE_STRNDUP
158 #define HAVE_STRNDUP
159 #endif
160 
161 #ifndef HAVE_STRTOK_R
162 #define HAVE_STRTOK_R
163 #endif
164 
165 #ifndef HAVE_SIGACTION
166 #define HAVE_SIGACTION
167 #endif
168 
169 #ifndef HAVE_GETLINE
170 #define HAVE_GETLINE
171 #endif
172 
173 #ifndef HAVE_USLEEP
174 #define HAVE_USLEEP
175 #endif
176 
177 #ifndef HAVE_MKSTEMP
178 #define HAVE_MKSTEMP
179 #endif
180 
181 #ifndef HAVE_STRNLEN
182 #define HAVE_STRNLEN
183 #endif
184 
185 #ifndef HAVE_GETADDRINFO
186 #define HAVE_GETADDRINFO
187 #endif
188 
189 #ifndef HAVE_IPV6
190 #define HAVE_IPV6
191 #endif
192 
193 #ifndef HAVE_SINCOS
194 #define HAVE_SINCOS
195 #endif
196 
197 #ifndef HAVE_PSELECT
198 #define HAVE_PSELECT
199 #endif
200 
201 /* Name of the generated executable. */
202 #define EXECUTABLE "atrinik-server"
203 
204 #endif