xref: /OK3568_Linux_fs/buildroot/package/sdl/0001-use-correct-directfb-config.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1[PATCH] configure.in: use correct directfb-config in version check
2
3The configure script has just checked for the correct directfb-config
4script, so also use it for the version check instead of whatever
5might be in the path.
6
7Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
8---
9 configure.in |    2 +-
10 1 files changed, 1 insertions(+), 1 deletions(-)
11
12Index: SDL-1.2.15/configure.in
13===================================================================
14--- SDL-1.2.15.orig/configure.in
15+++ SDL-1.2.15/configure.in
16@@ -1276,7 +1276,7 @@
17         else
18             set -- `echo $DIRECTFB_REQUIRED_VERSION | sed 's/\./ /g'`
19             NEED_VERSION=`expr $1 \* 10000 + $2 \* 100 + $3`
20-            set -- `directfb-config --version | sed 's/\./ /g'`
21+            set -- `$DIRECTFBCONFIG --version | sed 's/\./ /g'`
22             HAVE_VERSION=`expr $1 \* 10000 + $2 \* 100 + $3`
23             if test $HAVE_VERSION -ge $NEED_VERSION; then
24                 DIRECTFB_CFLAGS=`$DIRECTFBCONFIG --cflags`
25
26