config.h.in 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. /*
  2. * config.h.in
  3. */
  4. #ifndef _config_h
  5. #define _config_h
  6. #define GDEBUG 1
  7. /* define _OE_SOCKETS flag (OS/390 sys/socket.h) */
  8. #undef _OE_SOCKETS
  9. /* define _REENTRANT flag (for SunOS) */
  10. #undef _REENTRANT
  11. /* define USE_DELTA_FOR_TZ (for AIX) */
  12. #undef USE_DELTA_FOR_TZ
  13. /* define for Windows static build */
  14. #undef STATIC_BUILD
  15. /* define if limits.h exists */
  16. #undef HAVE_LIMITS_H
  17. /* define if termio.h exists */
  18. #undef HAVE_TERMIO_H
  19. /* define if termios.h exists */
  20. #undef HAVE_TERMIOS_H
  21. /* define if unistd.h exists */
  22. #undef HAVE_UNISTD_H
  23. /* define if values.h exists */
  24. #undef HAVE_VALUES_H
  25. /* define if zlib.h exists */
  26. #undef HAVE_ZLIB_H
  27. /* define if bzlib.h exists */
  28. #undef HAVE_BZLIB_H
  29. /* define if zstd.h exists */
  30. #undef HAVE_ZSTD_H
  31. /* define if sys/ioctl.h exists */
  32. #undef HAVE_SYS_IOCTL_H
  33. /* define if sys/mtio.h exists */
  34. #undef HAVE_SYS_MTIO_H
  35. /* define if sys/resource.h exists */
  36. #undef HAVE_SYS_RESOURCE_H
  37. /* define if sys/time.h exists */
  38. #undef HAVE_SYS_TIME_H
  39. /* define if time.h and sys/time.h can be included together */
  40. #undef TIME_WITH_SYS_TIME
  41. /* define if sys/timeb.h exists */
  42. #undef HAVE_SYS_TIMEB_H
  43. /* define if sys/types.h exists */
  44. #undef HAVE_SYS_TYPES_H
  45. /* define if sys/utsname.h exists */
  46. #undef HAVE_SYS_UTSNAME_H
  47. /* define if g2c.h exists */
  48. #undef HAVE_G2C_H
  49. /* define if f2c.h exists */
  50. #undef HAVE_F2C_H
  51. /* define if cblas.h exists */
  52. #undef HAVE_CBLAS_H
  53. /* define if clapack.h exists */
  54. #undef HAVE_CLAPACK_H
  55. /* define gid_t type */
  56. #undef gid_t
  57. /* define off_t type */
  58. #undef off_t
  59. /* define uid_t type */
  60. #undef uid_t
  61. /* define if "long long int" is available */
  62. #undef HAVE_LONG_LONG_INT
  63. /* define if "int64_t" is available */
  64. #undef HAVE_INT64_T
  65. /* Define the return type of signal handlers */
  66. #define RETSIGTYPE int
  67. /* define if ftime() exists */
  68. #undef HAVE_FTIME
  69. /* define if gethostname() exists */
  70. #undef HAVE_GETHOSTNAME
  71. /* define if gettimeofday() exists */
  72. #undef HAVE_GETTIMEOFDAY
  73. /* define if lseek() exists */
  74. #undef HAVE_LSEEK
  75. /* define if time() exists */
  76. #undef HAVE_TIME
  77. /* define if uname() exists */
  78. #undef HAVE_UNAME
  79. /* define if seteuid() exists */
  80. #undef HAVE_SETEUID
  81. /* define if setpriority() exists */
  82. #undef HAVE_SETPRIORITY
  83. /* define if setreuid() exists */
  84. #undef HAVE_SETREUID
  85. /* define if setruid() exists */
  86. #undef HAVE_SETRUID
  87. /* define if setpgrp() takes no argument */
  88. #undef SETPGRP_VOID
  89. /* define if drand48() exists */
  90. #undef HAVE_DRAND48
  91. /* define if nanosleep() exists */
  92. #undef HAVE_NANOSLEEP
  93. /* define if asprintf() exists */
  94. #undef HAVE_ASPRINTF
  95. /* define if postgres is to be used */
  96. #undef HAVE_POSTGRES
  97. /* define if SQLite is to be used */
  98. #undef HAVE_SQLITE
  99. #undef USE_PROJ4API
  100. #ifndef USE_PROJ4API
  101. /* define if proj.h exists and if the PROJ4 API should not be used */
  102. #undef HAVE_PROJ_H
  103. #endif
  104. /* define if GDAL is to be used */
  105. #undef HAVE_GDAL
  106. /* define if OGR is to be used */
  107. #undef HAVE_OGR
  108. /* define if GEOS is to be used */
  109. #undef HAVE_GEOS
  110. /* define if postgres client header exists */
  111. #undef HAVE_LIBPQ_FE_H
  112. /* define if PQcmdTuples in lpq */
  113. #undef HAVE_PQCMDTUPLES
  114. /* define if ODBC exists */
  115. #undef HAVE_SQL_H
  116. /* define if tiffio.h exists */
  117. #undef HAVE_TIFFIO_H
  118. /* define if png.h exists */
  119. #undef HAVE_PNG_H
  120. /* define if jpeglib.h exists */
  121. #undef HAVE_JPEGLIB_H
  122. /* define if fftw3.h exists */
  123. #undef HAVE_FFTW3_H
  124. /* define if fftw.h exists */
  125. #undef HAVE_FFTW_H
  126. /* define if dfftw.h exists */
  127. #undef HAVE_DFFTW_H
  128. /* define if BLAS exists */
  129. #undef HAVE_LIBBLAS
  130. /* define if LAPACK exists */
  131. #undef HAVE_LIBLAPACK
  132. /* define if ATLAS exists */
  133. #undef HAVE_LIBATLAS
  134. /* define if dbm.h exists */
  135. #undef HAVE_DBM_H
  136. /* define if readline exists */
  137. #undef HAVE_READLINE_READLINE_H
  138. /* define if ft2build.h exists */
  139. #undef HAVE_FT2BUILD_H
  140. /* Whether or not we are using G_socks for display communications */
  141. #undef USE_G_SOCKS
  142. /* define if X is disabled or unavailable */
  143. #undef X_DISPLAY_MISSING
  144. /* define if libintl.h exists */
  145. #undef HAVE_LIBINTL_H
  146. /* define if iconv.h exists */
  147. #undef HAVE_ICONV_H
  148. /* define if NLS requested */
  149. #undef USE_NLS
  150. /* define if putenv() exists */
  151. #undef HAVE_PUTENV
  152. /* define if setenv() exists */
  153. #undef HAVE_SETENV
  154. /* define if socket() exists */
  155. #undef HAVE_SOCKET
  156. /* define if glXCreatePbuffer exists */
  157. #undef HAVE_PBUFFERS
  158. /* define if glXCreateGLXPixmap exists */
  159. #undef HAVE_PIXMAPS
  160. /* define if OpenGL uses X11 */
  161. #undef OPENGL_X11
  162. /* define if OpenGL uses Aqua (MacOS X) */
  163. #undef OPENGL_AQUA
  164. /* define if OpenGL uses Windows */
  165. #undef OPENGL_WINDOWS
  166. /* define if regex.h exists */
  167. #undef HAVE_REGEX_H
  168. /* define if pthread.h exists */
  169. #undef HAVE_PTHREAD_H
  170. /* define if fseeko() exists */
  171. #undef HAVE_FSEEKO
  172. /*
  173. * configuration information solely dependent on the above
  174. * nothing below this point should need changing
  175. */
  176. #if defined(HAVE_VALUES_H) && !defined(HAVE_LIMITS_H)
  177. #define INT_MIN -MAXINT
  178. #endif
  179. /*
  180. * Defines needed to get large file support - from cdrtools-2.01
  181. */
  182. /* MINGW32 LFS */
  183. /* define if we have LFS */
  184. #undef HAVE_LARGEFILES
  185. #ifdef HAVE_LARGEFILES /* If we have working largefiles at all */
  186. /* This is not defined with glibc-2.1.3 */
  187. #if 0
  188. /* what to do with these four? configure comments these out */
  189. #undef _LARGEFILE_SOURCE /* To make ftello() visible (HP-UX 10.20). */
  190. #undef _LARGE_FILES /* Large file defined on AIX-style hosts. */
  191. #undef _XOPEN_SOURCE /* To make ftello() visible (glibc 2.1.3). */
  192. #undef _XOPEN_SOURCE_EXTENDED
  193. /* XXX We don't use this because glibc2.1.3*/
  194. /* XXX is bad anyway. If we define */
  195. /* XXX _XOPEN_SOURCE we will loose caddr_t */
  196. #endif
  197. #if defined(__MINGW32__) && (!defined(_FILE_OFFSET_BITS) || (_FILE_OFFSET_BITS != 64))
  198. /* add/remove as needed */
  199. /* redefine off_t */
  200. #include <sys/types.h>
  201. #define off_t off64_t
  202. /* fseeko and ftello are safe because not defined by MINGW */
  203. #define HAVE_FSEEKO
  204. #define fseeko fseeko64
  205. #define ftello ftello64
  206. /* redefine lseek */
  207. #include <unistd.h>
  208. #define lseek lseek64
  209. /* redefine stat and fstat */
  210. /* use _stati64 compatible with MSVCRT < 6.1 */
  211. #include <sys/stat.h>
  212. #define stat _stati64
  213. #define fstat _fstati64
  214. #endif /* MINGW32 LFS */
  215. #endif /* HAVE_LARGEFILES */
  216. /* define if langinfo.h exists */
  217. #undef HAVE_LANGINFO_H
  218. /* Use framebuffer objects for off-screen OpenGL rendering */
  219. #define OPENGL_FBO 1
  220. #endif /* _config_h */