Re: [Mesa-dev] [PATCH] configure.ac: invert order for wayland-scanner check

2016-11-18 Thread Emil Velikov
Hi Gustavo, On 17 November 2016 at 18:57, Gustavo Zacarias wrote: > When cross-compiling the .pc file might point to the wrong > wayland-scanner binary (target rather than host) resulting in a > non-executable and wrong scanner. > Try searching the PATH first, and if that fails fall back into > p

[Mesa-dev] [PATCH] configure.ac: invert order for wayland-scanner check

2016-11-17 Thread Gustavo Zacarias
When cross-compiling the .pc file might point to the wrong wayland-scanner binary (target rather than host) resulting in a non-executable and wrong scanner. Try searching the PATH first, and if that fails fall back into pkg-config. Signed-off-by: Gustavo Zacarias --- configure.ac | 8 1