From c87bc4e72547397731ac30d1f9a211bcfd5d21df Mon Sep 17 00:00:00 2001 From: caro Date: Fri, 15 Jul 2011 06:06:03 +0000 Subject: [PATCH] Elementary : add an option to disable video support (enabled by default) git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@61393 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 363ec94..943cba6 100755 --- a/configure.ac +++ b/configure.ac @@ -244,7 +244,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" @@ -252,6 +259,7 @@ PKG_CHECK_MODULES([EMOTION], requirement_elm="emotion ${requirement_elm}" ], [have_emotion="no"]) +fi AM_CONDITIONAL([HAVE_EMOTION], [test "x${have_emotion}" = "xyes"]) -- 2.7.4