[PATCH wayland] scanner: Add autoconf macro to check for the proper scanner

Daniel Stone daniel at fooishbar.org
Mon Dec 4 21:47:10 UTC 2017


Jussi, Tomek, Emil,

On 18 August 2017 at 10:36, Quentin Glidic
<sardemff7+wayland at sardemff7.net> wrote:
> On 8/18/17 11:30 AM, Quentin Glidic wrote:
>> Projects have been using various ways to check for the wayland-scanner,
>> mostly based on their developper own use case, and often not allowing
>> others use cases to work without a workaround.
>>
>> Hopefully this macro will support all use cases without needing user
>> action.
>>
>> Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
>> ---
>>
>> Everyone should test this macro for their own project and use cases.
>> Using the ${WAYLAND_SCANNER} variable should just work (assuming you have
>> the proper
>> wayland package built in the expected env). In very very rare cases,
>> setting the
>> WAYLAND_SCANNER variable as a ./configure argument may be needed, but
>> nothing else.
>>
>> Please let me know with enough details if your use case is not working
>> with it.

Any comments on Quentin's suggestion here? Would they be enough for you?

Cheers,
Daniel


More information about the wayland-devel mailing list