configure: Detect the toolchain's sdl-config tool
authorPaul Cercueil <paul@crapouillou.net>
Fri, 29 Apr 2016 20:06:36 +0000 (22:06 +0200)
committernotaz <notasas@gmail.com>
Sat, 21 Oct 2023 21:17:12 +0000 (00:17 +0300)
commitebefdeefeeefd0dc1ab0e34ae63ceb164abab9f4
tree8603f0337602110b251ba5a587fc28cbb9aeffbb
parent0f8319d1c87a264e2387699cdc20e4a041d54c0f
configure: Detect the toolchain's sdl-config tool

Instead of calling the host's sdl-config, which doesn't work when
cross-compiling, call the sdl-config program that's installed in the
compiler's sysroot.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
configure