From d20639dde2cb7ae72436b7fd6f74236085e5667d Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Fri, 15 Jul 2011 06:06:03 +0000 Subject: [PATCH] Elementary : add an option to disable video support (enabled by default) SVN revision: 61393 --- legacy/elementary/configure.ac | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac index 5b774b92be..e3c60fa5ff 100644 --- a/legacy/elementary/configure.ac +++ b/legacy/elementary/configure.ac @@ -238,7 +238,14 @@ PKG_CHECK_MODULES([EIO], AM_CONDITIONAL([HAVE_EIO], [test "x${have_eio}" = "xyes"]) -PKG_CHECK_MODULES([EMOTION], +have_emotion="no" +want_elementary_emotion="yes" +AC_ARG_ENABLE([emotion], + [AC_HELP_STRING([--disable-emotion], [disable emotion support. @<:@default=enabled@:>@])], + [want_elementary_emotion=$enableval], []) + +if test "x$want_elementary_emotion" != "xno"; then + PKG_CHECK_MODULES([EMOTION], [emotion], [ have_emotion="yes" @@ -246,6 +253,7 @@ PKG_CHECK_MODULES([EMOTION], requirement_elm="emotion ${requirement_elm}" ], [have_emotion="no"]) +fi AM_CONDITIONAL([HAVE_EMOTION], [test "x${have_emotion}" = "xyes"])