config-vms.h 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. #ifndef HEADER_CONFIG_VMS_H
  2. #define HEADER_CONFIG_VMS_H
  3. /* $Id$ */
  4. /* */
  5. /* MSK, 02/05/04, Hand edited for trail build on Alpha V7.3, DEC C 6.5-003 */
  6. /* MSK, 03/09/04, Seems to work for all platforms I've built on so far. */
  7. /* Added HAVE_SYS_IOCTL_H define */
  8. /* TES, 10/06/04, Added MAX_INITIAL_POST_SIZE, HAVE_BASENAME */
  9. /* MSK, 02/02/05, Changed HAVE_TERMIOS_H to an undef since the change in */
  10. /* getpass.c no longer undef'd it during compile. */
  11. /* MSK, 02/08/05, turned two config-vms files into one by using USE_SSLEAY */
  12. /* MPZ, 12/28/05, changed HAVE_STRTOK_R define to use CRTL_VER */
  13. /* MSK, 01/27/07, needed to add HAVE_STRUCT_TIMEVAL define */
  14. /* Define cpu-machine-OS */
  15. #if defined(__alpha)
  16. # define OS "ALPHA-HP-VMS"
  17. #elif defined(__vax)
  18. # define OS "VAX-HP-VMS"
  19. #elif defined(__ia64)
  20. # define OS "IA64-HP-VMS"
  21. #else
  22. # define OS "UNKNOWN-HP-VMS"
  23. #endif
  24. /* Define if you have the ANSI C header files. */
  25. #define STDC_HEADERS 1
  26. /* Define if you can safely include both <sys/time.h> and <time.h>. */
  27. #define TIME_WITH_SYS_TIME 1
  28. /* The number of bytes in a long double. */
  29. #define SIZEOF_LONG_DOUBLE 8
  30. /* The number of bytes in a long long. */
  31. #define SIZEOF_LONG_LONG 8
  32. /* Define if you have the alarm function. */
  33. #define HAVE_ALARM 1
  34. /* Define if you have the geteuid function. */
  35. #define HAVE_GETEUID 1
  36. /* Define if you have the basename function. */
  37. #define HAVE_BASENAME 1
  38. /* Define if you have the gethostbyaddr function. */
  39. #define HAVE_GETHOSTBYADDR 1
  40. /* Define if you have the gethostname function. */
  41. #define HAVE_GETHOSTNAME 1
  42. /* Define if you have the getpwuid function. */
  43. #define HAVE_GETPWUID 1
  44. /* Define if you have the getservbyname function. */
  45. #define HAVE_GETSERVBYNAME 1
  46. /* Define if you have the gettimeofday function. */
  47. #define HAVE_GETTIMEOFDAY 1
  48. /* Define if you have the inet_addr function. */
  49. #define HAVE_INET_ADDR 1
  50. /* Define if you have the ioctl function. */
  51. #define HAVE_IOCTL 1
  52. /* Define if you have a working ioctl FIONBIO function. */
  53. #define HAVE_IOCTL_FIONBIO 1
  54. /* Define if you have a working ioctl SIOCGIFADDR function. */
  55. #define HAVE_IOCTL_SIOCGIFADDR 1
  56. /* Define if you have the perror function. */
  57. #define HAVE_PERROR 1
  58. /* Define if you have the select function. */
  59. #define HAVE_SELECT 1
  60. /* Define if you have the setvbuf function. */
  61. #define HAVE_SETVBUF 1
  62. /* Define if you have the sigaction function. */
  63. #define HAVE_SIGACTION 1
  64. /* Define if you have the signal function. */
  65. #define HAVE_SIGNAL 1
  66. /* Define if you have the socket function. */
  67. #define HAVE_SOCKET 1
  68. /* Define if you have the strcasecmp function. */
  69. #define HAVE_STRCASECMP 1
  70. /* Define if you have the strcmpi function. */
  71. /* #define HAVE_STRCMPI 1 */
  72. /* Define if you have the strdup function. */
  73. #define HAVE_STRDUP 1
  74. /* Define if you have the strftime function. */
  75. #define HAVE_STRFTIME 1
  76. /* Define if you have the stricmp function. */
  77. /* #define HAVE_STRICMP 1 */
  78. /* Define if you have the strstr function. */
  79. #define HAVE_STRSTR 1
  80. /* Define if you have the ftruncate function. */
  81. #define HAVE_FTRUNCATE 1
  82. /* Define if you have the uname function. */
  83. #define HAVE_UNAME 1
  84. /* Define if you have the <err.h> header file. */
  85. #define HAVE_ERR_H 1
  86. /* Define if you have the <fcntl.h> header file. */
  87. #define HAVE_FCNTL_H 1
  88. /* Define if you have the <getopt.h> header file. */
  89. #define HAVE_GETOPT_H 1
  90. /* Define if you have the <malloc.h> header file. */
  91. #define HAVE_MALLOC_H 1
  92. /* Define if you need the malloc.h header header file even with stdlib.h */
  93. /* #define NEED_MALLOC_H 1 */
  94. /* Define if you have the <net/if.h> header file. */
  95. #define HAVE_NET_IF_H 1
  96. /* Define if you have the <netdb.h> header file. */
  97. #define HAVE_NETDB_H 1
  98. /* Define if you have the <netinet/if_ether.h> header file. */
  99. #define HAVE_NETINET_IF_ETHER_H 1
  100. /* Define if you have the <netinet/in.h> header file. */
  101. #define HAVE_NETINET_IN_H 1
  102. /* OpenSSL section starts here */
  103. /* Define if you have a working OpenSSL installation */
  104. #ifdef USE_SSLEAY
  105. /* if OpenSSL is in use */
  106. #define USE_OPENSSL 1
  107. /* Define if you have the crypto library (-lcrypto). */
  108. #define HAVE_LIBCRYPTO 1
  109. /* Define if you have the ssl library (-lssl). */
  110. #define HAVE_LIBSSL 1
  111. /* Define if you have the <openssl/crypto.h> header file. */
  112. #define HAVE_OPENSSL_CRYPTO_H 1
  113. /* Define if you have the <openssl/err.h> header file. */
  114. #define HAVE_OPENSSL_ERR_H 1
  115. /* Define if you have the <openssl/pem.h> header file. */
  116. #define HAVE_OPENSSL_PEM_H 1
  117. /* Define if you have the <openssl/rsa.h> header file. */
  118. #define HAVE_OPENSSL_RSA_H 1
  119. /* Define if you have the <openssl/ssl.h> header file. */
  120. #define HAVE_OPENSSL_SSL_H 1
  121. /* Define if you have the <openssl/x509.h> header file. */
  122. #define HAVE_OPENSSL_X509_H 1
  123. /*
  124. * This needs to be defined for OpenSSL 0.9.7 and other versions that have the
  125. * ENGINE stuff supported. If an include of "openssl/engine.h" fails, then
  126. * undefine the define below.
  127. */
  128. #define HAVE_OPENSSL_ENGINE_H 1
  129. #endif /* USE_SSLEAY */
  130. /* OpenSSL section ends here */
  131. /* Define if you have the <pwd.h> header file. */
  132. #define HAVE_PWD_H 1
  133. /* Define if you have the <sgtty.h> header file. */
  134. #define HAVE_SGTTY_H 1
  135. /* Define if you have the <stdlib.h> header file. */
  136. #define HAVE_STDLIB_H 1
  137. /* Define if you have the <sys/socket.h> header file. */
  138. #define HAVE_SYS_SOCKET_H 1
  139. /* Define if you have the <sys/stat.h> header file. */
  140. #define HAVE_SYS_STAT_H 1
  141. /* Define if you have the <sys/time.h> header file. */
  142. #define HAVE_SYS_TIME_H 1
  143. /* Define if you have the <sys/types.h> header file. */
  144. #define HAVE_SYS_TYPES_H 1
  145. /* Define if you have the <termios.h> header file. */
  146. #undef HAVE_TERMIOS_H
  147. /* Define if you have the <time.h> header file. */
  148. #define HAVE_TIME_H 1
  149. /* Define if you have the <unistd.h> header file. */
  150. #define HAVE_UNISTD_H 1
  151. /* Define if you have the resolv library (-lresolv). */
  152. #define HAVE_LIBRESOLV 1
  153. /* Define if you have the socket library (-lsocket). */
  154. #define HAVE_LIBSOCKET 1
  155. /* Define if getaddrinfo exists and works */
  156. #define HAVE_GETADDRINFO 1
  157. /* Define if you have the <timeval.h> header file. */
  158. #define HAVE_TIMEVAL_H 1
  159. /* Define if you have the timeval struct. */
  160. #define HAVE_STRUCT_TIMEVAL 1
  161. /* Name of this package! */
  162. #define PACKAGE "not-used"
  163. /* Version number of this archive. */
  164. #define VERSION "not-used"
  165. /* Define if you have the getpass function. */
  166. #undef HAVE_GETPASS
  167. /* Define if you have the <inttypes.h> header file. */
  168. #undef HAVE_INTTYPES_H
  169. /* Define if you have the <strings.h> header file. */
  170. #define HAVE_STRINGS_H 1
  171. /* Define if you have the <string.h> header file. */
  172. #define HAVE_STRING_H 1
  173. /* Define if you have the `strtok_r' function. */
  174. /* Condition lifted from <string.h> */
  175. #if __CRTL_VER >= 70301000
  176. # define HAVE_STRTOK_R 1
  177. #endif
  178. /* Define if you have the `strtoll' function. */
  179. #define HAVE_STRTOLL 1
  180. /* Define if you have the <memory.h> header file. */
  181. #define HAVE_MEMORY_H 1
  182. /* Define to 1 if you need the memory.h header file even with stdlib.h */
  183. #define NEED_MEMORY_H 1
  184. /* Define if you have the `sigsetjmp' function. */
  185. #define HAVE_SIGSETJMP 1
  186. /* Define to 1 if you have the <setjmp.h> header file. */
  187. #define HAVE_SETJMP_H 1
  188. /* Define to 1 if you have the <limits.h> header file. */
  189. #define HAVE_LIMITS_H 1
  190. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  191. #define HAVE_SYS_IOCTL_H 1
  192. /* Define to 1 if you have the <stropts.h> header file. */
  193. #define HAVE_STROPTS_H 1
  194. /* Define if you have the getnameinfo function. */
  195. #define HAVE_GETNAMEINFO 1
  196. /* Define to the type qualifier of arg 1 for getnameinfo. */
  197. #define GETNAMEINFO_QUAL_ARG1 const
  198. /* Define to the type of arg 1 for getnameinfo. */
  199. #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
  200. /* Define to the type of arg 2 for getnameinfo. */
  201. #define GETNAMEINFO_TYPE_ARG2 size_t
  202. /* Define to the type of args 4 and 6 for getnameinfo. */
  203. #define GETNAMEINFO_TYPE_ARG46 size_t
  204. /* Define to the type of arg 7 for getnameinfo. */
  205. #define GETNAMEINFO_TYPE_ARG7 int
  206. /* Define if you have the recv function. */
  207. #define HAVE_RECV 1
  208. /* Define to the type of arg 1 for recv. */
  209. #define RECV_TYPE_ARG1 int
  210. /* Define to the type of arg 2 for recv. */
  211. #define RECV_TYPE_ARG2 void *
  212. /* Define to the type of arg 3 for recv. */
  213. #define RECV_TYPE_ARG3 int
  214. /* Define to the type of arg 4 for recv. */
  215. #define RECV_TYPE_ARG4 int
  216. /* Define to the function return type for recv. */
  217. #define RECV_TYPE_RETV int
  218. /* Define if you have the recvfrom function. */
  219. #define HAVE_RECVFROM 1
  220. /* Define to the type of arg 1 for recvfrom. */
  221. #define RECVFROM_TYPE_ARG1 int
  222. /* Define to the type pointed by arg 2 for recvfrom. */
  223. #define RECVFROM_TYPE_ARG2 void
  224. /* Define if the type pointed by arg 2 for recvfrom is void. */
  225. #define RECVFROM_TYPE_ARG2_IS_VOID 1
  226. /* Define to the type of arg 3 for recvfrom. */
  227. #define RECVFROM_TYPE_ARG3 int
  228. /* Define to the type of arg 4 for recvfrom. */
  229. #define RECVFROM_TYPE_ARG4 int
  230. /* Define to the type pointed by arg 5 for recvfrom. */
  231. #define RECVFROM_TYPE_ARG5 struct sockaddr
  232. /* Define to the type pointed by arg 6 for recvfrom. */
  233. #define RECVFROM_TYPE_ARG6 int
  234. /* Define to the function return type for recvfrom. */
  235. #define RECVFROM_TYPE_RETV int
  236. /* Define if you have the send function. */
  237. #define HAVE_SEND 1
  238. /* Define to the type of arg 1 for send. */
  239. #define SEND_TYPE_ARG1 int
  240. /* Define to the type qualifier of arg 2 for send. */
  241. #define SEND_QUAL_ARG2 const
  242. /* Define to the type of arg 2 for send. */
  243. #define SEND_TYPE_ARG2 void *
  244. /* Define to the type of arg 3 for send. */
  245. #define SEND_TYPE_ARG3 int
  246. /* Define to the type of arg 4 for send. */
  247. #define SEND_TYPE_ARG4 int
  248. /* Define to the function return type for send. */
  249. #define SEND_TYPE_RETV int
  250. /* Define to hide dollar sign from compilers in strict ansi mode. */
  251. #define decc_translate_vms(__s) decc$translate_vms(__s)
  252. #endif /* HEADER_CONFIG_VMS_H */