aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain VOLMAT <alain.volmat@st.com>2013-11-19 13:28:27 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2014-01-13 19:53:34 (GMT)
commit00fdc27e2c2b825e2245a0063040ace6dc2a29aa (patch)
tree3c9de0e16c0d67b6af6ad213118c923f41b7c4f2
parent92995faa431fdd247d55b982898a70aa3a339874 (diff)
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 <alain.volmat@st.com> Signed-off-by: Gregor Jasny <gjasny@googlemail.com> (cherry picked from commit 1b3526682be67451e06d2aa6c1544947662715a6)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 37634cd..6881914 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,7 +235,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])

Privacy Policy