Commit 8930e1d5 authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

configure: Define GLAMOR_HAS_EGL_QUERY_DRIVER when available

Commit 195c2ef8 added this to the Meson
build but neglected to add it to autotools.

Fixes: 195c2ef8 ("glamor: Add a function to get the driver name via EGL_MESA_query_driver")
parent 49456e0a
Pipeline #96842 passed with stages
in 8 minutes and 1 second
......@@ -2039,6 +2039,10 @@ if test "x$GLAMOR" = xyes; then
[AC_DEFINE(GLAMOR_HAS_EGL_QUERY_DMABUF, 1, [Have GLAMOR_HAS_EGL_QUERY_DMABUF])],
[])
PKG_CHECK_EXISTS(epoxy >= 1.5.4,
[AC_DEFINE(GLAMOR_HAS_EGL_QUERY_DRIVER, 1, [Have GLAMOR_HAS_EGL_QUERY_DRIVER])],
[])
PKG_CHECK_MODULES(GBM, "$LIBGBM", [GBM=yes], [GBM=no])
if test "x$GBM" = xyes; then
AC_DEFINE(GLAMOR_HAS_GBM, 1,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment