ef671a1dddae9152af574dbdb6ca2126074652e6
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / sdl / 0001-use-correct-directfb-config.patch
1 [PATCH] configure.in: use correct directfb-config in version check
2
3 The configure script has just checked for the correct directfb-config
4 script, so also use it for the version check instead of whatever
5 might be in the path.
6
7 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
8 ---
9  configure.in |    2 +-
10  1 files changed, 1 insertions(+), 1 deletions(-)
11
12 Index: 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