summaryrefslogtreecommitdiff
path: root/m4/ecore_check_module.m4
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-04-01 16:17:35 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-04-08 16:01:07 -0700
commit5505a262e2a391cb261a4f2a9af78421ba331720 (patch)
treef2f3c74a0002ef6f6475b90bf8dfc5ff220d8c3e /m4/ecore_check_module.m4
parentb6f87499e1759f4592240dcc2c89eba127507771 (diff)
ecore_evas: make it easier to have custom dependencies per module.
Diffstat (limited to '')
-rw-r--r--m4/ecore_check_module.m412
1 files changed, 7 insertions, 5 deletions
diff --git a/m4/ecore_check_module.m4 b/m4/ecore_check_module.m4
index c34a342899..8fdec9bdc4 100644
--- a/m4/ecore_check_module.m4
+++ b/m4/ecore_check_module.m4
@@ -16,11 +16,13 @@ if test "x$want_module" = "xyes" || test "x$want_module" = "xstatic"; then
16 AC_DEFINE([BUILD_ECORE_EVAS_]m4_defn([UP]), [1], [Support for $1 Engine in Ecore_Evas]) 16 AC_DEFINE([BUILD_ECORE_EVAS_]m4_defn([UP]), [1], [Support for $1 Engine in Ecore_Evas])
17 have_ecore_evas_[]m4_defn([DOWN])="yes" 17 have_ecore_evas_[]m4_defn([DOWN])="yes"
18 18
19 if test "x$1" = "xgl-drm"; then 19 case "$1" in
20 PKG_CHECK_MODULES([GBM], [gbm]) 20 xgl-drm)
21 ecore_evas_engines_[]m4_defn([DOWN])[]_cflags="${GBM_CFLAGS}" 21 PKG_CHECK_MODULES([GBM], [gbm])
22 ecore_evas_engines_[]m4_defn([DOWN])[]_libs="${GBM_LIBS}" 22 ecore_evas_engines_[]m4_defn([DOWN])[]_cflags="${GBM_CFLAGS}"
23 fi 23 ecore_evas_engines_[]m4_defn([DOWN])[]_libs="${GBM_LIBS}"
24 ;;
25 esac
24fi 26fi
25 27
26AC_SUBST([ecore_evas_engines_]m4_defn([DOWN])[_cflags]) 28AC_SUBST([ecore_evas_engines_]m4_defn([DOWN])[_cflags])