|
@@ -258,11 +258,11 @@ if test "x$ac_cv_header_sys_mman_h" = "xyes"; then
|
|
|
AC_ARG_WITH([uio],
|
|
AC_ARG_WITH([uio],
|
|
|
[AC_HELP_STRING([--without-uio],[Compile support for PCI devices via Linux UIO interface (default enabled)])],
|
|
[AC_HELP_STRING([--without-uio],[Compile support for PCI devices via Linux UIO interface (default enabled)])],
|
|
|
[uio=$withval],
|
|
[uio=$withval],
|
|
|
- [uio=$ddyes])
|
|
|
|
|
|
|
+ [uio=yes])
|
|
|
AC_ARG_WITH([vfio],
|
|
AC_ARG_WITH([vfio],
|
|
|
[AC_HELP_STRING([--without-vfio],[Compile support for PCI devices via Linux VFIO interface (default enabled)])],
|
|
[AC_HELP_STRING([--without-vfio],[Compile support for PCI devices via Linux VFIO interface (default enabled)])],
|
|
|
[vfio=$withval],
|
|
[vfio=$withval],
|
|
|
- [vfio=$ddauto])
|
|
|
|
|
|
|
+ [vfio=auto])
|
|
|
if test "x$vfio" != "xno"; then
|
|
if test "x$vfio" != "xno"; then
|
|
|
AC_CHECK_HEADER([linux/vfio.h],[
|
|
AC_CHECK_HEADER([linux/vfio.h],[
|
|
|
vfio=yes
|
|
vfio=yes
|
|
@@ -377,12 +377,12 @@ AC_SUBST(JANSSON_CFLAGS)
|
|
|
AC_SUBST(JANSSON_LIBS)
|
|
AC_SUBST(JANSSON_LIBS)
|
|
|
|
|
|
|
|
if test "x$opencl" = xyes; then
|
|
if test "x$opencl" = xyes; then
|
|
|
- adl="$ddyes"
|
|
|
|
|
|
|
+ adl="yes"
|
|
|
|
|
|
|
|
driverlist="$driverlist opencl:sensors/with_sensors"
|
|
driverlist="$driverlist opencl:sensors/with_sensors"
|
|
|
AC_ARG_WITH([sensors],
|
|
AC_ARG_WITH([sensors],
|
|
|
[AC_HELP_STRING([--without-sensors],[Build with libsensors monitoring (default enabled)])],
|
|
[AC_HELP_STRING([--without-sensors],[Build with libsensors monitoring (default enabled)])],
|
|
|
- [true],[with_sensors=$ddauto])
|
|
|
|
|
|
|
+ [true],[with_sensors=auto])
|
|
|
if test "x$opencl" != xyes; then
|
|
if test "x$opencl" != xyes; then
|
|
|
with_sensors=no
|
|
with_sensors=no
|
|
|
fi
|
|
fi
|