config.h.in 5.9 KB

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