Elementary : add an option to disable video support (enabled by default)

SVN revision: 61393
This commit is contained in:
Vincent Torri 2011-07-15 06:06:03 +00:00
parent c30abbba25
commit d20639dde2
1 changed files with 9 additions and 1 deletions

View File

@ -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"])