All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [v4l-utils] Fix configure.ac --disable-v4l-utils option
@ 2013-11-19 13:28 Alain VOLMAT
  2013-11-19 21:41 ` Gregor Jasny
  0 siblings, 1 reply; 2+ messages in thread
From: Alain VOLMAT @ 2013-11-19 13:28 UTC (permalink / raw)
  To: LMML


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>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [v4l-utils] Fix configure.ac --disable-v4l-utils option
  2013-11-19 13:28 [PATCH] [v4l-utils] Fix configure.ac --disable-v4l-utils option Alain VOLMAT
@ 2013-11-19 21:41 ` Gregor Jasny
  0 siblings, 0 replies; 2+ messages in thread
From: Gregor Jasny @ 2013-11-19 21:41 UTC (permalink / raw)
  To: Alain VOLMAT, LMML

On 19/11/13 14:28, Alain VOLMAT wrote:
>
> 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.

Applied, Thanks!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-19 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-19 13:28 [PATCH] [v4l-utils] Fix configure.ac --disable-v4l-utils option Alain VOLMAT
2013-11-19 21:41 ` Gregor Jasny

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.