Commit e26f0ac1312be8c1faa1e16b29d58ade03fa1ea3

Con Kolivas 2012-03-28T04:22:03

Merge pull request #154 from luke-jr/bugfix_withval Bugfix: AC_ARG_WITH provides withval instead of enableval

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/configure.ac b/configure.ac
index a5e4d35..7b574aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -261,8 +261,8 @@ fi
 AM_CONDITIONAL([HAS_YASM], [test x$has_yasm = xtrue])
 
 if test "x$bitforce" != xno; then
-	AC_ARG_WITH([libudev], [AC_HELP_STRING([--with-libudev], [Autodetect FPGAs using libudev])],
-		[libudev=$enableval],
+	AC_ARG_WITH([libudev], [AC_HELP_STRING([--without-libudev], [Autodetect FPGAs using libudev (default enabled)])],
+		[libudev=$withval],
 		[libudev=auto]
 		)
 	if test "x$libudev" != "xno"; then