summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-04 23:51:53 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-04 23:51:53 +0000
commit4a358617914f80232d6b7d0bfbdec6c018207e08 (patch)
tree68b1a7f54b29cc918c3b38cfa113de336b2fbcad /configure.ac
parent49152f6982bbe427d1430bb3ed108effc7f73757 (diff)
efl/ecore: hopefully fix all examples.
SVN revision: 82243
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f6a0a29f12..7182408323 100644
--- a/configure.ac
+++ b/configure.ac
@@ -363,6 +363,8 @@ case "$build_crypto" in
363 EFL_DEPEND_PKG([crypto], [OPENSSL], [openssl]) 363 EFL_DEPEND_PKG([crypto], [OPENSSL], [openssl])
364 ;; 364 ;;
365esac 365esac
366AM_CONDITIONAL([HAVE_CRYPTO_GNUTLS], [test "${build_crypto}" = "gnutls"])
367AM_CONDITIONAL([HAVE_CRYPTO_OPENSSL], [test "${build_crypto}" = "openssl"])
366 368
367#### Checks for header files 369#### Checks for header files
368 370
@@ -1743,6 +1745,22 @@ AC_ARG_ENABLE([g-main-loop],
1743 ], 1745 ],
1744 [want_g_main_loop="no"]) 1746 [want_g_main_loop="no"])
1745 1747
1748AC_ARG_ENABLE([gstreamer],
1749 [AC_HELP_STRING([--disable-gstreamer],
1750 [disable gstreamer support. @<:@default=enabled@:>@])],
1751 [
1752 if test "x${withval}" = "xyes" ; then
1753 want_gstreamer="yes"
1754 else
1755 if test "x${withval}" = "xalways" ; then
1756 want_gstreamer="always"
1757 else
1758 want_gstreamer="no"
1759 fi
1760 fi
1761 ],
1762 [want_gstreamer="yes"])
1763
1746### Default values 1764### Default values
1747 1765
1748if test "${have_windows}" = "yes"; then 1766if test "${have_windows}" = "yes"; then
@@ -1786,6 +1804,12 @@ if test "x${want_g_main_loop}" = "xyes" ; then
1786 AC_DEFINE([USE_G_MAIN_LOOP], [1], [Use g_main_loop in ecore]) 1804 AC_DEFINE([USE_G_MAIN_LOOP], [1], [Use g_main_loop in ecore])
1787fi 1805fi
1788 1806
1807# not EFL_OPTIONAL_DEPEND_PKG() because it's only used for ecore examples
1808if test "${want_gstreamer}" = "yes"; then
1809 PKG_CHECK_MODULES([GSTREAMER], [gstreamer-0.10])
1810fi
1811AM_CONDITIONAL([HAVE_GSTREAMER], [test "${want_gstreamer}" = "yes"])
1812
1789EFL_EVAL_PKGS([ECORE]) 1813EFL_EVAL_PKGS([ECORE])
1790 1814
1791EFL_ADD_LIBS([ECORE], [${platform_libs}]) 1815EFL_ADD_LIBS([ECORE], [${platform_libs}])