mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
Bugfix: Check for libudev header (not just library) in configure, and document optional dependency
This commit is contained in:
parent
ae99714241
commit
3d9970d66f
2
README
2
README
@ -44,6 +44,8 @@ Dependencies:
|
|||||||
(This sdk is mandatory for GPU mining)
|
(This sdk is mandatory for GPU mining)
|
||||||
AMD ADL SDK http://developer.amd.com/sdks/ADLSDK
|
AMD ADL SDK http://developer.amd.com/sdks/ADLSDK
|
||||||
(This sdk is mandatory for ATI GPU monitoring & clocking)
|
(This sdk is mandatory for ATI GPU monitoring & clocking)
|
||||||
|
libudev headers
|
||||||
|
(This is only required for FPGA auto-detection)
|
||||||
|
|
||||||
CGMiner specific configuration options:
|
CGMiner specific configuration options:
|
||||||
--enable-cpumining Build with cpu mining support(default disabled)
|
--enable-cpumining Build with cpu mining support(default disabled)
|
||||||
|
@ -266,7 +266,7 @@ if test "x$bitforce" != xno; then
|
|||||||
[libudev=auto]
|
[libudev=auto]
|
||||||
)
|
)
|
||||||
if test "x$libudev" != "xno"; then
|
if test "x$libudev" != "xno"; then
|
||||||
AC_CHECK_LIB([udev], [udev_device_get_devnode], [
|
AC_CHECK_HEADER([libudev.h],[
|
||||||
libudev=yes
|
libudev=yes
|
||||||
UDEV_LIBS=-ludev
|
UDEV_LIBS=-ludev
|
||||||
AC_DEFINE([HAVE_LIBUDEV], [1], [Defined to 1 if libudev is wanted])
|
AC_DEFINE([HAVE_LIBUDEV], [1], [Defined to 1 if libudev is wanted])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user