[gnome-control-center] configure: error out if cheese is configured but not enabled



commit 95b4771bc5e657a0af0220b3bfc6dd41b95e3407
Author: Colin Walters <walters verbum org>
Date:   Thu Mar 3 14:41:53 2011 -0500

    configure: error out if cheese is configured but not enabled

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2f3d993..67cb960 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]