Browse Source

Bugfix: configure: --with[out]-vfio needs $withval, not $enableval

Luke Dashjr 11 years ago
parent
commit
da49dd9678
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -261,7 +261,7 @@ if test "x$ac_cv_header_sys_mman_h" = "xyes"; then
 		[uio=$ddyes])
 	AC_ARG_WITH([vfio],
 		[AC_HELP_STRING([--without-vfio],[Compile support for PCI devices via Linux VFIO interface (default enabled)])],
-		[vfio=$enableval],
+		[vfio=$withval],
 		[vfio=$ddauto])
 	if test "x$vfio" != "xno"; then
 		AC_CHECK_HEADER([linux/vfio.h],[