summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-07-15 06:06:03 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-07-15 06:06:03 +0000
commitb2a4469770dff08095f617f71e0269d6ca4b3270 (patch)
tree7549b0aa99ed5b888c8bd0bd848391ca13c8aedd /configure.ac
parent21443f277b420245854414f209d01fdcc2b370d3 (diff)
Elementary : add an option to disable video support (enabled by default)
SVN revision: 61393
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5b774b92b..e3c60fa5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -238,7 +238,14 @@ PKG_CHECK_MODULES([EIO],
238 238
239AM_CONDITIONAL([HAVE_EIO], [test "x${have_eio}" = "xyes"]) 239AM_CONDITIONAL([HAVE_EIO], [test "x${have_eio}" = "xyes"])
240 240
241PKG_CHECK_MODULES([EMOTION], 241have_emotion="no"
242want_elementary_emotion="yes"
243AC_ARG_ENABLE([emotion],
244 [AC_HELP_STRING([--disable-emotion], [disable emotion support. @<:@default=enabled@:>@])],
245 [want_elementary_emotion=$enableval], [])
246
247if test "x$want_elementary_emotion" != "xno"; then
248 PKG_CHECK_MODULES([EMOTION],
242 [emotion], 249 [emotion],
243 [ 250 [
244 have_emotion="yes" 251 have_emotion="yes"
@@ -246,6 +253,7 @@ PKG_CHECK_MODULES([EMOTION],
246 requirement_elm="emotion ${requirement_elm}" 253 requirement_elm="emotion ${requirement_elm}"
247 ], 254 ],
248 [have_emotion="no"]) 255 [have_emotion="no"])
256fi
249 257
250AM_CONDITIONAL([HAVE_EMOTION], [test "x${have_emotion}" = "xyes"]) 258AM_CONDITIONAL([HAVE_EMOTION], [test "x${have_emotion}" = "xyes"])
251 259