From 95b4771bc5e657a0af0220b3bfc6dd41b95e3407 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 3 Mar 2011 14:41:53 -0500 Subject: [PATCH] configure: error out if cheese is configured but not enabled --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 2f3d99337..67cb960ad 100644 --- a/configure.ac +++ b/configure.ac @@ -168,6 +168,9 @@ if test x"$with_cheese" != x"no" ; then if test x${have_cheese} = xyes; then AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support]) fi + if test x${with_cheese} = xyes && test x${have_cheese} = xno; then + AC_MSG_ERROR([Cheese configured but not found]) + fi fi # This is a hard-dependency for the region and user-accounts panels