config.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  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 1
  17. /* Minor version */
  18. #define CGMINER_MINOR_VERSION 11
  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 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. #define HAVE_ALLOCA_H 1
  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 1
  67. /* Define to 1 if you have the <inttypes.h> header file. */
  68. #define HAVE_INTTYPES_H 1
  69. /* Define if you have jansson >= 2.6 */
  70. /* #undef HAVE_JANSSON */
  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. /* Define if you have libusb-1.0 */
  76. /* #undef HAVE_LIBUSB */
  77. /* Define to 1 if you have the `winpthread' library (-lwinpthread). */
  78. /* #undef HAVE_LIBWINPTHREAD */
  79. /* Define to 1 if the system has the type `long long int'. */
  80. #define HAVE_LONG_LONG_INT 1
  81. /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
  82. config.h and <sys/mman.h>. */
  83. #define HAVE_MAP_ANONYMOUS 1
  84. /* Define to 1 if you have the `memmem' function. */
  85. #define HAVE_MEMMEM 1
  86. /* Define to 1 if you have the <memory.h> header file. */
  87. #define HAVE_MEMORY_H 1
  88. /* Define to 1 if you have the `mprotect' function. */
  89. #define HAVE_MPROTECT 1
  90. /* Define to 1 if memmem is declared even after undefining macros. */
  91. #define HAVE_RAW_DECL_MEMMEM 1
  92. /* Define to 1 if mempcpy is declared even after undefining macros. */
  93. #define HAVE_RAW_DECL_MEMPCPY 1
  94. /* Define to 1 if memrchr is declared even after undefining macros. */
  95. #define HAVE_RAW_DECL_MEMRCHR 1
  96. /* Define to 1 if rawmemchr is declared even after undefining macros. */
  97. #define HAVE_RAW_DECL_RAWMEMCHR 1
  98. /* Define to 1 if sigaction is declared even after undefining macros. */
  99. #define HAVE_RAW_DECL_SIGACTION 1
  100. /* Define to 1 if sigaddset is declared even after undefining macros. */
  101. #define HAVE_RAW_DECL_SIGADDSET 1
  102. /* Define to 1 if sigdelset is declared even after undefining macros. */
  103. #define HAVE_RAW_DECL_SIGDELSET 1
  104. /* Define to 1 if sigemptyset is declared even after undefining macros. */
  105. #define HAVE_RAW_DECL_SIGEMPTYSET 1
  106. /* Define to 1 if sigfillset is declared even after undefining macros. */
  107. #define HAVE_RAW_DECL_SIGFILLSET 1
  108. /* Define to 1 if sigismember is declared even after undefining macros. */
  109. #define HAVE_RAW_DECL_SIGISMEMBER 1
  110. /* Define to 1 if sigpending is declared even after undefining macros. */
  111. #define HAVE_RAW_DECL_SIGPENDING 1
  112. /* Define to 1 if sigprocmask is declared even after undefining macros. */
  113. #define HAVE_RAW_DECL_SIGPROCMASK 1
  114. /* Define to 1 if stpcpy is declared even after undefining macros. */
  115. #define HAVE_RAW_DECL_STPCPY 1
  116. /* Define to 1 if stpncpy is declared even after undefining macros. */
  117. #define HAVE_RAW_DECL_STPNCPY 1
  118. /* Define to 1 if strcasestr is declared even after undefining macros. */
  119. #define HAVE_RAW_DECL_STRCASESTR 1
  120. /* Define to 1 if strchrnul is declared even after undefining macros. */
  121. #define HAVE_RAW_DECL_STRCHRNUL 1
  122. /* Define to 1 if strdup is declared even after undefining macros. */
  123. #define HAVE_RAW_DECL_STRDUP 1
  124. /* Define to 1 if strerror_r is declared even after undefining macros. */
  125. #define HAVE_RAW_DECL_STRERROR_R 1
  126. /* Define to 1 if strncat is declared even after undefining macros. */
  127. #define HAVE_RAW_DECL_STRNCAT 1
  128. /* Define to 1 if strndup is declared even after undefining macros. */
  129. #define HAVE_RAW_DECL_STRNDUP 1
  130. /* Define to 1 if strnlen is declared even after undefining macros. */
  131. #define HAVE_RAW_DECL_STRNLEN 1
  132. /* Define to 1 if strpbrk is declared even after undefining macros. */
  133. #define HAVE_RAW_DECL_STRPBRK 1
  134. /* Define to 1 if strsep is declared even after undefining macros. */
  135. #define HAVE_RAW_DECL_STRSEP 1
  136. /* Define to 1 if strsignal is declared even after undefining macros. */
  137. #define HAVE_RAW_DECL_STRSIGNAL 1
  138. /* Define to 1 if strtok_r is declared even after undefining macros. */
  139. #define HAVE_RAW_DECL_STRTOK_R 1
  140. /* Define to 1 if strverscmp is declared even after undefining macros. */
  141. #define HAVE_RAW_DECL_STRVERSCMP 1
  142. /* Define to 1 if you have the `sigaction' function. */
  143. #define HAVE_SIGACTION 1
  144. /* Define to 1 if you have the `sigaltstack' function. */
  145. #define HAVE_SIGALTSTACK 1
  146. /* Define to 1 if the system has the type `siginfo_t'. */
  147. /* #undef HAVE_SIGINFO_T */
  148. /* Define to 1 if you have the `siginterrupt' function. */
  149. #define HAVE_SIGINTERRUPT 1
  150. /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
  151. /* #undef HAVE_SIGNED_SIG_ATOMIC_T */
  152. /* Define to 1 if 'wchar_t' is a signed integer type. */
  153. /* #undef HAVE_SIGNED_WCHAR_T */
  154. /* Define to 1 if 'wint_t' is a signed integer type. */
  155. /* #undef HAVE_SIGNED_WINT_T */
  156. /* Define to 1 if the system has the type `sigset_t'. */
  157. /* #undef HAVE_SIGSET_T */
  158. /* Define to 1 if you have the <stdint.h> header file. */
  159. #define HAVE_STDINT_H 1
  160. /* Define to 1 if you have the <stdlib.h> header file. */
  161. #define HAVE_STDLIB_H 1
  162. /* Define to 1 if you have the <strings.h> header file. */
  163. #define HAVE_STRINGS_H 1
  164. /* Define to 1 if you have the <string.h> header file. */
  165. #define HAVE_STRING_H 1
  166. /* Define to 1 if `sa_sigaction' is a member of `struct sigaction'. */
  167. #define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
  168. /* Define to 1 if you have the <syslog.h> header file. */
  169. #define HAVE_SYSLOG_H 1
  170. /* Define to 1 if you have the <sys/bitypes.h> header file. */
  171. /* #undef HAVE_SYS_BITYPES_H */
  172. /* Define to 1 if you have the <sys/inttypes.h> header file. */
  173. /* #undef HAVE_SYS_INTTYPES_H */
  174. /* Define to 1 if you have the <sys/mman.h> header file. */
  175. #define HAVE_SYS_MMAN_H 1
  176. /* Define to 1 if you have the <sys/stat.h> header file. */
  177. #define HAVE_SYS_STAT_H 1
  178. /* Define to 1 if you have the <sys/types.h> header file. */
  179. #define HAVE_SYS_TYPES_H 1
  180. /* Define to 1 if you have the <unistd.h> header file. */
  181. #define HAVE_UNISTD_H 1
  182. /* Define to 1 if the system has the type `unsigned long long int'. */
  183. #define HAVE_UNSIGNED_LONG_LONG_INT 1
  184. /* Define to 1 if you have the <uthash.h> header file. */
  185. /* #undef HAVE_UTHASH_H */
  186. /* Define if __attribute__((warn_unused_result)) */
  187. #define HAVE_WARN_UNUSED_RESULT 1
  188. /* Define to 1 if you have the <wchar.h> header file. */
  189. #define HAVE_WCHAR_H 1
  190. /* Define if you have the 'wchar_t' type. */
  191. #define HAVE_WCHAR_T 1
  192. /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
  193. /* #undef MAP_ANONYMOUS */
  194. /* Name of package */
  195. #define PACKAGE "cgminer"
  196. /* Define to the address where bug reports for this package should be sent. */
  197. #define PACKAGE_BUGREPORT "kernel@kolivas.org"
  198. /* Define to the full name of this package. */
  199. #define PACKAGE_NAME "cgminer"
  200. /* Define to the full name and version of this package. */
  201. #define PACKAGE_STRING "cgminer 4.11.1-xnsub-mod4"
  202. /* Define to the one symbol short name of this package. */
  203. #define PACKAGE_TARNAME "cgminer"
  204. /* Define to the home page for this package. */
  205. #define PACKAGE_URL ""
  206. /* Define to the version of this package. */
  207. #define PACKAGE_VERSION "4.11.1-xnsub-mod4"
  208. /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  209. 'ptrdiff_t'. */
  210. /* #undef PTRDIFF_T_SUFFIX */
  211. /* Defined to 1 for R4 */
  212. /* #undef R4 */
  213. /* Defined to 1 for default */
  214. /* #undef S9_63 */
  215. /* Defined to 1 for T9 */
  216. /* #undef S9_PLUS */
  217. /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  218. 'sig_atomic_t'. */
  219. /* #undef SIG_ATOMIC_T_SUFFIX */
  220. /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  221. 'size_t'. */
  222. /* #undef SIZE_T_SUFFIX */
  223. /* If using the C implementation of alloca, define if you know the
  224. direction of stack growth for your system; otherwise it will be
  225. automatically deduced at runtime.
  226. STACK_DIRECTION > 0 => grows toward higher addresses
  227. STACK_DIRECTION < 0 => grows toward lower addresses
  228. STACK_DIRECTION = 0 => direction of growth unknown */
  229. /* #undef STACK_DIRECTION */
  230. /* Define to 1 if you have the ANSI C header files. */
  231. #define STDC_HEADERS 1
  232. /* Defined to 1 for T9+ */
  233. /* #undef T9_18 */
  234. /* Defined to 1 if Antminer S1 Bitmain support is wanted */
  235. /* #undef USE_ANT_S1 */
  236. /* Defined to 1 if Antminer S2 Bitmain support is wanted */
  237. /* #undef USE_ANT_S2 */
  238. /* Defined to 1 if Antminer S3 Bitmain support is wanted */
  239. #define USE_ANT_S3 1
  240. /* Defined to 1 if Avalon support is wanted */
  241. /* #undef USE_AVALON */
  242. /* Defined to 1 if Avalon2 support is wanted */
  243. /* #undef USE_AVALON2 */
  244. /* Defined to 1 if Avalon4 support is wanted */
  245. /* #undef USE_AVALON4 */
  246. /* Defined to 1 if Avalon7 support is wanted */
  247. /* #undef USE_AVALON7 */
  248. /* Defined to 1 if Avalon8 support is wanted */
  249. /* #undef USE_AVALON8 */
  250. /* Defined to 1 if Avalon miner support is wanted */
  251. /* #undef USE_AVALON_MINER */
  252. /* Defined to 1 if BlackArrow Bitfury support is wanted */
  253. /* #undef USE_BAB */
  254. /* Defined to 1 if BFL ASIC support is wanted */
  255. /* #undef USE_BFLSC */
  256. /* Defined to 1 if BitForce support is wanted */
  257. /* #undef USE_BITFORCE */
  258. /* Defined to 1 if BitFury ASIC support is wanted */
  259. /* #undef USE_BITFURY */
  260. /* Defined to 1 if BitFury 16nm ASIC support is wanted */
  261. /* #undef USE_BITFURY16 */
  262. /* Defined to 1 if Bitmain ASICs support is wanted */
  263. /* #undef USE_BITMAIN_SOC */
  264. /* Defined to 1 if Bitmine A1 support is wanted */
  265. /* #undef USE_BITMINE_A1 */
  266. /* Defined to 1 if BlockErupter support is wanted */
  267. /* #undef USE_BLOCKERUPTER */
  268. /* Defined to 1 if Cointerra support is wanted */
  269. /* #undef USE_COINTERRA */
  270. /* Defined to 1 if Dragonmint T1 support is wanted */
  271. /* #undef USE_DRAGONMINT_T1 */
  272. /* Defined to 1 if Drillbit BitFury support is wanted */
  273. /* #undef USE_DRILLBIT */
  274. /* Defined to 1 if Hashfast support is wanted */
  275. /* #undef USE_HASHFAST */
  276. /* Defined to 1 if Hashratiosupport is wanted */
  277. /* #undef USE_HASHRATIO */
  278. /* Defined to 1 if Icarus support is wanted */
  279. /* #undef USE_ICARUS */
  280. /* Defined to 1 if Klondike support is wanted */
  281. /* #undef USE_KLONDIKE */
  282. /* Defined to 1 if KnC miner support is wanted */
  283. /* #undef USE_KNC */
  284. /* Defined to 1 if libsystemd support is wanted */
  285. /* #undef USE_LIBSYSTEMD */
  286. /* Defined to 1 if Minion BlackArrow ASIC support is wanted */
  287. /* #undef USE_MINION */
  288. /* Defined to 1 if ModMiner support is wanted */
  289. /* #undef USE_MODMINER */
  290. /* Defined to 1 if Spondoolies SP10 support is wanted */
  291. /* #undef USE_SP10 */
  292. /* Defined to 1 if SP30 support is wanted */
  293. /* #undef USE_SP30 */
  294. /* Defined to 1 if usbutils support required */
  295. #define USE_USBUTILS 1
  296. /* Defined to 1 if version mask rolling is wanted */
  297. /* #undef USE_VMASK */
  298. /* Version number of package */
  299. #define VERSION "4.11.1-xnsub-mod4"
  300. /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  301. 'wchar_t'. */
  302. /* #undef WCHAR_T_SUFFIX */
  303. /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  304. 'wint_t'. */
  305. /* #undef WINT_T_SUFFIX */
  306. /* Define to 1 if on MINIX. */
  307. /* #undef _MINIX */
  308. /* Define to 2 if the system does not provide POSIX.1 features except with
  309. this defined. */
  310. /* #undef _POSIX_1_SOURCE */
  311. /* Define to 1 if you need to in order for `stat' and other things to work. */
  312. /* #undef _POSIX_SOURCE */
  313. /* Define to 500 only on HP-UX. */
  314. /* #undef _XOPEN_SOURCE */
  315. /* Enable extensions on AIX 3, Interix. */
  316. #ifndef _ALL_SOURCE
  317. # define _ALL_SOURCE 1
  318. #endif
  319. /* Enable GNU extensions on systems that have them. */
  320. #ifndef _GNU_SOURCE
  321. # define _GNU_SOURCE 1
  322. #endif
  323. /* Enable threading extensions on Solaris. */
  324. #ifndef _POSIX_PTHREAD_SEMANTICS
  325. # define _POSIX_PTHREAD_SEMANTICS 1
  326. #endif
  327. /* Enable extensions on HP NonStop. */
  328. #ifndef _TANDEM_SOURCE
  329. # define _TANDEM_SOURCE 1
  330. #endif
  331. /* Enable general extensions on Solaris. */
  332. #ifndef __EXTENSIONS__
  333. # define __EXTENSIONS__ 1
  334. #endif
  335. /* Define to `int' if <sys/types.h> doesn't define. */
  336. /* #undef gid_t */
  337. /* Define to `__inline__' or `__inline' if that's what the C compiler
  338. calls it, or to nothing if 'inline' is not supported under any name. */
  339. #ifndef __cplusplus
  340. /* #undef inline */
  341. #endif
  342. /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
  343. the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
  344. earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
  345. __APPLE__ && __MACH__ test for MacOS X.
  346. __APPLE_CC__ tests for the Apple compiler and its version.
  347. __STDC_VERSION__ tests for the C99 mode. */
  348. #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
  349. # define __GNUC_STDC_INLINE__ 1
  350. #endif
  351. /* Define to the equivalent of the C99 'restrict' keyword, or to
  352. nothing if this is not supported. Do not define if restrict is
  353. supported directly. */
  354. #define restrict __restrict
  355. /* Work around a bug in Sun C++: it does not support _Restrict or
  356. __restrict__, even though the corresponding Sun C compiler ends up with
  357. "#define restrict _Restrict" or "#define restrict __restrict__" in the
  358. previous line. Perhaps some future version of Sun C++ will work with
  359. restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
  360. #if defined __SUNPRO_CC && !defined __RESTRICT
  361. # define _Restrict
  362. # define __restrict__
  363. #endif
  364. /* Define to `unsigned int' if <sys/types.h> does not define. */
  365. /* #undef size_t */
  366. /* Define to `int' if <sys/types.h> doesn't define. */
  367. /* #undef uid_t */
  368. /* Define as a marker that can be attached to declarations that might not
  369. be used. This helps to reduce warnings, such as from
  370. GCC -Wunused-parameter. */
  371. #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
  372. # define _GL_UNUSED __attribute__ ((__unused__))
  373. #else
  374. # define _GL_UNUSED
  375. #endif
  376. /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
  377. is a misnomer outside of parameter lists. */
  378. #define _UNUSED_PARAMETER_ _GL_UNUSED
  379. /* The __pure__ attribute was added in gcc 2.96. */
  380. #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
  381. # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
  382. #else
  383. # define _GL_ATTRIBUTE_PURE /* empty */
  384. #endif
  385. /* The __const__ attribute was added in gcc 2.95. */
  386. #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
  387. # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
  388. #else
  389. # define _GL_ATTRIBUTE_CONST /* empty */
  390. #endif