configure: error out if cheese is configured but not enabled
This commit is contained in:
parent
1b7ce6ee5a
commit
95b4771bc5
1 changed files with 3 additions and 0 deletions
|
@ -168,6 +168,9 @@ if test x"$with_cheese" != x"no" ; then
|
||||||
if test x${have_cheese} = xyes; then
|
if test x${have_cheese} = xyes; then
|
||||||
AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
|
AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
|
||||||
fi
|
fi
|
||||||
|
if test x${with_cheese} = xyes && test x${have_cheese} = xno; then
|
||||||
|
AC_MSG_ERROR([Cheese configured but not found])
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# This is a hard-dependency for the region and user-accounts panels
|
# This is a hard-dependency for the region and user-accounts panels
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue