[Mesa-dev] [PATCH] configure.ac: manually expand PKG_CHECK_VAR

Emil Velikov emil.l.velikov at gmail.com
Wed Apr 19 11:18:56 UTC 2017


On 18 April 2017 at 15:46, Brian Paul <brianp at vmware.com> wrote:
> On 04/18/2017 04:43 AM, Emil Velikov wrote:
>>
>> From: Emil Velikov <emil.velikov at collabora.com>
>>
>> The macro is introduced with pkgconfig v0.28 which isn't universally
>> available. Thus it will error at configure stage.
>>
>> Cc: Brian Paul <brianp at vmware.com>
>> Reported-by: Brian Paul <brianp at vmware.com>
>> Fixes: ce562f9e3fa ("EGL: Implement the libglvnd interface for EGL (v3)")
>> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
>> ---
>> Pardon about that one Brian. I should have fixed this, considering I saw
>> the reverts flying by.
>> ---
>>   configure.ac | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index e18f12f0b95..e1c60d842b5 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -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"
>>
>
> Tested-by: Brian Paul <brianp at vmware.com>
>
Perfect - I'll push this in a second.

Can i interest you in the website (Sphinx edition) thread.
https://lists.freedesktop.org/archives/mesa-dev/2017-April/150957.html

Thanks
Emil


More information about the mesa-dev mailing list