configure.ac: Auto-enable vaapi recorder, but allow overrides

If libva is available and recent, we'll enable the vaapi recorder feature,
but it can also be forced on or off by --enable/disable-vaapi-recorder.
This commit is contained in:
Kristian Høgsberg
2013-08-30 14:28:22 -07:00
parent 6aae4d39d5
commit 0eac34ab28
3 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ drm_backend_la_SOURCES = \
libbacklight.c \
libbacklight.h
if ENABLE_LIBVA
if ENABLE_VAAPI_RECORDER
drm_backend_la_SOURCES += vaapi-recorder.c
drm_backend_la_LIBADD += $(LIBVA_LIBS)
drm_backend_la_CFLAGS += $(LIBVA_CFLAGS)
+1 -1
View File
@@ -2446,7 +2446,7 @@ planes_binding(struct weston_seat *seat, uint32_t time, uint32_t key, void *data
}
}
#ifdef HAVE_LIBVA
#ifdef BUILD_VAAPI_RECORDER
static void
recorder_frame_notify(struct wl_listener *listener, void *data)
{