build: Add explicit option for cheese
https://bugzilla.gnome.org/show_bug.cgi?id=643263
This commit is contained in:
parent
88cf391846
commit
8c6024b967
1 changed files with 6 additions and 3 deletions
|
@ -158,10 +158,13 @@ fi
|
|||
AM_CONDITIONAL(BUILD_PRINTERS, [test x"$enable_cups" = x"yes"])
|
||||
|
||||
# Optional dependency for the user accounts panel
|
||||
PKG_CHECK_MODULES(CHEESE, gstreamer-0.10 cheese-gtk >= 2.29.90, have_cheese=yes, have_cheese=no)
|
||||
AC_ARG_WITH([cheese],
|
||||
AS_HELP_STRING([--with-cheese], [enable cheese webcam support]),,
|
||||
with_cheese=yes)
|
||||
|
||||
if test x$have_cheese = xyes ; then
|
||||
AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
|
||||
if test x"$with_cheese" != x"no" ; then
|
||||
PKG_CHECK_MODULES(CHEESE, gstreamer-0.10 cheese-gtk >= 2.29.90)
|
||||
AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
|
||||
fi
|
||||
|
||||
# This is a hard-dependency for the region and user-accounts panels
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue