sdl: fix directfb configure check
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 28 Apr 2013 20:32:39 +0000 (22:32 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 28 Apr 2013 20:32:39 +0000 (22:32 +0200)
commit1655f3c5b735b3dad75df1665b47d309fdf3afcb
tree30870b1aa2122dc1d83d6fab8bf36bbcf3937729
parent37c6e51a15e8f932cfe23b60d2d37c47213fde83
sdl: fix directfb configure check

The configure script nicely supports a preconfigured directfb-config
(using ac_cv_path_DIRECTFBCONFIG), except for when it checks the directfb
version where it simply uses whatever directfb-config is in the path,
breaking the build when this isn't available / recent enough.

Fix is to use the correct one instead. As SDL doesn't autoreconf cleanly,
also patch the generated configure script.

Finally move the ac_cv_path_DIRECTFBCONFIG setting under the directfb
conditional as it is only needed there.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/sdl/sdl-use-correct-directfb-config.patch [new file with mode: 0644]
package/sdl/sdl.mk