configure.ac 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  2. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  3. m4_define([v_maj], [2])
  4. m4_define([v_min], [9])
  5. m4_define([v_mic], [4])
  6. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  7. m4_define([v_ver], [v_maj.v_min.v_mic])
  8. m4_define([lt_rev], m4_eval(v_maj + v_min))
  9. m4_define([lt_cur], v_mic)
  10. m4_define([lt_age], v_min)
  11. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  12. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  13. AC_INIT([cgminer], [v_ver], [kernel@kolivas.org])
  14. AC_PREREQ(2.59)
  15. AC_CANONICAL_SYSTEM
  16. AC_CONFIG_MACRO_DIR([m4])
  17. AC_CONFIG_SRCDIR([cgminer.c])
  18. AC_CONFIG_HEADERS([config.h])
  19. AM_INIT_AUTOMAKE([foreign])
  20. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
  21. AC_USE_SYSTEM_EXTENSIONS
  22. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  23. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  24. m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
  25. m4_ifdef([v_rel], , [m4_define([v_rel], [])])
  26. AC_DEFINE_UNQUOTED(CGMINER_MAJOR_VERSION, [v_maj], [Major version])
  27. AC_DEFINE_UNQUOTED(CGMINER_MINOR_VERSION, [v_min], [Minor version])
  28. AC_DEFINE_UNQUOTED(CGMINER_MINOR_SUBVERSION, [v_mic], [Micro version])
  29. version_info="lt_rev:lt_cur:lt_age"
  30. release_info="v_rel"
  31. AC_SUBST(version_info)
  32. AC_SUBST(release_info)
  33. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  34. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  35. VMAJ=v_maj
  36. AC_SUBST(VMAJ)
  37. AC_CANONICAL_BUILD
  38. AC_CANONICAL_HOST
  39. dnl Make sure anyone changing configure.ac/Makefile.am has a clue
  40. AM_MAINTAINER_MODE
  41. dnl Checks for programs
  42. AC_PROG_CC
  43. gl_EARLY
  44. AC_PROG_GCC_TRADITIONAL
  45. AM_PROG_CC_C_O
  46. AC_PROG_RANLIB
  47. gl_INIT
  48. dnl Checks for header files.
  49. AC_HEADER_STDC
  50. AC_CHECK_HEADERS(syslog.h)
  51. AC_FUNC_ALLOCA
  52. have_win32=false
  53. PTHREAD_FLAGS="-lpthread"
  54. USB_LIBS=""
  55. USB_FLAGS=""
  56. DLOPEN_FLAGS="-ldl"
  57. OPENCL_LIBS="-lOpenCL"
  58. WS2_LIBS=""
  59. MATH_LIBS="-lm"
  60. case $target in
  61. amd64-*)
  62. have_x86_64=true
  63. ;;
  64. x86_64-*)
  65. have_x86_64=true
  66. ;;
  67. *)
  68. have_x86_64=false
  69. ;;
  70. esac
  71. case $target in
  72. *-*-mingw*)
  73. have_x86_64=false
  74. have_win32=true
  75. PTHREAD_FLAGS=""
  76. DLOPEN_FLAGS=""
  77. WS2_LIBS="-lws2_32"
  78. AC_DEFINE([_WIN32_WINNT], [0x0501], "WinNT version for XP+ support")
  79. ;;
  80. powerpc-*-darwin*)
  81. CFLAGS="$CFLAGS -faltivec"
  82. OPENCL_LIBS=""
  83. PTHREAD_FLAGS=""
  84. ;;
  85. *-*-darwin*)
  86. OPENCL_LIBS="-framework OpenCL"
  87. PTHREAD_FLAGS=""
  88. ;;
  89. esac
  90. if test "x$have_win32" != xtrue; then
  91. if test "x$have_x86_64" = xtrue; then
  92. ARCH_DIR=x86_64
  93. else
  94. ARCH_DIR=x86
  95. fi
  96. if test "x$ATISTREAMSDKROOT" != x; then
  97. OPENCL_FLAGS="-I$ATISTREAMSDKROOT/include $OPENCL_FLAGS"
  98. OPENCL_LIBS="-L$ATISTREAMSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"
  99. fi
  100. if test "x$AMDAPPSDKROOT" != x; then
  101. OPENCL_FLAGS="-I$AMDAPPSDKROOT/include $OPENCL_FLAGS"
  102. OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"
  103. fi
  104. fi
  105. cpumining="no"
  106. AC_ARG_ENABLE([cpumining],
  107. [AC_HELP_STRING([--enable-cpumining],[Build with cpu mining support(default disabled)])],
  108. [cpumining=$enableval]
  109. )
  110. if test "x$cpumining" = xyes; then
  111. AC_DEFINE_UNQUOTED([WANT_CPUMINE], [1], [Enable CPUMINING])
  112. fi
  113. AM_CONDITIONAL([HAS_CPUMINE], [test x$cpumining = xyes])
  114. opencl="yes"
  115. AC_ARG_ENABLE([opencl],
  116. [AC_HELP_STRING([--disable-opencl],[Override detection and disable building with opencl])],
  117. [opencl=$enableval]
  118. )
  119. if test "x$opencl" != xno; then
  120. # Check for OpenCL (the long way needed on mingw32 due to calling conventions)
  121. AC_MSG_CHECKING([for OpenCL])
  122. SAVED_LIBS=$LIBS
  123. SAVED_CFLAGS=$CFLAGS
  124. LIBS="$LIBS $OPENCL_LIBS"
  125. CFLAGS="$CFLAGS $OPENCL_FLAGS"
  126. AC_LINK_IFELSE(
  127. [AC_LANG_PROGRAM([[
  128. #ifdef __APPLE_CC__
  129. #include <OpenCL/opencl.h>
  130. #else
  131. #include <CL/cl.h>
  132. #endif
  133. ]],
  134. [[return clSetKernelArg(0, 0, 0, 0); ]])],
  135. [AC_MSG_RESULT(yes)
  136. AC_DEFINE([HAVE_OPENCL], [1], [Defined to 1 if OpenCL is present on the system.])
  137. found_opencl=1
  138. ],
  139. [AC_MSG_RESULT(no)
  140. OPENCL_FLAGS=
  141. OPENCL_LIBS=
  142. found_opencl=0])
  143. LIBS=$SAVED_LIBS
  144. CFLAGS=$SAVED_CFLAGS
  145. else
  146. OPENCL_FLAGS=""
  147. OPENCL_LIBS=""
  148. fi
  149. AC_CHECK_LIB(pthread, pthread_create, ,
  150. AC_MSG_ERROR([Could not find pthread library - please install libpthread]))
  151. PTHREAD_LIBS=-lpthread
  152. AC_CHECK_LIB(jansson, json_loads, request_jansson=false, request_jansson=true)
  153. AC_ARG_ENABLE([adl],
  154. [AC_HELP_STRING([--disable-adl],[Override detection and disable building with adl])],
  155. [adl=$enableval]
  156. )
  157. scrypt="no"
  158. if test "$found_opencl" = 1; then
  159. if test "x$adl" != xno; then
  160. AC_CHECK_FILE([ADL_SDK/adl_sdk.h], have_adl=true, have_adl=false,)
  161. if test x$have_adl = xtrue
  162. then
  163. AC_DEFINE([HAVE_ADL], [1], [Defined if ADL headers were found])
  164. else
  165. DLOPEN_FLAGS=""
  166. fi
  167. fi
  168. AC_ARG_ENABLE([scrypt],
  169. [AC_HELP_STRING([--enable-scrypt],[Compile support for scrypt litecoin mining (default disabled)])],
  170. [scrypt=$enableval]
  171. )
  172. if test "x$scrypt" = xyes; then
  173. AC_DEFINE([USE_SCRYPT], [1], [Defined to 1 if scrypt support is wanted])
  174. fi
  175. else
  176. DLOPEN_FLAGS=""
  177. fi
  178. AM_CONDITIONAL([HAS_SCRYPT], [test x$scrypt = xyes])
  179. bitforce="no"
  180. AC_ARG_ENABLE([bitforce],
  181. [AC_HELP_STRING([--enable-bitforce],[Compile support for BitForce FPGAs(default disabled)])],
  182. [bitforce=$enableval]
  183. )
  184. if test "x$bitforce" = xyes; then
  185. AC_DEFINE([USE_BITFORCE], [1], [Defined to 1 if BitForce support is wanted])
  186. fi
  187. AM_CONDITIONAL([HAS_BITFORCE], [test x$bitforce = xyes])
  188. icarus="no"
  189. AC_ARG_ENABLE([icarus],
  190. [AC_HELP_STRING([--enable-icarus],[Compile support for Icarus (default disabled)])],
  191. [icarus=$enableval]
  192. )
  193. if test "x$icarus" = xyes; then
  194. AC_DEFINE([USE_ICARUS], [1], [Defined to 1 if Icarus support is wanted])
  195. fi
  196. AM_CONDITIONAL([HAS_ICARUS], [test x$icarus = xyes])
  197. modminer="no"
  198. AC_ARG_ENABLE([modminer],
  199. [AC_HELP_STRING([--enable-modminer],[Compile support for ModMiner FPGAs(default disabled)])],
  200. [modminer=$enableval]
  201. )
  202. if test "x$modminer" = xyes; then
  203. AC_DEFINE([USE_MODMINER], [1], [Defined to 1 if ModMiner support is wanted])
  204. fi
  205. AM_CONDITIONAL([HAS_MODMINER], [test x$modminer = xyes])
  206. ztex="no"
  207. AC_ARG_ENABLE([ztex],
  208. [AC_HELP_STRING([--enable-ztex],[Compile support for Ztex (default disabled)])],
  209. [ztex=$enableval]
  210. )
  211. if test "x$ztex" = xyes; then
  212. AC_DEFINE([USE_ZTEX], [1], [Defined to 1 if Ztex support is wanted])
  213. fi
  214. AM_CONDITIONAL([HAS_ZTEX], [test x$ztex = xyes])
  215. curses="auto"
  216. AC_ARG_WITH([curses],
  217. [AC_HELP_STRING([--without-curses],[Compile support for curses TUI (default enabled)])],
  218. [curses=$withval]
  219. )
  220. if test "x$curses" = "xno"; then
  221. cursesmsg='User specified --without-curses. TUI support DISABLED'
  222. else
  223. AC_SEARCH_LIBS(addstr, ncurses pdcurses, [
  224. curses=yes
  225. cursesmsg="FOUND: ${ac_cv_search_addstr}"
  226. AC_DEFINE([HAVE_CURSES], [1], [Defined to 1 if curses TUI support is wanted])
  227. ], [
  228. if test "x$curses" = "xyes"; then
  229. AC_MSG_ERROR([Could not find curses library - please install libncurses-dev or pdcurses-dev (or configure --without-curses)])
  230. else
  231. AC_MSG_WARN([Could not find curses library - if you want a TUI, install libncurses-dev or pdcurses-dev])
  232. curses=no
  233. cursesmsg='NOT FOUND. TUI support DISABLED'
  234. fi
  235. ])
  236. fi
  237. AM_CONDITIONAL([NEED_FPGAUTILS], [test x$icarus$bitforce$modminer$ztex != xnononono])
  238. AM_CONDITIONAL([HAVE_CURSES], [test x$curses = xyes])
  239. AM_CONDITIONAL([WANT_JANSSON], [test x$request_jansson = xtrue])
  240. AM_CONDITIONAL([HAVE_WINDOWS], [test x$have_win32 = xtrue])
  241. AM_CONDITIONAL([HAVE_x86_64], [test x$have_x86_64 = xtrue])
  242. if test x$request_jansson = xtrue
  243. then
  244. JANSSON_LIBS="compat/jansson/libjansson.a"
  245. else
  246. JANSSON_LIBS=-ljansson
  247. fi
  248. dnl Find YASM
  249. has_yasm=false
  250. AC_PATH_PROG([YASM],[yasm],[false])
  251. if test "x$YASM" != "xfalse" ; then
  252. AC_MSG_CHECKING([if yasm version is greater than 1.0.1])
  253. yasmver=`yasm --version | head -1 | cut -d\ -f2`
  254. yamajor=`echo $yasmver | cut -d. -f1`
  255. yaminor=`echo $yasmver | cut -d. -f2`
  256. yamini=`echo $yasmver | cut -d. -f3`
  257. if test "$yamajor" -ge "1" ; then
  258. if test "$yamajor" -eq "1" ; then
  259. if test "$yaminor" -ge "0" ; then
  260. if test "$yaminor" -eq "0"; then
  261. if test "$yamini" -ge "1"; then
  262. has_yasm=true
  263. fi
  264. else
  265. has_yasm=true
  266. fi
  267. fi
  268. fi
  269. else
  270. has_yasm=false
  271. fi
  272. if test "x$has_yasm" = "xtrue" ; then
  273. AC_MSG_RESULT([yes])
  274. else
  275. AC_MSG_RESULT([no])
  276. fi
  277. fi
  278. if test "x$has_yasm" = "xfalse" ; then
  279. AC_MSG_NOTICE([yasm is required for the assembly algorithms. They will be skipped.])
  280. fi
  281. AM_CONDITIONAL([HAS_YASM], [test x$has_yasm = xtrue])
  282. if test "x$bitforce$modminer" != xnono; then
  283. AC_ARG_WITH([libudev], [AC_HELP_STRING([--without-libudev], [Autodetect FPGAs using libudev (default enabled)])],
  284. [libudev=$withval],
  285. [libudev=auto]
  286. )
  287. if test "x$libudev" != "xno"; then
  288. AC_CHECK_HEADER([libudev.h],[
  289. libudev=yes
  290. UDEV_LIBS=-ludev
  291. AC_DEFINE([HAVE_LIBUDEV], [1], [Defined to 1 if libudev is wanted])
  292. ], [
  293. if test "x$libudev" = "xyes"; then
  294. AC_MSG_ERROR([libudev not found])
  295. fi
  296. libudev=no
  297. ])
  298. fi
  299. fi
  300. AM_CONDITIONAL([HAVE_LIBUDEV], [test x$libudev != xno])
  301. if test "x$ztex" != xno; then
  302. AC_CHECK_LIB(usb-1.0, libusb_init, ,
  303. AC_MSG_ERROR([Could not find usb library - please install libusb]))
  304. AC_DEFINE([HAVE_LIBUSB], [1], [Defined to 1 if libusb is wanted])
  305. USB_LIBS="-lusb-1.0"
  306. USB_FLAGS=""
  307. fi
  308. PKG_PROG_PKG_CONFIG()
  309. PKG_CHECK_MODULES([LIBCURL], [libcurl >= 7.18.2], ,[AC_MSG_ERROR([Missing required libcurl dev >= 7.18.2])])
  310. AC_SUBST(LIBCURL_LIBS)
  311. dnl CCAN wants to know a lot of vars.
  312. # All the configuration checks. Regrettably, the __attribute__ checks will
  313. # give false positives on old GCCs, since they just cause warnings. But that's
  314. # fairly harmless.
  315. AC_COMPILE_IFELSE([AC_LANG_SOURCE([static void __attribute__((cold)) cleanup(void) { }])],
  316. AC_DEFINE([HAVE_ATTRIBUTE_COLD], [1],
  317. [Define if __attribute__((cold))]))
  318. AC_COMPILE_IFELSE([AC_LANG_SOURCE([static void __attribute__((const)) cleanup(void) { }])],
  319. AC_DEFINE([HAVE_ATTRIBUTE_CONST], [1],
  320. [Define if __attribute__((const))]))
  321. AC_COMPILE_IFELSE([AC_LANG_SOURCE([static void __attribute__((noreturn)) cleanup(void) { exit(1); }])],
  322. AC_DEFINE([HAVE_ATTRIBUTE_NORETURN], [1],
  323. [Define if __attribute__((noreturn))]))
  324. AC_COMPILE_IFELSE([AC_LANG_SOURCE([static void __attribute__((format(__printf__, 1, 2))) cleanup(const char *fmt, ...) { }])],
  325. AC_DEFINE([HAVE_ATTRIBUTE_PRINTF], [1],
  326. [Define if __attribute__((format(__printf__)))]))
  327. AC_COMPILE_IFELSE([AC_LANG_SOURCE([static void __attribute__((unused)) cleanup(void) { }])],
  328. AC_DEFINE([HAVE_ATTRIBUTE_UNUSED], [1],
  329. [Define if __attribute__((unused))]))
  330. AC_COMPILE_IFELSE([AC_LANG_SOURCE([static void __attribute__((used)) cleanup(void) { }])],
  331. AC_DEFINE([HAVE_ATTRIBUTE_USED], [1],
  332. [Define if __attribute__((used))]))
  333. AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void) { return __builtin_constant_p(1) ? 0 : 1; }])],
  334. AC_DEFINE([HAVE_BUILTIN_CONSTANT_P], [1],
  335. [Define if have __builtin_constant_p]))
  336. AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void) { return __builtin_types_compatible_p(char *, int) ? 1 : 0; }])],
  337. AC_DEFINE([HAVE_BUILTIN_TYPES_COMPATIBLE_P], [1],
  338. [Define if have __builtin_types_compatible_p]))
  339. AC_COMPILE_IFELSE([AC_LANG_SOURCE([static int __attribute__((warn_unused_result)) func(int x) { return x; }])],
  340. AC_DEFINE([HAVE_WARN_UNUSED_RESULT], [1],
  341. [Define if __attribute__((warn_unused_result))]))
  342. if test "x$prefix" = xNONE; then
  343. prefix=/usr/local
  344. fi
  345. AC_DEFINE_UNQUOTED([CGMINER_PREFIX], ["$prefix/bin"], [Path to cgminer install])
  346. AC_DEFINE_UNQUOTED([PHATK_KERNNAME], ["phatk121016"], [Filename for phatk kernel])
  347. AC_DEFINE_UNQUOTED([POCLBM_KERNNAME], ["poclbm121016"], [Filename for poclbm kernel])
  348. AC_DEFINE_UNQUOTED([DIAKGCN_KERNNAME], ["diakgcn121016"], [Filename for diakgcn kernel])
  349. AC_DEFINE_UNQUOTED([DIABLO_KERNNAME], ["diablo121016"], [Filename for diablo kernel])
  350. AC_DEFINE_UNQUOTED([SCRYPT_KERNNAME], ["scrypt121016"], [Filename for scrypt kernel])
  351. AC_SUBST(OPENCL_LIBS)
  352. AC_SUBST(OPENCL_FLAGS)
  353. AC_SUBST(JANSSON_LIBS)
  354. AC_SUBST(PTHREAD_FLAGS)
  355. AC_SUBST(DLOPEN_FLAGS)
  356. AC_SUBST(PTHREAD_LIBS)
  357. AC_SUBST(NCURSES_LIBS)
  358. AC_SUBST(PDCURSES_LIBS)
  359. AC_SUBST(WS2_LIBS)
  360. AC_SUBST(MATH_LIBS)
  361. AC_SUBST(UDEV_LIBS)
  362. AC_SUBST(USB_LIBS)
  363. AC_SUBST(USB_FLAGS)
  364. AC_CONFIG_FILES([
  365. Makefile
  366. compat/Makefile
  367. compat/jansson/Makefile
  368. x86_64/Makefile
  369. x86_32/Makefile
  370. ccan/Makefile
  371. lib/Makefile
  372. ])
  373. AC_OUTPUT
  374. echo
  375. echo
  376. echo
  377. echo "------------------------------------------------------------------------"
  378. echo "$PACKAGE $VERSION"
  379. echo "------------------------------------------------------------------------"
  380. echo
  381. echo
  382. echo "Configuration Options Summary:"
  383. echo
  384. echo " curses.TUI...........: $cursesmsg"
  385. if test "x$opencl" != xno; then
  386. if test $found_opencl = 1; then
  387. echo " OpenCL...............: FOUND. GPU mining support enabled"
  388. if test "x$scrypt" != xno; then
  389. echo " scrypt...............: Enabled"
  390. else
  391. echo " scrypt...............: Disabled"
  392. fi
  393. else
  394. echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED"
  395. if test "x$cpumining$bitforce$icarus$ztex$modminer" = xnonononono; then
  396. AC_MSG_ERROR([No mining configured in])
  397. fi
  398. echo " scrypt...............: Disabled (needs OpenCL)"
  399. fi
  400. else
  401. echo " OpenCL...............: Detection overrided. GPU mining support DISABLED"
  402. if test "x$cpumining$bitforce$icarus$ztex$modminer" = xnonononono; then
  403. AC_MSG_ERROR([No mining configured in])
  404. fi
  405. echo " scrypt...............: Disabled (needs OpenCL)"
  406. fi
  407. if test "x$adl" != xno; then
  408. if test x$have_adl = xtrue; then
  409. echo " ADL..................: SDK found, GPU monitoring support enabled"
  410. else
  411. echo " ADL..................: SDK NOT found, GPU monitoring support DISABLED"
  412. fi
  413. else
  414. echo " ADL..................: Detection overrided. GPU monitoring support DISABLED"
  415. fi
  416. echo
  417. if test "x$bitforce" = xyes; then
  418. echo " BitForce.FPGAs.......: Enabled"
  419. else
  420. echo " BitForce.FPGAs.......: Disabled"
  421. fi
  422. if test "x$icarus" = xyes; then
  423. echo " Icarus.FPGAs.........: Enabled"
  424. else
  425. echo " Icarus.FPGAs.........: Disabled"
  426. fi
  427. if test "x$modminer" = xyes; then
  428. echo " ModMiner.FPGAs.......: Enabled"
  429. else
  430. echo " ModMiner.FPGAs.......: Disabled"
  431. fi
  432. if test "x$ztex" = xyes; then
  433. echo " Ztex.FPGAs...........: Enabled"
  434. else
  435. echo " Ztex.FPGAs...........: Disabled"
  436. fi
  437. if test "x$bitforce$modminer" != xnono; then
  438. echo " libudev.detection....: $libudev"
  439. fi
  440. if test "x$cpumining" = xyes; then
  441. echo
  442. echo " CPU Mining...........: Enabled"
  443. echo " ASM.(for CPU mining).: $has_yasm"
  444. fi
  445. echo
  446. echo "Compilation............: make (or gmake)"
  447. echo " CPPFLAGS.............: $CPPFLAGS"
  448. echo " CFLAGS...............: $CFLAGS"
  449. echo " LDFLAGS..............: $LDFLAGS $PTHREAD_FLAGS $USB_FLAGS"
  450. echo " LDADD................: $DLOPEN_FLAGS $LIBCURL_LIBS $JANSSON_LIBS $PTHREAD_LIBS $OPENCL_LIBS $NCURSES_LIBS $PDCURSES_LIBS $WS2_LIBS $MATH_LIBS $UDEV_LIBS $USB_LIBS"
  451. echo
  452. echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
  453. echo " prefix...............: $prefix"
  454. echo