aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-02-21 11:31:24 +0100
committerBoris Faure <billiob@gmail.com>2015-02-21 11:40:10 +0100
commit5d169ebd7186f8889a1de57b3c2cb4d9a2c4fc6c (patch)
tree8319455d9899899731be5be544d83dec4ee57126 /configure.ac
parentdo an HTTP HEAD to get media type when poping media (diff)
downloadterminology-5d169ebd7186f8889a1de57b3c2cb4d9a2c4fc6c.tar.gz
correctly check if ecore_con_url_head() is available
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac23
1 files changed, 23 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5b0d9d7..1d5367b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,29 @@ PKG_CHECK_MODULES([ELDBUS],
AC_CHECK_FUNCS(mkstemps)
+AC_MSG_CHECKING([for ecore_con_url_head])
+orig_cflags=$CFLAGS
+CFLAGS+=" $TERMINOLOGY_CFLAGS "
+AC_COMPILE_IFELSE(
+ [
+ AC_LANG_PROGRAM(
+ [[
+ #include <Ecore_Con.h>
+ ]],
+ [[
+ ecore_con_url_head(NULL);
+ ]])
+ ],
+ [
+ AC_MSG_RESULT([yes])
+ AC_DEFINE([HAVE_ECORE_CON_URL_HEAD], [1], [define to 1 if ecore_con_url_head is available])
+ ],
+ [
+ AC_MSG_RESULT([no])
+ ]
+)
+CFLAGS=$orig_cflags
+
EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
with_max_log_level="EINA_LOG_LEVEL_ERR"