When using AC_ARG_ENABLE with a string containing - in it, the variable created 
will contains a _ instead of the -.
Thus for AC_ARG_ENABLE(v4l-utils ..., the variable enable_v4l_utils must be 
checked.

Signed-off-by: Alain Volmat <[email protected]>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c9af1fd..4080d1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -249,7 +249,7 @@ AC_ARG_ENABLE(qv4l2,
 
 AM_CONDITIONAL([WITH_LIBDVBV5], [test x$enable_libdvbv5 = xyes])
 AM_CONDITIONAL([WITH_LIBV4L], [test x$enable_libv4l != xno])
-AM_CONDITIONAL([WITH_V4LUTILS], [test x$enable_v4lutils != xno])
+AM_CONDITIONAL([WITH_V4LUTILS], [test x$enable_v4l_utils != "xno"])
 AM_CONDITIONAL([WITH_QV4L2], [test ${qt_pkgconfig} = true -a x$enable_qv4l2 != 
xno])
 AM_CONDITIONAL([WITH_V4L_PLUGINS], [test x$enable_libv4l != xno -a 
x$enable_shared != xno])
 AM_CONDITIONAL([WITH_V4L_WRAPPERS], [test x$enable_libv4l != xno -a 
x$enable_shared != xno])
-- 
1.8.1.4

Reply via email to