1
0

patch-configure 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- openobex-1.5.orig/configure 2009-02-08 19:32:25.000000000 +0100
  3. +++ openobex-1.5/configure 2009-05-30 14:32:22.786455567 +0200
  4. @@ -11270,60 +11270,6 @@ fi
  5. -if test $pkg_failed = yes; then
  6. -
  7. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8. - _pkg_short_errors_supported=yes
  9. -else
  10. - _pkg_short_errors_supported=no
  11. -fi
  12. - if test $_pkg_short_errors_supported = yes; then
  13. - USB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libusb" 2>&1`
  14. - else
  15. - USB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libusb" 2>&1`
  16. - fi
  17. - # Put the nasty error message in config.log where it belongs
  18. - echo "$USB_PKG_ERRORS" >&5
  19. -
  20. - { $as_echo "$as_me:$LINENO: result: no" >&5
  21. -$as_echo "no" >&6; }
  22. - { $as_echo "$as_me:$LINENO: result: no" >&5
  23. -$as_echo "no" >&6; }
  24. -elif test $pkg_failed = untried; then
  25. - { $as_echo "$as_me:$LINENO: result: no" >&5
  26. -$as_echo "no" >&6; }
  27. -else
  28. - USB_CFLAGS=$pkg_cv_USB_CFLAGS
  29. - USB_LIBS=$pkg_cv_USB_LIBS
  30. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  31. -$as_echo "yes" >&6; }
  32. - usb_lib_found=yes
  33. -fi
  34. - as_ac_File=`$as_echo "ac_cv_file_${prefix}/lib/pkgconfig/libusb.pc" | $as_tr_sh`
  35. -{ $as_echo "$as_me:$LINENO: checking for ${prefix}/lib/pkgconfig/libusb.pc" >&5
  36. -$as_echo_n "checking for ${prefix}/lib/pkgconfig/libusb.pc... " >&6; }
  37. -if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
  38. - $as_echo_n "(cached) " >&6
  39. -else
  40. - test "$cross_compiling" = yes &&
  41. - { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
  42. -$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
  43. - { (exit 1); exit 1; }; }
  44. -if test -r "${prefix}/lib/pkgconfig/libusb.pc"; then
  45. - eval "$as_ac_File=yes"
  46. -else
  47. - eval "$as_ac_File=no"
  48. -fi
  49. -fi
  50. -ac_res=`eval 'as_val=${'$as_ac_File'}
  51. - $as_echo "$as_val"'`
  52. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  53. -$as_echo "$ac_res" >&6; }
  54. -as_val=`eval 'as_val=${'$as_ac_File'}
  55. - $as_echo "$as_val"'`
  56. - if test "x$as_val" = x""yes; then
  57. - REQUIRES="libusb"
  58. -fi
  59. ;;
  60. esac