0001-use-correct-directfb-config.patch 997 B

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