GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
config.h
Go to the documentation of this file.
1 /* include/grass/config.h. Generated from config.h.in by configure. */
2 
3 /*
4  * config.h.in
5  */
6 
7 #ifndef _config_h
8 #define _config_h
9 
10 #define GDEBUG 1
11 
12 /* Define to 1 if you have the <ad2.h> header file. */
13 /* #undef HAVE_AD2_H */
14 
15 /* Define to 1 if you have the `asprintf' function. */
16 #define HAVE_ASPRINTF 1
17 
18 /* Define to 1 if you have the <bzlib.h> header file. */
19 /* #undef HAVE_BZLIB_H */
20 
21 /* Define to 1 if you have the <cairo.h> header file. */
22 #define HAVE_CAIRO_H 1
23 
24 /* Define to 1 if you have the <cblas-atlas.h> header file. */
25 /* #undef HAVE_CBLAS_ATLAS_H */
26 
27 /* Define to 1 if you have the <cblas.h> header file. */
28 #define HAVE_CBLAS_H 1
29 
30 /* Define to 1 if you have the <CL/cl.h> header file. */
31 /* #undef HAVE_CL_CL_H */
32 
33 /* Define to 1 if you have the <dfftw.h> header file. */
34 /* #undef HAVE_DFFTW_H */
35 
36 /* Define to 1 if you have the `drand48' function. */
37 #define HAVE_DRAND48 1
38 
39 /* Define to 1 if you have the <fftw3.h> header file. */
40 #define HAVE_FFTW3_H 1
41 
42 /* Define to 1 if you have the <fftw.h> header file. */
43 /* #undef HAVE_FFTW_H */
44 
45 /* Define if fseeko (and presumably ftello) exists and is declared. */
46 #define HAVE_FSEEKO 1
47 
48 /* Define to 1 if you have the <ft2build.h> header file. */
49 #define HAVE_FT2BUILD_H 1
50 
51 /* Define to 1 if you have the `ftime' function. */
52 #define HAVE_FTIME 1
53 
54 /* Define to 1 if GDAL is to be used. */
55 #define HAVE_GDAL 1
56 
57 /* Define to 1 if GEOS is to be used. */
58 #define HAVE_GEOS 1
59 
60 /* Define to 1 if you have the <geos_c.h> header file. */
61 #define HAVE_GEOS_C_H 1
62 
63 /* Define to 1 if you have the `gethostname' function. */
64 #define HAVE_GETHOSTNAME 1
65 
66 /* Define to 1 if you have the `gettimeofday' function. */
67 #define HAVE_GETTIMEOFDAY 1
68 
69 /* Define to 1 if you have the <GL/glu.h> header file. */
70 #define HAVE_GL_GLU_H 1
71 
72 /* Define to 1 if you have the <GL/gl.h> header file. */
73 #define HAVE_GL_GL_H 1
74 
75 /* Define to 1 if you have the <iconv.h> header file. */
76 #define HAVE_ICONV_H 1
77 
78 /* Define to 1 if "int64_t" is available. */
79 #define HAVE_INT64_T 1
80 
81 /* Define to 1 if you have the <inttypes.h> header file. */
82 #define HAVE_INTTYPES_H 1
83 
84 /* Define to 1 if you have the <langinfo.h> header file. */
85 #define HAVE_LANGINFO_H 1
86 
87 /* Define to 1 if you have the <lapacke.h> header file. */
88 #define HAVE_LAPACKE_H 1
89 
90 /* Define to 1 if BLAS exists. */
91 #define HAVE_LIBBLAS 1
92 
93 /* Define to 1 if you have the <libintl.h> header file. */
94 #define HAVE_LIBINTL_H 1
95 
96 /* Define to 1 if LAPACK exists. */
97 #define HAVE_LIBLAPACK 1
98 
99 /* Define to 1 if liblas exists. */
100 /* #undef HAVE_LIBLAS */
101 
102 /* Define to 1 if you have the <liblas/capi/liblas.h> header file. */
103 /* #undef HAVE_LIBLAS_CAPI_LIBLAS_H */
104 
105 /* Define to 1 if you have the <libpq-fe.h> header file. */
106 #define HAVE_LIBPQ_FE_H 1
107 
108 /* Define to 1 if using LIBSVM. */
109 #define HAVE_LIBSVM 1
110 
111 /* Define to 1 if you have the <libsvm/svm.h> header file. */
112 #define HAVE_LIBSVM_SVM_H 1
113 
114 /* Define to 1 if you have the <limits.h> header file. */
115 #define HAVE_LIMITS_H 1
116 
117 /* Define to 1 if "long long int" is available. */
118 #define HAVE_LONG_LONG_INT 1
119 
120 /* Define to 1 if you have the `lseek' function. */
121 #define HAVE_LSEEK 1
122 
123 /* Define to 1 if you have the <mysql.h> header file. */
124 /* #undef HAVE_MYSQL_H */
125 
126 /* Define to 1 if you have the `nanosleep' function. */
127 #define HAVE_NANOSLEEP 1
128 
129 /* Define to 1 if NetCDF exists. */
130 #define HAVE_NETCDF 1
131 
132 /* Define to 1 if you have the `nice' function. */
133 #define HAVE_NICE 1
134 
135 /* Define to 1 if OGR is to be used. */
136 #define HAVE_OGR 1
137 
138 /* Define to 1 if you have the <omp.h> header file. */
139 /* #undef HAVE_OMP_H */
140 
141 /* Define to 1 if you have the <OpenCL/opencl.h> header file. */
142 /* #undef HAVE_OPENCL_OPENCL_H */
143 
144 /* Define to 1 if you have the <OpenGL/glu.h> header file. */
145 /* #undef HAVE_OPENGL_GLU_H */
146 
147 /* Define to 1 if you have the <OpenGL/gl.h> header file. */
148 /* #undef HAVE_OPENGL_GL_H */
149 
150 /* Define to 1 if glXCreatePbuffer exists. */
151 #define HAVE_PBUFFERS 1
152 
153 /* Define to 1 if PDAL exists. */
154 #define HAVE_PDAL 1
155 
156 /* Define to 1 if glXCreateGLXPixmap exists. */
157 #define HAVE_PIXMAPS 1
158 
159 /* Define to 1 if you have the <png.h> header file. */
160 #define HAVE_PNG_H 1
161 
162 /* Define to 1 if PostgreSQL is to be used. */
163 #define HAVE_POSTGRES 1
164 
165 /* Define to 1 if PQcmdTuples in lpq. */
166 #define HAVE_PQCMDTUPLES 1
167 
168 /* Define to 1 if you have the <proj_api.h> header file. */
169 /* #undef HAVE_PROJ_API_H */
170 
171 /* Define to 1 if you have the <proj.h> header file. */
172 #define HAVE_PROJ_H 1
173 
174 /* Define to 1 if you have the <pthread.h> header file. */
175 /* #undef HAVE_PTHREAD_H */
176 
177 /* Define to 1 if you have the `putenv' function. */
178 #define HAVE_PUTENV 1
179 
180 /* Define to 1 if you have the <readline/history.h> header file. */
181 /* #undef HAVE_READLINE_HISTORY_H */
182 
183 /* Define to 1 if you have the <readline/readline.h> header file. */
184 /* #undef HAVE_READLINE_READLINE_H */
185 
186 /* Define to 1 if you have the <regex.h> header file. */
187 #define HAVE_REGEX_H 1
188 
189 /* Define to 1 if you have the `setenv' function. */
190 #define HAVE_SETENV 1
191 
192 /* Define to 1 if you have the `seteuid' function. */
193 #define HAVE_SETEUID 1
194 
195 /* Define to 1 if you have the `setpriority' function. */
196 #define HAVE_SETPRIORITY 1
197 
198 /* Define to 1 if you have the `setreuid' function. */
199 #define HAVE_SETREUID 1
200 
201 /* Define to 1 if you have the `setruid' function. */
202 /* #undef HAVE_SETRUID */
203 
204 /* define if socket() exists */
205 #define HAVE_SOCKET 1
206 
207 /* Define to 1 if SQLite is to be used. */
208 #define HAVE_SQLITE 1
209 
210 /* Define to 1 if you have the <sqlite3.h> header file. */
211 #define HAVE_SQLITE3_H 1
212 
213 /* Define to 1 if you have the <sql.h> header file. */
214 #define HAVE_SQL_H 1
215 
216 /* Define to 1 if you have the <stdint.h> header file. */
217 #define HAVE_STDINT_H 1
218 
219 /* Define to 1 if you have the <stdio.h> header file. */
220 #define HAVE_STDIO_H 1
221 
222 /* Define to 1 if you have the <stdlib.h> header file. */
223 #define HAVE_STDLIB_H 1
224 
225 /* Define to 1 if you have the <strings.h> header file. */
226 #define HAVE_STRINGS_H 1
227 
228 /* Define to 1 if you have the <string.h> header file. */
229 #define HAVE_STRING_H 1
230 
231 /* Define to 1 if you have the `strlcat' function. */
232 /* #undef HAVE_STRLCAT */
233 
234 /* Define to 1 if you have the `strlcpy' function. */
235 /* #undef HAVE_STRLCPY */
236 
237 /* Define to 1 if you have the <svm.h> header file. */
238 /* #undef HAVE_SVM_H */
239 
240 /* Define to 1 if you have the <sys/ioctl.h> header file. */
241 #define HAVE_SYS_IOCTL_H 1
242 
243 /* Define to 1 if you have the <sys/mtio.h> header file. */
244 #define HAVE_SYS_MTIO_H 1
245 
246 /* Define to 1 if you have the <sys/resource.h> header file. */
247 #define HAVE_SYS_RESOURCE_H 1
248 
249 /* Define to 1 if you have the <sys/stat.h> header file. */
250 #define HAVE_SYS_STAT_H 1
251 
252 /* Define to 1 if you have the <sys/timeb.h> header file. */
253 #define HAVE_SYS_TIMEB_H 1
254 
255 /* Define to 1 if you have the <sys/time.h> header file. */
256 #define HAVE_SYS_TIME_H 1
257 
258 /* Define to 1 if you have the <sys/types.h> header file. */
259 #define HAVE_SYS_TYPES_H 1
260 
261 /* Define to 1 if you have the <sys/utsname.h> header file. */
262 #define HAVE_SYS_UTSNAME_H 1
263 
264 /* Define to 1 if you have the <termios.h> header file. */
265 #define HAVE_TERMIOS_H 1
266 
267 /* Define to 1 if you have the <termio.h> header file. */
268 #define HAVE_TERMIO_H 1
269 
270 /* Define to 1 if you have the <tiffio.h> header file. */
271 #define HAVE_TIFFIO_H 1
272 
273 /* Define to 1 if you have the `time' function. */
274 #define HAVE_TIME 1
275 
276 /* Define to 1 if you have the `uname' function. */
277 #define HAVE_UNAME 1
278 
279 /* Define to 1 if you have the <unistd.h> header file. */
280 #define HAVE_UNISTD_H 1
281 
282 /* Define to 1 if you have the <values.h> header file. */
283 #define HAVE_VALUES_H 1
284 
285 /* Define to 1 if you have the <windows.h> header file. */
286 /* #undef HAVE_WINDOWS_H */
287 
288 /* Define to 1 if you have the <zlib.h> header file. */
289 #define HAVE_ZLIB_H 1
290 
291 /* Define to 1 if you have the <zstd.h> header file. */
292 #define HAVE_ZSTD_H 1
293 
294 /* Define to 1 if OpenGL uses Aqua (MacOS X). */
295 /* #undef OPENGL_AQUA */
296 
297 /* Define to 1 if OpenGL uses Windows. */
298 /* #undef OPENGL_WINDOWS */
299 
300 /* Define to 1 if OpenGL uses X11. */
301 #define OPENGL_X11 1
302 
303 /* Define to the address where bug reports for this package should be sent. */
304 #define PACKAGE_BUGREPORT ""
305 
306 /* Define to the full name of this package. */
307 #define PACKAGE_NAME ""
308 
309 /* Define to the full name and version of this package. */
310 #define PACKAGE_STRING ""
311 
312 /* Define to the one symbol short name of this package. */
313 #define PACKAGE_TARNAME ""
314 
315 /* Define to the home page for this package. */
316 #define PACKAGE_URL ""
317 
318 /* Define to the version of this package. */
319 #define PACKAGE_VERSION ""
320 
321 /* Define to 1 if the `setpgrp' function requires zero arguments. */
322 #define SETPGRP_VOID 1
323 
324 /* Define to 1 for Windows static build. */
325 /* #undef STATIC_BUILD */
326 
327 /* Define to 1 if all of the C90 standard headers exist (not just the ones
328  required in a freestanding environment). This macro is provided for
329  backward compatibility; new code need not use it. */
330 #define STDC_HEADERS 1
331 
332 /* Define to 1 if NLS requested. */
333 #define USE_NLS 1
334 
335 /* Define to 1 if using old PROJ version 4 API. */
336 /* #undef USE_PROJ4API */
337 
338 /* Define to 1 if the X Window System is missing or not being used. */
339 /* #undef X_DISPLAY_MISSING */
340 
341 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
342  `char[]'. */
343 #define YYTEXT_POINTER 1
344 
345 /* Number of bits in a file offset, on hosts where this is settable. */
346 /* #undef _FILE_OFFSET_BITS */
347 
348 /* Define to make fseeko visible on some hosts (e.g. glibc 2.2). */
349 /* #undef _LARGEFILE_SOURCE */
350 
351 /* Define for large files, on AIX-style hosts. */
352 /* #undef _LARGE_FILES */
353 
354 /* Define to 1 to enable threading extensions on Solaris. */
355 /* #undef _POSIX_PTHREAD_SEMANTICS */
356 
357 /* Define to 1 for _REENTRANT flag (for SunOS). */
358 /* #undef _REENTRANT */
359 
360 /* Define to `int' if <sys/types.h> doesn't define. */
361 /* #undef gid_t */
362 
363 /* Define to `long int' if <sys/types.h> does not define. */
364 /* #undef off_t */
365 
366 /* Define to `int' if <sys/types.h> doesn't define. */
367 /* #undef uid_t */
368 
369 /*
370  * configuration information solely dependent on the above
371  * nothing below this point should need changing
372  */
373 
374 #if defined(HAVE_VALUES_H) && !defined(HAVE_LIMITS_H)
375 #define INT_MIN -MAXINT
376 #endif
377 
378 
379 
380 /*
381  * Defines needed to get large file support - from cdrtools-2.01
382  */
383 
384 /* MINGW32 LFS */
385 
386 /* define if we have LFS */
387 #define HAVE_LARGEFILES 1
388 
389 #ifdef HAVE_LARGEFILES /* If we have working largefiles at all */
390  /* This is not defined with glibc-2.1.3 */
391 
392 #if 0
393 
394 /* what to do with these four? configure comments these out */
395 
396 /* #undef _LARGEFILE_SOURCE */
397 /* #undef _LARGE_FILES */
398 /* #undef _XOPEN_SOURCE */
399 /* #undef _XOPEN_SOURCE_EXTENDED */
400  /* XXX We don't use this because glibc2.1.3*/
401  /* XXX is bad anyway. If we define */
402  /* XXX _XOPEN_SOURCE we will loose caddr_t */
403 
404 #endif
405 
406 #if defined(__MINGW32__) && (!defined(_FILE_OFFSET_BITS) || (_FILE_OFFSET_BITS != 64))
407 
408 /* add/remove as needed */
409 /* redefine off_t */
410 #include <sys/types.h>
411 #define off_t off64_t
412 /* fseeko and ftello are safe because not defined by MINGW */
413 #define HAVE_FSEEKO 1
414 #define fseeko fseeko64
415 #define ftello ftello64
416 /* redefine lseek */
417 #include <unistd.h>
418 #define lseek lseek64
419 /* redefine stat and fstat */
420 /* use _stati64 compatible with MSVCRT < 6.1 */
421 #include <sys/stat.h>
422 #define stat _stati64
423 #define fstat _fstati64
424 
425 #endif /* MINGW32 LFS */
426 
427 #endif /* HAVE_LARGEFILES */
428 
429 
430 /* define if langinfo.h exists */
431 #define HAVE_LANGINFO_H 1
432 
433 /* Use framebuffer objects for off-screen OpenGL rendering */
434 #define OPENGL_FBO 1
435 
436 #endif /* _config_h */