Check for sdl-config before calling it
authorLoïc Minier <lool@dooz.org>
Thu, 28 Jan 2010 21:15:18 +0000 (21:15 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 28 Jan 2010 21:15:18 +0000 (21:15 +0000)
commit3d54d65722fb8cb2b52edea7598b0b7643b1da3b
treec2852e05399ab2c6ab447e1cddcaa4bccfa81a1c
parentd8169d72776d9f72bfc502b143b094f59770ef1b
Check for sdl-config before calling it

Check whether sdl-config is available before calling it, otherwise
./configure triggers a warning:
    ./configure: 957: sdl-config: not found

If neither the .pc file not sdl-config are present, disable SDL support.

Signed-off-by: Loïc Minier <lool@dooz.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure