config.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  1. /* config.h. Generated from config.h.in by configure. */
  2. /* config.h.in. Generated from configure.ac by autoheader. */
  3. /* Define to the number of bits in type 'ptrdiff_t'. */
  4. /* #undef BITSIZEOF_PTRDIFF_T */
  5. /* Define to the number of bits in type 'sig_atomic_t'. */
  6. /* #undef BITSIZEOF_SIG_ATOMIC_T */
  7. /* Define to the number of bits in type 'size_t'. */
  8. /* #undef BITSIZEOF_SIZE_T */
  9. /* Define to the number of bits in type 'wchar_t'. */
  10. /* #undef BITSIZEOF_WCHAR_T */
  11. /* Define to the number of bits in type 'wint_t'. */
  12. /* #undef BITSIZEOF_WINT_T */
  13. /* Major version */
  14. #define CGMINER_MAJOR_VERSION 4
  15. /* Micro version */
  16. #define CGMINER_MINOR_SUBVERSION 5
  17. /* Minor version */
  18. #define CGMINER_MINOR_VERSION 3
  19. /* Path to cgminer install */
  20. #define CGMINER_PREFIX "/usr/local/bin"
  21. /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
  22. systems. This function is required for `alloca.c' support on those systems.
  23. */
  24. /* #undef CRAY_STACKSEG_END */
  25. /* Defined if version of curl supports keepalive. */
  26. #define CURL_HAS_KEEPALIVE 1
  27. /* Define to 1 if using `alloca.c'. */
  28. /* #undef C_ALLOCA */
  29. /* int execv(const char*, char*const*); */
  30. #define EXECV_2ND_ARG_TYPE const char* const*
  31. /* Define to 1 when the gnulib module memchr should be tested. */
  32. #define GNULIB_TEST_MEMCHR 1
  33. /* Define to 1 when the gnulib module memmem should be tested. */
  34. #define GNULIB_TEST_MEMMEM 1
  35. /* Define to 1 when the gnulib module sigaction should be tested. */
  36. #define GNULIB_TEST_SIGACTION 1
  37. /* Define to 1 when the gnulib module sigprocmask should be tested. */
  38. #define GNULIB_TEST_SIGPROCMASK 1
  39. /* Define to 1 if you have `alloca', as a function or macro. */
  40. #define HAVE_ALLOCA 1
  41. /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
  42. */
  43. /* #undef HAVE_ALLOCA_H */
  44. /* Define if __attribute__((cold)) */
  45. #define HAVE_ATTRIBUTE_COLD 1
  46. /* Define if __attribute__((const)) */
  47. #define HAVE_ATTRIBUTE_CONST 1
  48. /* Define if __attribute__((noreturn)) */
  49. #define HAVE_ATTRIBUTE_NORETURN 1
  50. /* Define if __attribute__((format(__printf__))) */
  51. #define HAVE_ATTRIBUTE_PRINTF 1
  52. /* Define if __attribute__((unused)) */
  53. #define HAVE_ATTRIBUTE_UNUSED 1
  54. /* Define if __attribute__((used)) */
  55. #define HAVE_ATTRIBUTE_USED 1
  56. /* Define to 1 if you have the <bp-sym.h> header file. */
  57. /* #undef HAVE_BP_SYM_H */
  58. /* Define if have __builtin_constant_p */
  59. #define HAVE_BUILTIN_CONSTANT_P 1
  60. /* Define if have __builtin_types_compatible_p */
  61. #define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1
  62. /* Defined to 1 if curses TUI support is wanted */
  63. #define HAVE_CURSES 1
  64. /* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
  65. */
  66. #define HAVE_DECL_MEMMEM 0
  67. /* Define to 1 if you have the <dlfcn.h> header file. */
  68. #define HAVE_DLFCN_H 1
  69. /* Define to 1 if you have the <inttypes.h> header file. */
  70. #define HAVE_INTTYPES_H 1
  71. /* Defined to 1 if libcurl support built in */
  72. #define HAVE_LIBCURL 1
  73. /* Define to 1 if you have the `pthread' library (-lpthread). */
  74. #define HAVE_LIBPTHREAD 1
  75. /* Defined to 1 if udev support available */
  76. /* #undef HAVE_LIBUDEV */
  77. /* Define if you have libusb-1.0 */
  78. /* #undef HAVE_LIBUSB */
  79. /* Define to 1 if you have the `winpthread' library (-lwinpthread). */
  80. /* #undef HAVE_LIBWINPTHREAD */
  81. /* Define to 1 if the system has the type `long long int'. */
  82. #define HAVE_LONG_LONG_INT 1
  83. /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
  84. config.h and <sys/mman.h>. */
  85. /* #undef HAVE_MAP_ANONYMOUS */
  86. /* Define to 1 if you have the `memmem' function. */
  87. /* #undef HAVE_MEMMEM */
  88. /* Define to 1 if you have the <memory.h> header file. */
  89. #define HAVE_MEMORY_H 1
  90. /* Define to 1 if you have the `mprotect' function. */
  91. #define HAVE_MPROTECT 1
  92. /* Define to 1 if memmem is declared even after undefining macros. */
  93. /* #undef HAVE_RAW_DECL_MEMMEM */
  94. /* Define to 1 if mempcpy is declared even after undefining macros. */
  95. /* #undef HAVE_RAW_DECL_MEMPCPY */
  96. /* Define to 1 if memrchr is declared even after undefining macros. */
  97. /* #undef HAVE_RAW_DECL_MEMRCHR */
  98. /* Define to 1 if rawmemchr is declared even after undefining macros. */
  99. /* #undef HAVE_RAW_DECL_RAWMEMCHR */
  100. /* Define to 1 if sigaction is declared even after undefining macros. */
  101. /* #undef HAVE_RAW_DECL_SIGACTION */
  102. /* Define to 1 if sigaddset is declared even after undefining macros. */
  103. /* #undef HAVE_RAW_DECL_SIGADDSET */
  104. /* Define to 1 if sigdelset is declared even after undefining macros. */
  105. /* #undef HAVE_RAW_DECL_SIGDELSET */
  106. /* Define to 1 if sigemptyset is declared even after undefining macros. */
  107. /* #undef HAVE_RAW_DECL_SIGEMPTYSET */
  108. /* Define to 1 if sigfillset is declared even after undefining macros. */
  109. /* #undef HAVE_RAW_DECL_SIGFILLSET */
  110. /* Define to 1 if sigpending is declared even after undefining macros. */
  111. /* #undef HAVE_RAW_DECL_SIGPENDING */
  112. /* Define to 1 if sigprocmask is declared even after undefining macros. */
  113. /* #undef HAVE_RAW_DECL_SIGPROCMASK */
  114. /* Define to 1 if stpcpy is declared even after undefining macros. */
  115. /* #undef HAVE_RAW_DECL_STPCPY */
  116. /* Define to 1 if stpncpy is declared even after undefining macros. */
  117. /* #undef HAVE_RAW_DECL_STPNCPY */
  118. /* Define to 1 if strcasestr is declared even after undefining macros. */
  119. /* #undef HAVE_RAW_DECL_STRCASESTR */
  120. /* Define to 1 if strchrnul is declared even after undefining macros. */
  121. /* #undef HAVE_RAW_DECL_STRCHRNUL */
  122. /* Define to 1 if strncat is declared even after undefining macros. */
  123. #define HAVE_RAW_DECL_STRNCAT 1
  124. /* Define to 1 if strndup is declared even after undefining macros. */
  125. /* #undef HAVE_RAW_DECL_STRNDUP */
  126. /* Define to 1 if strnlen is declared even after undefining macros. */
  127. #define HAVE_RAW_DECL_STRNLEN 1
  128. /* Define to 1 if strpbrk is declared even after undefining macros. */
  129. #define HAVE_RAW_DECL_STRPBRK 1
  130. /* Define to 1 if strsep is declared even after undefining macros. */
  131. /* #undef HAVE_RAW_DECL_STRSEP */
  132. /* Define to 1 if strsignal is declared even after undefining macros. */
  133. /* #undef HAVE_RAW_DECL_STRSIGNAL */
  134. /* Define to 1 if strtok_r is declared even after undefining macros. */
  135. #define HAVE_RAW_DECL_STRTOK_R 1
  136. /* Define to 1 if strverscmp is declared even after undefining macros. */
  137. /* #undef HAVE_RAW_DECL_STRVERSCMP */
  138. /* Define to 1 if you have the `sigaction' function. */
  139. /* #undef HAVE_SIGACTION */
  140. /* Define to 1 if you have the `sigaltstack' function. */
  141. /* #undef HAVE_SIGALTSTACK */
  142. /* Define to 1 if the system has the type `siginfo_t'. */
  143. /* #undef HAVE_SIGINFO_T */
  144. /* Define to 1 if you have the `siginterrupt' function. */
  145. /* #undef HAVE_SIGINTERRUPT */
  146. /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
  147. /* #undef HAVE_SIGNED_SIG_ATOMIC_T */
  148. /* Define to 1 if 'wchar_t' is a signed integer type. */
  149. /* #undef HAVE_SIGNED_WCHAR_T */
  150. /* Define to 1 if 'wint_t' is a signed integer type. */
  151. /* #undef HAVE_SIGNED_WINT_T */
  152. /* Define to 1 if the system has the type `sigset_t'. */
  153. #define HAVE_SIGSET_T 1
  154. /* Define to 1 if you have the <stdint.h> header file. */
  155. #define HAVE_STDINT_H 1
  156. /* Define to 1 if you have the <stdlib.h> header file. */
  157. #define HAVE_STDLIB_H 1
  158. /* Define to 1 if you have the <strings.h> header file. */
  159. #define HAVE_STRINGS_H 1
  160. /* Define to 1 if you have the <string.h> header file. */
  161. #define HAVE_STRING_H 1
  162. /* Define to 1 if `sa_sigaction' is a member of `struct sigaction'. */
  163. /* #undef HAVE_STRUCT_SIGACTION_SA_SIGACTION */
  164. /* Define to 1 if you have the <syslog.h> header file. */
  165. /* #undef HAVE_SYSLOG_H */
  166. /* Define to 1 if you have the <sys/bitypes.h> header file. */
  167. /* #undef HAVE_SYS_BITYPES_H */
  168. /* Define to 1 if you have the <sys/inttypes.h> header file. */
  169. /* #undef HAVE_SYS_INTTYPES_H */
  170. /* Define to 1 if you have the <sys/mman.h> header file. */
  171. /* #undef HAVE_SYS_MMAN_H */
  172. /* Define to 1 if you have the <sys/stat.h> header file. */
  173. #define HAVE_SYS_STAT_H 1
  174. /* Define to 1 if you have the <sys/types.h> header file. */
  175. #define HAVE_SYS_TYPES_H 1
  176. /* Define to 1 if you have the <unistd.h> header file. */
  177. #define HAVE_UNISTD_H 1
  178. /* Define to 1 if the system has the type `unsigned long long int'. */
  179. #define HAVE_UNSIGNED_LONG_LONG_INT 1
  180. /* Define if __attribute__((warn_unused_result)) */
  181. #define HAVE_WARN_UNUSED_RESULT 1
  182. /* Define to 1 if you have the <wchar.h> header file. */
  183. #define HAVE_WCHAR_H 1
  184. /* Define if you have the 'wchar_t' type. */
  185. #define HAVE_WCHAR_T 1
  186. /* Define to the sub-directory in which libtool stores uninstalled libraries.
  187. */
  188. #define LT_OBJDIR ".libs/"
  189. /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
  190. /* #undef MAP_ANONYMOUS */
  191. /* Define to 1 if your C compiler doesn't accept -c and -o together. */
  192. /* #undef NO_MINUS_C_MINUS_O */
  193. /* Name of package */
  194. #define PACKAGE "cgminer"
  195. /* Define to the address where bug reports for this package should be sent. */
  196. #define PACKAGE_BUGREPORT "kernel@kolivas.org"
  197. /* Define to the full name of this package. */
  198. #define PACKAGE_NAME "cgminer"
  199. /* Define to the full name and version of this package. */
  200. #define PACKAGE_STRING "cgminer 4.3.5-scrypt.2"
  201. /* Define to the one symbol short name of this package. */
  202. #define PACKAGE_TARNAME "cgminer"
  203. /* Define to the home page for this package. */
  204. #define PACKAGE_URL ""
  205. /* Define to the version of this package. */
  206. #define PACKAGE_VERSION "4.3.5-scrypt.2"
  207. /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  208. 'ptrdiff_t'. */
  209. /* #undef PTRDIFF_T_SUFFIX */
  210. /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  211. 'sig_atomic_t'. */
  212. /* #undef SIG_ATOMIC_T_SUFFIX */
  213. /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  214. 'size_t'. */
  215. /* #undef SIZE_T_SUFFIX */
  216. /* If using the C implementation of alloca, define if you know the
  217. direction of stack growth for your system; otherwise it will be
  218. automatically deduced at runtime.
  219. STACK_DIRECTION > 0 => grows toward higher addresses
  220. STACK_DIRECTION < 0 => grows toward lower addresses
  221. STACK_DIRECTION = 0 => direction of growth unknown */
  222. /* #undef STACK_DIRECTION */
  223. /* Define to 1 if you have the ANSI C header files. */
  224. #define STDC_HEADERS 1
  225. /* Defined to 1 if Antminer S1 Bitmain support is wanted */
  226. /* #undef USE_ANT_S1 */
  227. /* Defined to 1 if Antminer S2 Bitmain support is wanted */
  228. /* #undef USE_ANT_S2 */
  229. /* Defined to 1 if Avalon support is wanted */
  230. /* #undef USE_AVALON */
  231. /* Defined to 1 if Avalon2 support is wanted */
  232. /* #undef USE_AVALON2 */
  233. /* Defined to 1 if BlackArrow Bitfury support is wanted */
  234. /* #undef USE_BAB */
  235. /* Defined to 1 if BFL ASIC support is wanted */
  236. /* #undef USE_BFLSC */
  237. /* Defined to 1 if BitForce support is wanted */
  238. /* #undef USE_BITFORCE */
  239. /* Defined to 1 if BitFury ASIC support is wanted */
  240. /* #undef USE_BITFURY */
  241. /* Defined to 1 if Bitmine A1 support is wanted */
  242. /* #undef USE_BITMINE_A1 */
  243. /* Defined to 1 if Cointerra support is wanted */
  244. /* #undef USE_COINTERRA */
  245. /* Defined to 1 if Drillbit BitFury support is wanted */
  246. /* #undef USE_DRILLBIT */
  247. /* Defined to 1 if serial support required */
  248. #define USE_FPGA_SERIAL 1
  249. /* Defined to 1 if GridSeed support is wanted */
  250. /* #undef USE_GRIDSEED */
  251. /* Defined to 1 if Hashfast support is wanted */
  252. /* #undef USE_HASHFAST */
  253. /* Defined to 1 if Icarus support is wanted */
  254. /* #undef USE_ICARUS */
  255. /* Defined to 1 if Klondike support is wanted */
  256. /* #undef USE_KLONDIKE */
  257. /* Defined to 1 if KnC miner support is wanted */
  258. /* #undef USE_KNC */
  259. /* Defined to 1 if Lketc support is wanted */
  260. #define USE_LKETC 1
  261. /* Defined to 1 if Minion BlackArrow ASIC support is wanted */
  262. /* #undef USE_MINION */
  263. /* Defined to 1 if ModMiner support is wanted */
  264. /* #undef USE_MODMINER */
  265. /* Defined to 1 if scrypt support is wanted */
  266. #define USE_SCRYPT 1
  267. /* Defined to 1 if Spondoolies support is wanted */
  268. /* #undef USE_SPONDOOLIES */
  269. /* Defined to 1 if usbutils support required */
  270. #define USE_USBUTILS 1
  271. /* Defined to 1 if Zeus support is wanted */
  272. #define USE_ZEUS 1
  273. /* Version number of package */
  274. #define VERSION "4.3.5-scrypt.2"
  275. /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  276. 'wchar_t'. */
  277. /* #undef WCHAR_T_SUFFIX */
  278. /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  279. 'wint_t'. */
  280. /* #undef WINT_T_SUFFIX */
  281. /* Define to 1 if on MINIX. */
  282. /* #undef _MINIX */
  283. /* Define to 2 if the system does not provide POSIX.1 features except with
  284. this defined. */
  285. /* #undef _POSIX_1_SOURCE */
  286. /* Define to 1 if you need to in order for `stat' and other things to work.
  287. */
  288. /* #undef _POSIX_SOURCE */
  289. /* "WinNT version for XP+ support" */
  290. #define _WIN32_WINNT 0x0501
  291. /* Define to 500 only on HP-UX. */
  292. /* #undef _XOPEN_SOURCE */
  293. /* Enable extensions on AIX 3, Interix. */
  294. #ifndef _ALL_SOURCE
  295. # define _ALL_SOURCE 1
  296. #endif
  297. /* Enable GNU extensions on systems that have them. */
  298. #ifndef _GNU_SOURCE
  299. # define _GNU_SOURCE 1
  300. #endif
  301. /* Enable threading extensions on Solaris. */
  302. #ifndef _POSIX_PTHREAD_SEMANTICS
  303. # define _POSIX_PTHREAD_SEMANTICS 1
  304. #endif
  305. /* Enable extensions on HP NonStop. */
  306. #ifndef _TANDEM_SOURCE
  307. # define _TANDEM_SOURCE 1
  308. #endif
  309. /* Enable general extensions on Solaris. */
  310. #ifndef __EXTENSIONS__
  311. # define __EXTENSIONS__ 1
  312. #endif
  313. /* Define to `int' if <sys/types.h> doesn't define. */
  314. #define gid_t int
  315. /* Define to `__inline__' or `__inline' if that's what the C compiler
  316. calls it, or to nothing if 'inline' is not supported under any name. */
  317. #ifndef __cplusplus
  318. /* #undef inline */
  319. #endif
  320. /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
  321. the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
  322. earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
  323. __APPLE__ && __MACH__ test for MacOS X.
  324. __APPLE_CC__ tests for the Apple compiler and its version.
  325. __STDC_VERSION__ tests for the C99 mode. */
  326. #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
  327. # define __GNUC_STDC_INLINE__ 1
  328. #endif
  329. /* Define to the equivalent of the C99 'restrict' keyword, or to
  330. nothing if this is not supported. Do not define if restrict is
  331. supported directly. */
  332. #define restrict __restrict
  333. /* Work around a bug in Sun C++: it does not support _Restrict or
  334. __restrict__, even though the corresponding Sun C compiler ends up with
  335. "#define restrict _Restrict" or "#define restrict __restrict__" in the
  336. previous line. Perhaps some future version of Sun C++ will work with
  337. restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
  338. #if defined __SUNPRO_CC && !defined __RESTRICT
  339. # define _Restrict
  340. # define __restrict__
  341. #endif
  342. /* Define to `unsigned int' if <sys/types.h> does not define. */
  343. /* #undef size_t */
  344. /* Define to `int' if <sys/types.h> doesn't define. */
  345. #define uid_t int
  346. /* Define as a marker that can be attached to declarations that might not
  347. be used. This helps to reduce warnings, such as from
  348. GCC -Wunused-parameter. */
  349. #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
  350. # define _GL_UNUSED __attribute__ ((__unused__))
  351. #else
  352. # define _GL_UNUSED
  353. #endif
  354. /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
  355. is a misnomer outside of parameter lists. */
  356. #define _UNUSED_PARAMETER_ _GL_UNUSED
  357. /* The __pure__ attribute was added in gcc 2.96. */
  358. #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
  359. # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
  360. #else
  361. # define _GL_ATTRIBUTE_PURE /* empty */
  362. #endif
  363. /* The __const__ attribute was added in gcc 2.95. */
  364. #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
  365. # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
  366. #else
  367. # define _GL_ATTRIBUTE_CONST /* empty */
  368. #endif