mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
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 <brianp@vmware.com> Tested-by: Brian Paul <brianp@vmware.com> Fixes:ce562f9e3f("EGL: Implement the libglvnd interface for EGL (v3)") Signed-off-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit179e21a720)
This commit is contained in:
parent
99da9dfd95
commit
3d40db7892
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue