forked from enlightenment/efl
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>
This commit is contained in:
parent
cf7cdd9a3b
commit
e2357578d3
43
configure.ac
43
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
|
||||
|
|
Loading…
Reference in New Issue