aboutsummaryrefslogtreecommitdiffstats
path: root/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
parentelm_win: force opaque update on maximize state change (diff)
downloadefl-5505a262e2a391cb261a4f2a9af78421ba331720.tar.gz
ecore_evas: make it easier to have custom dependencies per module.
Diffstat (limited to 'm4')
-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
AC_DEFINE([BUILD_ECORE_EVAS_]m4_defn([UP]), [1], [Support for $1 Engine in Ecore_Evas])
have_ecore_evas_[]m4_defn([DOWN])="yes"
- if test "x$1" = "xgl-drm"; then
- PKG_CHECK_MODULES([GBM], [gbm])
- ecore_evas_engines_[]m4_defn([DOWN])[]_cflags="${GBM_CFLAGS}"
- ecore_evas_engines_[]m4_defn([DOWN])[]_libs="${GBM_LIBS}"
- fi
+ case "$1" in
+ xgl-drm)
+ PKG_CHECK_MODULES([GBM], [gbm])
+ ecore_evas_engines_[]m4_defn([DOWN])[]_cflags="${GBM_CFLAGS}"
+ ecore_evas_engines_[]m4_defn([DOWN])[]_libs="${GBM_LIBS}"
+ ;;
+ esac
fi
AC_SUBST([ecore_evas_engines_]m4_defn([DOWN])[_cflags])