Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <tester@tester.ca>2014-03-17 07:46:22 +0400
committerOlivier CrĂȘte <tester@tester.ca>2014-03-17 07:46:22 +0400
commit759ea920e01857966358a36f06f5c47a6ca54627 (patch)
tree84384f8752068e6727c7f21c9ed5b4e1ba1f693c /configure.ac
parent8096d82fd1b52be9853703cd771c75db20a60230 (diff)
configure: Don't check for gudev if video4linux2 is not present
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 8 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 282f511fd..7b754d104 100644
--- a/configure.ac
+++ b/configure.ac
@@ -518,12 +518,14 @@ AC_ARG_WITH([gudev],
AS_HELP_STRING([--with-gudev],[device detection with gudev]),
[],
[with_gudev=check])
-if test x$with_gudev != xno; then
- PKG_CHECK_MODULES(GUDEV, [ gudev-1.0 >= 147 ],
- [ AC_DEFINE(HAVE_GUDEV, 1,
- [Whether gudev is available for device detection])
- ],
- [true])
+if test x$HAVE_GST_V4L2 = xyes; then
+ if test x$with_gudev != xno; then
+ PKG_CHECK_MODULES(GUDEV, [ gudev-1.0 >= 147 ],
+ [ AC_DEFINE(HAVE_GUDEV, 1,
+ [Whether gudev is available for device detection])
+ ],
+ [true])
+ fi
fi
AC_SUBST(GUDEV_CFLAGS)