aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-03-06 10:03:21 +0000
committerChris Michael <cp.michael@samsung.com>2014-03-06 10:57:26 +0000
commite2357578d312713195dcc8d2d66614c3bae1db84 (patch)
tree9f68ffc179870643080ab64054a202984b0dd711 /configure.ac
parentecore-drm: Add package config file (diff)
downloadefl-e2357578d312713195dcc8d2d66614c3bae1db84.tar.gz
ecore-drm: Add configure.ac autofoo for ecore-drm
@feature: This adds necessary dependencies for ecore_drm library to build. Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac43
1 files changed, 42 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 75d7297508..16d9eee296 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2570,6 +2570,44 @@ EFL_EVAL_PKGS([ECORE_WAYLAND])
EFL_LIB_END_OPTIONAL([Ecore_Wayland])
#### End of Ecore_Wayland
+#### Ecore_Drm
+EFL_LIB_START_OPTIONAL([Ecore_Drm], [test "${want_drm}" = "yes"])
+
+### Additional options to configure
+SUID_CFLAGS=-fPIE
+SUID_LDFLAGS=-pie
+AC_SUBST([SUID_CFLAGS])
+AC_SUBST([SUID_LDFLAGS])
+
+### Default values
+
+### Checks for programs
+
+### Checks for libraries
+EFL_INTERNAL_DEPEND_PKG([ECORE_DRM], [ecore])
+EFL_INTERNAL_DEPEND_PKG([ECORE_DRM], [ecore-input])
+EFL_INTERNAL_DEPEND_PKG([ECORE_DRM], [eo])
+EFL_INTERNAL_DEPEND_PKG([ECORE_DRM], [eina])
+
+EFL_DEPEND_PKG([ECORE_DRM], [DRM], [libudev >= 148 libdrm >= 2.4])
+
+EFL_EVAL_PKGS([ECORE_DRM])
+
+### Checks for header files
+
+### Checks for types
+
+### Checks for structures
+
+### Checks for compiler characteristics
+
+### Checks for linker characteristics
+
+### Checks for library functions
+
+EFL_LIB_END_OPTIONAL([Ecore_Drm])
+#### End of Ecore_Drm
+
#### Ecore_Audio
@@ -3399,7 +3437,9 @@ AM_CONDITIONAL([BUILD_ECORE_EVAS_SDL],
ECORE_EVAS_MODULE([wayland-shm], [${want_wayland}])
ECORE_EVAS_MODULE([wayland-egl], [${want_ecore_evas_wayland_egl}])
-ECORE_EVAS_MODULE([drm], [${want_drm}])
+ECORE_EVAS_MODULE([drm], [${want_drm}],
+ [ EFL_INTERNAL_DEPEND_PKG([ECORE_EVAS], [ecore-drm]) ]
+)
build_ecore_evas_wayland="no"
if test "x${have_ecore_evas_wayland_shm}" = "xyes" || \
@@ -4037,6 +4077,7 @@ pc/ecore-file.pc
pc/ecore-input.pc
pc/ecore-input-evas.pc
pc/ecore-cocoa.pc
+pc/ecore-drm.pc
pc/ecore-fb.pc
pc/ecore-psl1ght.pc
pc/ecore-sdl.pc