GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
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 if GDAL is to be used */
61 #define HAVE_GDAL 1
62 
63 /* define 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 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 if ATLAS exists */
94 /* #undef HAVE_LIBATLAS */
95 
96 /* define 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 if LAPACK exists */
103 #define HAVE_LIBLAPACK 1
104 
105 /* define if liblas exists */
106 #define HAVE_LIBLAS 1
107 
108 /* Define to 1 if you have the <liblas/capi/liblas.h> header file. */
109 #define HAVE_LIBLAS_CAPI_LIBLAS_H 1
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 you have the <limits.h> header file. */
115 #define HAVE_LIMITS_H 1
116 
117 /* define 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 <memory.h> header file. */
124 #define HAVE_MEMORY_H 1
125 
126 /* Define to 1 if you have the <mysql.h> header file. */
127 /* #undef HAVE_MYSQL_H */
128 
129 /* Define to 1 if you have the `nanosleep' function. */
130 #define HAVE_NANOSLEEP 1
131 
132 /* define if NetCDF exists */
133 #define HAVE_NETCDF 1
134 
135 /* Define to 1 if you have the `nice' function. */
136 #define HAVE_NICE 1
137 
138 /* define if OGR is to be used */
139 #define HAVE_OGR 1
140 
141 /* Define to 1 if you have the <omp.h> header file. */
142 /* #undef HAVE_OMP_H */
143 
144 /* Define to 1 if you have the <OpenCL/opencl.h> header file. */
145 /* #undef HAVE_OPENCL_OPENCL_H */
146 
147 /* Define to 1 if you have the <OpenGL/glu.h> header file. */
148 /* #undef HAVE_OPENGL_GLU_H */
149 
150 /* Define to 1 if you have the <OpenGL/gl.h> header file. */
151 /* #undef HAVE_OPENGL_GL_H */
152 
153 /* define if glXCreatePbuffer exists */
154 #define HAVE_PBUFFERS 1
155 
156 /* define if PDAL exists */
157 #define HAVE_PDAL 1
158 
159 /* define if glXCreateGLXPixmap exists */
160 #define HAVE_PIXMAPS 1
161 
162 /* Define to 1 if you have the <png.h> header file. */
163 #define HAVE_PNG_H 1
164 
165 /* define if PostgreSQL is to be used */
166 #define HAVE_POSTGRES 1
167 
168 /* define if PQcmdTuples in lpq */
169 #define HAVE_PQCMDTUPLES 1
170 
171 /* Define to 1 if you have the <proj_api.h> header file. */
172 /* #undef HAVE_PROJ_API_H */
173 
174 /* Define to 1 if you have the <proj.h> header file. */
175 #define HAVE_PROJ_H 1
176 
177 /* Define to 1 if you have the <pthread.h> header file. */
178 /* #undef HAVE_PTHREAD_H */
179 
180 /* Define to 1 if you have the `putenv' function. */
181 #define HAVE_PUTENV 1
182 
183 /* Define to 1 if you have the <readline/history.h> header file. */
184 /* #undef HAVE_READLINE_HISTORY_H */
185 
186 /* Define to 1 if you have the <readline/readline.h> header file. */
187 /* #undef HAVE_READLINE_READLINE_H */
188 
189 /* Define to 1 if you have the <regex.h> header file. */
190 #define HAVE_REGEX_H 1
191 
192 /* Define to 1 if you have the `setenv' function. */
193 #define HAVE_SETENV 1
194 
195 /* Define to 1 if you have the `seteuid' function. */
196 #define HAVE_SETEUID 1
197 
198 /* Define to 1 if you have the `setpriority' function. */
199 #define HAVE_SETPRIORITY 1
200 
201 /* Define to 1 if you have the `setreuid' function. */
202 #define HAVE_SETREUID 1
203 
204 /* Define to 1 if you have the `setruid' function. */
205 /* #undef HAVE_SETRUID */
206 
207 /* define if socket() exists */
208 #define HAVE_SOCKET 1
209 
210 /* define if SQLite is to be used */
211 #define HAVE_SQLITE 1
212 
213 /* Define to 1 if you have the <sqlite3.h> header file. */
214 #define HAVE_SQLITE3_H 1
215 
216 /* Define to 1 if you have the <sql.h> header file. */
217 #define HAVE_SQL_H 1
218 
219 /* Define to 1 if you have the <stdint.h> header file. */
220 #define HAVE_STDINT_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 <sys/ioctl.h> header file. */
232 #define HAVE_SYS_IOCTL_H 1
233 
234 /* Define to 1 if you have the <sys/mtio.h> header file. */
235 #define HAVE_SYS_MTIO_H 1
236 
237 /* Define to 1 if you have the <sys/resource.h> header file. */
238 #define HAVE_SYS_RESOURCE_H 1
239 
240 /* Define to 1 if you have the <sys/stat.h> header file. */
241 #define HAVE_SYS_STAT_H 1
242 
243 /* Define to 1 if you have the <sys/timeb.h> header file. */
244 #define HAVE_SYS_TIMEB_H 1
245 
246 /* Define to 1 if you have the <sys/time.h> header file. */
247 #define HAVE_SYS_TIME_H 1
248 
249 /* Define to 1 if you have the <sys/types.h> header file. */
250 #define HAVE_SYS_TYPES_H 1
251 
252 /* Define to 1 if you have the <sys/utsname.h> header file. */
253 #define HAVE_SYS_UTSNAME_H 1
254 
255 /* Define to 1 if you have the <termios.h> header file. */
256 #define HAVE_TERMIOS_H 1
257 
258 /* Define to 1 if you have the <termio.h> header file. */
259 #define HAVE_TERMIO_H 1
260 
261 /* Define to 1 if you have the <tiffio.h> header file. */
262 #define HAVE_TIFFIO_H 1
263 
264 /* Define to 1 if you have the `time' function. */
265 #define HAVE_TIME 1
266 
267 /* Define to 1 if you have the `uname' function. */
268 #define HAVE_UNAME 1
269 
270 /* Define to 1 if you have the <unistd.h> header file. */
271 #define HAVE_UNISTD_H 1
272 
273 /* Define to 1 if you have the <values.h> header file. */
274 #define HAVE_VALUES_H 1
275 
276 /* Define to 1 if you have the <windows.h> header file. */
277 /* #undef HAVE_WINDOWS_H */
278 
279 /* Define to 1 if you have the <zlib.h> header file. */
280 #define HAVE_ZLIB_H 1
281 
282 /* Define to 1 if you have the <zstd.h> header file. */
283 #define HAVE_ZSTD_H 1
284 
285 /* define if OpenGL uses Aqua (MacOS X) */
286 /* #undef OPENGL_AQUA */
287 
288 /* define if OpenGL uses Windows */
289 /* #undef OPENGL_WINDOWS */
290 
291 /* define if OpenGL uses X11 */
292 #define OPENGL_X11 1
293 
294 /* Define to the address where bug reports for this package should be sent. */
295 #define PACKAGE_BUGREPORT ""
296 
297 /* Define to the full name of this package. */
298 #define PACKAGE_NAME ""
299 
300 /* Define to the full name and version of this package. */
301 #define PACKAGE_STRING ""
302 
303 /* Define to the one symbol short name of this package. */
304 #define PACKAGE_TARNAME ""
305 
306 /* Define to the home page for this package. */
307 #define PACKAGE_URL ""
308 
309 /* Define to the version of this package. */
310 #define PACKAGE_VERSION ""
311 
312 /* Define to 1 if the `setpgrp' function takes no argument. */
313 #define SETPGRP_VOID 1
314 
315 /* define for Windows static build */
316 /* #undef STATIC_BUILD */
317 
318 /* Define to 1 if you have the ANSI C header files. */
319 #define STDC_HEADERS 1
320 
321 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
322 #define TIME_WITH_SYS_TIME 1
323 
324 /* define if NLS requested */
325 #define USE_NLS 1
326 
327 /* define if using old PROJ version 4 API */
328 /* #undef USE_PROJ4API */
329 
330 /* Define to 1 if the X Window System is missing or not being used. */
331 /* #undef X_DISPLAY_MISSING */
332 
333 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
334  `char[]'. */
335 /* #undef YYTEXT_POINTER */
336 
337 /* Number of bits in a file offset, on hosts where this is settable. */
338 /* #undef _FILE_OFFSET_BITS */
339 
340 /* Define to make fseeko visible on some hosts (e.g. glibc 2.2). */
341 /* #undef _LARGEFILE_SOURCE */
342 
343 /* Define for large files, on AIX-style hosts. */
344 /* #undef _LARGE_FILES */
345 
346 /* enable threading extensions on Solaris */
347 /* #undef _POSIX_PTHREAD_SEMANTICS */
348 
349 /* define _REENTRANT flag (for SunOS) */
350 /* #undef _REENTRANT */
351 
352 /* Define to `int' if <sys/types.h> doesn't define. */
353 /* #undef gid_t */
354 
355 /* Define to `long int' if <sys/types.h> does not define. */
356 /* #undef off_t */
357 
358 /* Define to `int' if <sys/types.h> doesn't define. */
359 /* #undef uid_t */
360 
361 /*
362  * configuration information solely dependent on the above
363  * nothing below this point should need changing
364  */
365 
366 #if defined(HAVE_VALUES_H) && !defined(HAVE_LIMITS_H)
367 #define INT_MIN -MAXINT
368 #endif
369 
370 
371 
372 /*
373  * Defines needed to get large file support - from cdrtools-2.01
374  */
375 
376 /* MINGW32 LFS */
377 
378 /* define if we have LFS */
379 #define HAVE_LARGEFILES 1
380 
381 #ifdef HAVE_LARGEFILES /* If we have working largefiles at all */
382  /* This is not defined with glibc-2.1.3 */
383 
384 #if 0
385 
386 /* what to do with these four? configure comments these out */
387 
388 /* #undef _LARGEFILE_SOURCE */
389 /* #undef _LARGE_FILES */
390 /* #undef _XOPEN_SOURCE */
391 /* #undef _XOPEN_SOURCE_EXTENDED */
392  /* XXX We don't use this because glibc2.1.3*/
393  /* XXX is bad anyway. If we define */
394  /* XXX _XOPEN_SOURCE we will loose caddr_t */
395 
396 #endif
397 
398 #if defined(__MINGW32__) && (!defined(_FILE_OFFSET_BITS) || (_FILE_OFFSET_BITS != 64))
399 
400 /* add/remove as needed */
401 /* redefine off_t */
402 #include <sys/types.h>
403 #define off_t off64_t
404 /* fseeko and ftello are safe because not defined by MINGW */
405 #define HAVE_FSEEKO 1
406 #define fseeko fseeko64
407 #define ftello ftello64
408 /* redefine lseek */
409 #include <unistd.h>
410 #define lseek lseek64
411 /* redefine stat and fstat */
412 /* use _stati64 compatible with MSVCRT < 6.1 */
413 #include <sys/stat.h>
414 #define stat _stati64
415 #define fstat _fstati64
416 
417 #endif /* MINGW32 LFS */
418 
419 #endif /* HAVE_LARGEFILES */
420 
421 
422 /* define if langinfo.h exists */
423 #define HAVE_LANGINFO_H 1
424 
425 /* Use framebuffer objects for off-screen OpenGL rendering */
426 #define OPENGL_FBO 1
427 
428 #endif /* _config_h */