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>
Fri, 29 Jul 2022 20:48:40 +0000 (23:48 +0300)
commit3d037671fa024a16ea55f029b5c83cca8021f9ea
treebd2dea7f17fc7dd060259465548e208e4048d4ff
parent20773741ad8db44d4f8caf2332f1350a2ad80c50
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