From e2357578d312713195dcc8d2d66614c3bae1db84 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 6 Mar 2014 10:03:21 +0000 Subject: [PATCH] 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 --- configure.ac | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) 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 -- 2.34.1