GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73675
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
config.h
Go to the documentation of this file.
1 /* include/config.h. Generated automatically 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 _OE_SOCKETS flag (OS/390 sys/socket.h) */
13 /* #undef _OE_SOCKETS */
14 
15 /* define _REENTRANT flag (for SunOS) */
16 /* #undef _REENTRANT */
17 
18 /* define USE_DELTA_FOR_TZ (for AIX) */
19 /* #undef USE_DELTA_FOR_TZ */
20 
21 /* define for Windows static build */
22 /* #undef STATIC_BUILD */
23 
24 /* define if limits.h exists */
25 #define HAVE_LIMITS_H 1
26 
27 /* define if termio.h exists */
28 #define HAVE_TERMIO_H 1
29 
30 /* define if termios.h exists */
31 #define HAVE_TERMIOS_H 1
32 
33 /* define if unistd.h exists */
34 #define HAVE_UNISTD_H 1
35 
36 /* define if values.h exists */
37 #define HAVE_VALUES_H 1
38 
39 /* define if zlib.h exists */
40 #define HAVE_ZLIB_H 1
41 
42 /* define if bzlib.h exists */
43 /* #undef HAVE_BZLIB_H */
44 
45 /* define if zstd.h exists */
46 /* #undef HAVE_ZSTD_H */
47 
48 /* define if sys/ioctl.h exists */
49 #define HAVE_SYS_IOCTL_H 1
50 
51 /* define if sys/mtio.h exists */
52 #define HAVE_SYS_MTIO_H 1
53 
54 /* define if sys/resource.h exists */
55 #define HAVE_SYS_RESOURCE_H 1
56 
57 /* define if sys/time.h exists */
58 #define HAVE_SYS_TIME_H 1
59 
60 /* define if time.h and sys/time.h can be included together */
61 #define TIME_WITH_SYS_TIME 1
62 
63 /* define if sys/timeb.h exists */
64 #define HAVE_SYS_TIMEB_H 1
65 
66 /* define if sys/types.h exists */
67 #define HAVE_SYS_TYPES_H 1
68 
69 /* define if sys/utsname.h exists */
70 #define HAVE_SYS_UTSNAME_H 1
71 
72 /* define if g2c.h exists */
73 /* #undef HAVE_G2C_H */
74 
75 /* define if f2c.h exists */
76 /* #undef HAVE_F2C_H */
77 
78 /* define if cblas.h exists */
79 #define HAVE_CBLAS_H 1
80 
81 /* define if clapack.h exists */
82 #define HAVE_CLAPACK_H 1
83 
84 /* define gid_t type */
85 /* #undef gid_t */
86 
87 /* define off_t type */
88 /* #undef off_t */
89 
90 /* define uid_t type */
91 /* #undef uid_t */
92 
93 /* define if "long long int" is available */
94 #define HAVE_LONG_LONG_INT 1
95 
96 /* define if "int64_t" is available */
97 #define HAVE_INT64_T 1
98 
99 /* Define the return type of signal handlers */
100 #define RETSIGTYPE void
101 
102 /* define if ftime() exists */
103 #define HAVE_FTIME 1
104 
105 /* define if gethostname() exists */
106 #define HAVE_GETHOSTNAME 1
107 
108 /* define if gettimeofday() exists */
109 #define HAVE_GETTIMEOFDAY 1
110 
111 /* define if lseek() exists */
112 #define HAVE_LSEEK 1
113 
114 /* define if time() exists */
115 #define HAVE_TIME 1
116 
117 /* define if uname() exists */
118 #define HAVE_UNAME 1
119 
120 /* define if seteuid() exists */
121 #define HAVE_SETEUID 1
122 
123 /* define if setpriority() exists */
124 #define HAVE_SETPRIORITY 1
125 
126 /* define if setreuid() exists */
127 #define HAVE_SETREUID 1
128 
129 /* define if setruid() exists */
130 /* #undef HAVE_SETRUID */
131 
132 /* define if setpgrp() takes no argument */
133 #define SETPGRP_VOID 1
134 
135 /* define if drand48() exists */
136 #define HAVE_DRAND48 1
137 
138 /* define if nanosleep() exists */
139 #define HAVE_NANOSLEEP 1
140 
141 /* define if asprintf() exists */
142 #define HAVE_ASPRINTF 1
143 
144 /* define if postgres is to be used */
145 #define HAVE_POSTGRES 1
146 
147 /* define if SQLite is to be used */
148 #define HAVE_SQLITE 1
149 
150 #define USE_PROJ4API 1
151 #ifndef USE_PROJ4API
152 /* define if proj.h exists and if the PROJ4 API should not be used */
153 /* #undef HAVE_PROJ_H */
154 #endif
155 
156 /* define if GDAL is to be used */
157 #define HAVE_GDAL 1
158 
159 /* define if OGR is to be used */
160 #define HAVE_OGR 1
161 
162 /* define if GEOS is to be used */
163 #define HAVE_GEOS 1
164 
165 /* define if postgres client header exists */
166 #define HAVE_LIBPQ_FE_H 1
167 
168 /* define if PQcmdTuples in lpq */
169 #define HAVE_PQCMDTUPLES 1
170 
171 /* define if ODBC exists */
172 #define HAVE_SQL_H 1
173 
174 /* define if tiffio.h exists */
175 #define HAVE_TIFFIO_H 1
176 
177 /* define if png.h exists */
178 #define HAVE_PNG_H 1
179 
180 /* define if jpeglib.h exists */
181 /* #undef HAVE_JPEGLIB_H */
182 
183 /* define if fftw3.h exists */
184 #define HAVE_FFTW3_H 1
185 
186 /* define if fftw.h exists */
187 /* #undef HAVE_FFTW_H */
188 
189 /* define if dfftw.h exists */
190 /* #undef HAVE_DFFTW_H */
191 
192 /* define if BLAS exists */
193 #define HAVE_LIBBLAS 1
194 
195 /* define if LAPACK exists */
196 #define HAVE_LIBLAPACK 1
197 
198 /* define if ATLAS exists */
199 /* #undef HAVE_LIBATLAS */
200 
201 /* define if dbm.h exists */
202 /* #undef HAVE_DBM_H */
203 
204 /* define if readline exists */
205 /* #undef HAVE_READLINE_READLINE_H */
206 
207 /* define if ft2build.h exists */
208 #define HAVE_FT2BUILD_H 1
209 
210 /* Whether or not we are using G_socks for display communications */
211 /* #undef USE_G_SOCKS */
212 
213 /* define if X is disabled or unavailable */
214 #define X_DISPLAY_MISSING 1
215 
216 /* define if libintl.h exists */
217 #define HAVE_LIBINTL_H 1
218 
219 /* define if iconv.h exists */
220 #define HAVE_ICONV_H 1
221 
222 /* define if NLS requested */
223 #define USE_NLS 1
224 
225 /* define if putenv() exists */
226 #define HAVE_PUTENV 1
227 
228 /* define if setenv() exists */
229 #define HAVE_SETENV 1
230 
231 /* define if socket() exists */
232 #define HAVE_SOCKET 1
233 
234 /* define if glXCreatePbuffer exists */
235 #define HAVE_PBUFFERS 1
236 
237 /* define if glXCreateGLXPixmap exists */
238 #define HAVE_PIXMAPS 1
239 
240 /* define if OpenGL uses X11 */
241 #define OPENGL_X11 1
242 
243 /* define if OpenGL uses Aqua (MacOS X) */
244 /* #undef OPENGL_AQUA */
245 
246 /* define if OpenGL uses Windows */
247 /* #undef OPENGL_WINDOWS */
248 
249 /* define if regex.h exists */
250 #define HAVE_REGEX_H 1
251 
252 /* define if pthread.h exists */
253 /* #undef HAVE_PTHREAD_H */
254 
255 /* define if fseeko() exists */
256 #define HAVE_FSEEKO 1
257 
258 /*
259  * configuration information solely dependent on the above
260  * nothing below this point should need changing
261  */
262 
263 #if defined(HAVE_VALUES_H) && !defined(HAVE_LIMITS_H)
264 #define INT_MIN -MAXINT
265 #endif
266 
267 
268 
269 /*
270  * Defines needed to get large file support - from cdrtools-2.01
271  */
272 
273 /* MINGW32 LFS */
274 
275 /* define if we have LFS */
276 #define HAVE_LARGEFILES 1
277 
278 #ifdef HAVE_LARGEFILES /* If we have working largefiles at all */
279  /* This is not defined with glibc-2.1.3 */
280 
281 #if 0
282 
283 /* what to do with these four? configure comments these out */
284 
285 /* #undef _LARGEFILE_SOURCE */ /* To make ftello() visible (HP-UX 10.20). */
286 /* #undef _LARGE_FILES */ /* Large file defined on AIX-style hosts. */
287 /* #undef _XOPEN_SOURCE */ /* To make ftello() visible (glibc 2.1.3). */
288 /* #undef _XOPEN_SOURCE_EXTENDED */
289  /* XXX We don't use this because glibc2.1.3*/
290  /* XXX is bad anyway. If we define */
291  /* XXX _XOPEN_SOURCE we will loose caddr_t */
292 
293 #endif
294 
295 #if defined(__MINGW32__) && (!defined(_FILE_OFFSET_BITS) || (_FILE_OFFSET_BITS != 64))
296 
297 /* add/remove as needed */
298 /* redefine off_t */
299 #include <sys/types.h>
300 #define off_t off64_t
301 /* fseeko and ftello are safe because not defined by MINGW */
302 #define HAVE_FSEEKO
303 #define fseeko fseeko64
304 #define ftello ftello64
305 /* redefine lseek */
306 #include <unistd.h>
307 #define lseek lseek64
308 /* redefine stat and fstat */
309 /* use _stati64 compatible with MSVCRT < 6.1 */
310 #include <sys/stat.h>
311 #define stat _stati64
312 #define fstat _fstati64
313 
314 #endif /* MINGW32 LFS */
315 
316 #endif /* HAVE_LARGEFILES */
317 
318 
319 /* define if langinfo.h exists */
320 #define HAVE_LANGINFO_H 1
321 
322 /* Use framebuffer objects for off-screen OpenGL rendering */
323 #define OPENGL_FBO 1
324 
325 #endif /* _config_h */