diff options
author | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-01-28 19:01:43 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-02-02 16:08:11 +0100 |
commit | 616c426032dcb8be5880138471079d857498f82e (patch) | |
tree | 898d3595496728c11a30d4bc8e2566ee1ef82cc8 | |
parent | ad8d17d53ade5381376549cee148f4f732583cfe (diff) | |
download | gst-vaapi-616c426032dcb8be5880138471079d857498f82e.tar.gz |
build: hard-code an unneeded macro
That macro is required for EGL's dynamic module loading, but since
gstreamer-vaapi doesn't creates dynamic modules, it is not required anymore.
That code in gst-libs/gst/vaapi/gstvaapidisplay_egl.c should be removed.
Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
-rw-r--r-- | configure.ac | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 6b13d299..17064869 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,6 @@ m4_define([default_glapi], [any]) # gstreamer-vaapi library (libtool) version number m4_define([gst_vaapi_lt_current], [7]) -m4_define([gst_vaapi_lt_current_bias], [7]) m4_define([gst_vaapi_lt_revision], [0]) m4_define([gst_vaapi_lt_age], [0]) @@ -245,10 +244,6 @@ if test "x$enable_egl" = "xyes" -a $HAVE_GSTGL -ne 1; then enable_egl="no" fi -GST_VAAPI_MAJOR_VERSION=`expr gst_vaapi_lt_current - gst_vaapi_lt_current_bias` -AC_DEFINE_UNQUOTED([GST_VAAPI_MAJOR_VERSION_S], ["$GST_VAAPI_MAJOR_VERSION"], - [Defined to the string representation of gstreamer-vaapi major version]) - dnl GST_ALL_LDFLAGS: dnl LDFLAGS really should only contain flags, not libs - they get added before dnl whatevertarget_LIBS and -L flags here affect the rest of the linking @@ -881,6 +876,10 @@ AC_DEFINE_UNQUOTED([USE_WAYLAND], [$USE_WAYLAND], [Defined to 1 if WAYLAND is enabled]) AM_CONDITIONAL([USE_WAYLAND], [test $USE_WAYLAND -eq 1]) +dnl @TODO hack for egl's dynamic module loading. remove it! +AC_DEFINE_UNQUOTED([GST_VAAPI_MAJOR_VERSION_S], ["0"], + [Defined to the string representation of gstreamer-vaapi major version]) + AC_CONFIG_FILES([ Makefile docs/Makefile |