summaryrefslogtreecommitdiff
path: root/legacy/elementary/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
commitd20639dde2cb7ae72436b7fd6f74236085e5667d (patch)
treeb3568ae23fb4c5bf6576babb8c5e310e361b132c /legacy/elementary/configure.ac
parentc30abbba25caeb8f447f2d2802bd890a3c44fb87 (diff)
Elementary : add an option to disable video support (enabled by default)
SVN revision: 61393
Diffstat (limited to 'legacy/elementary/configure.ac')
-rw-r--r--legacy/elementary/configure.ac10
1 files changed, 9 insertions, 1 deletions
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],
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