aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2016-05-21 22:29:38 +0200
committerBoris Faure <billiob@gmail.com>2016-05-21 22:29:38 +0200
commitbd769a926b4dfe86cea68f9dbe3bf48992ed8d11 (patch)
tree940144cac5fc5fc6d703ea622baa3f051bec4bd8 /configure.ac
parentupgrade to teamwork v2, remove dbus (v1) usage (diff)
downloadterminology-bd769a926b4dfe86cea68f9dbe3bf48992ed8d11.tar.gz
configure.ac: actually look for elm_win_teamwork_show() to know if available
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac22
1 files changed, 21 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b97ab3d..0c86801 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,10 +89,10 @@ PKG_CHECK_MODULES([TERMINOLOGY], [${requirements}])
AC_CHECK_FUNCS(mkstemps)
-AC_MSG_CHECKING([for ecore_con_url_head])
orig_cflags=$CFLAGS
CFLAGS+=" $TERMINOLOGY_CFLAGS "
LDFLAGS+=" $TERMINOLOGY_LDFLAGS $TERMINOLOGY_LIBS "
+AC_MSG_CHECKING([for ecore_con_url_head])
AC_LINK_IFELSE(
[
AC_LANG_PROGRAM(
@@ -111,6 +111,26 @@ AC_LINK_IFELSE(
AC_MSG_RESULT([no])
]
)
+AC_MSG_CHECKING([for elm_win_teamwork])
+AC_LINK_IFELSE(
+ [
+ AC_LANG_PROGRAM(
+ [[
+ #include <Elementary.h>
+ ]],
+ [[
+ elm_win_teamwork_uri_show(NULL);
+ ]])
+ ],
+ [
+ AC_MSG_RESULT([yes])
+ AC_DEFINE([HAVE_ELM_WIN_TEAMWORK], [1], [define to 1 if
+ elm_win_teamwork_uri_show is available])
+ ],
+ [
+ AC_MSG_RESULT([no])
+ ]
+)
CFLAGS=$orig_cflags
EFL_WITH_BIN([edje], [edje-cc], [edje_cc])