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