summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-03 20:37:42 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-03 20:37:42 +0000
commit68188ac0c89407cb35a0f04f86ad44b0deb95bdb (patch)
tree0ddf76421ab114f162c5a113f65119a6662d6a54 /m4
parentf7cc32f78bf86c804a3f3ae7b8428a408092fbdf (diff)
downloadefl-68188ac0c89407cb35a0f04f86ad44b0deb95bdb.tar.gz
efl: merge eeze.
Changes also in this commit: * fix missing EAPI in symbols used by modules * removed old libudev and libmount support as agreed by discomfitor/zmike * replaced __UNUSED__ with EINA_UNUSED * fixed docs hierarchy SVN revision: 82100
Diffstat (limited to 'm4')
-rw-r--r--m4/efl.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/m4/efl.m4 b/m4/efl.m4
index 64a5ec7602..a891203e2e 100644
--- a/m4/efl.m4
+++ b/m4/efl.m4
@@ -105,6 +105,19 @@ m4_pushdef([DOWN], m4_translit([$3], [-A-Z], [_a-z]))dnl
m4_popdef([DOWN])
])
+dnl EFL_OPTIONAL_INTERNAL_DEPEND_PKG(EFL, VARIABLE, NAME)
+AC_DEFUN([EFL_OPTIONAL_INTERNAL_DEPEND_PKG],
+[
+m4_pushdef([DOWN], m4_translit([$3], [-A-Z], [_a-z]))dnl
+
+ have_[]m4_defn([DOWN])="no"
+ if test "x$2" = "xyes"; then
+ EFL_INTERNAL_DEPEND_PKG([$1], [$3])
+ fi
+
+m4_popdef([DOWN])
+])
+
dnl EFL_ADD_LIBS(PKG, LIBS)
dnl Add libraries that the EFL library will depend on
dnl See EFL_DEPEND_PKG() for pkg-config version.