Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 250079 | Differences between
and this patch

Collapse All | Expand All

(-)gst-plugins-good-0.10.11-fedora/configure.ac (-1 / +15 lines)
Lines 550-557 Link Here
550
  fi
550
  fi
551
])
551
])
552
552
553
# Make libv4l2 non-automagic
554
AC_ARG_WITH([libv4l2],
555
  AC_HELP_STRING([--with-libv4l2],
556
    [support video buffer conversion using libv4l2]),
557
  [],
558
  [with_libv4l2=check])
553
if test x$HAVE_GST_V4L2 = xyes; then
559
if test x$HAVE_GST_V4L2 = xyes; then
554
  PKG_CHECK_MODULES(LIBV4L2, libv4l2, [have_libv4l2=yes], [have_libv4l2=no])
560
  if test x$with_libv4l2 != xno; then
561
    PKG_CHECK_MODULES(LIBV4L2, libv4l2, [have_libv4l2=yes],
562
      [if test x$with_libv4l2 = xyes; then
563
         AC_MSG_FAILURE([--with-libv4l2 was given, but libv4l2 was not found])
564
       fi
565
       have_libv4l2=no])
566
  else
567
    have_libv4l2=no
568
  fi
555
  AC_DEFINE([HAVE_LIBV4L2], test x$have_libv4l2 = xyes,
569
  AC_DEFINE([HAVE_LIBV4L2], test x$have_libv4l2 = xyes,
556
	    [Whether libv4l2 is available for video buffer conversion])
570
	    [Whether libv4l2 is available for video buffer conversion])
557
fi
571
fi

Return to bug 250079