Commit 179e21a7 authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov

configure.ac: manually expand PKG_CHECK_VAR

The macro is introduced with pkgconfig v0.28 which isn't universally
available. Thus it will error at configure stage.
Reported-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
Tested-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
Fixes: ce562f9e ("EGL: Implement the libglvnd interface for EGL (v3)")
Signed-off-by: 's avatarEmil Velikov <emil.velikov@collabora.com>
parent 1787a316
......@@ -1367,7 +1367,7 @@ if test "x$enable_libglvnd" = xyes ; then
esac
PKG_CHECK_MODULES([GLVND], libglvnd >= 0.2.0)
PKG_CHECK_VAR(LIBGLVND_DATADIR, libglvnd, datadir)
LIBGLVND_DATADIR=`$PKG_CONFIG --variable=datadir libglvnd`
AC_SUBST([LIBGLVND_DATADIR])
DEFINES="${DEFINES} -DUSE_LIBGLVND=1"
......
Markdown is supported
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