mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Bugfix: AC_ARG_WITH provides withval instead of enableval
This commit is contained in:
parent
97ab111ec9
commit
2295d6b1d8
@ -261,8 +261,8 @@ fi
|
|||||||
AM_CONDITIONAL([HAS_YASM], [test x$has_yasm = xtrue])
|
AM_CONDITIONAL([HAS_YASM], [test x$has_yasm = xtrue])
|
||||||
|
|
||||||
if test "x$bitforce" != xno; then
|
if test "x$bitforce" != xno; then
|
||||||
AC_ARG_WITH([libudev], [AC_HELP_STRING([--with-libudev], [Autodetect FPGAs using libudev])],
|
AC_ARG_WITH([libudev], [AC_HELP_STRING([--without-libudev], [Autodetect FPGAs using libudev (default enabled)])],
|
||||||
[libudev=$enableval],
|
[libudev=$withval],
|
||||||
[libudev=auto]
|
[libudev=auto]
|
||||||
)
|
)
|
||||||
if test "x$libudev" != "xno"; then
|
if test "x$libudev" != "xno"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user