From 1b3526682be67451e06d2aa6c1544947662715a6 Mon Sep 17 00:00:00 2001 From: Alain VOLMAT Date: Tue, 19 Nov 2013 14:28:27 +0100 Subject: [PATCH] buildsystem: Fix configure.ac --disable-v4l-utils option 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 Signed-off-by: Gregor Jasny --- 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]) -- 2.7.4