source: rtems-source-builder/source-builder/patches/texane-stlink-3494c11-1.diff @ eaab26a

4.11
Last change on this file since eaab26a was c80560d, checked in by Chris Johns <chrisj@…>, on Nov 5, 2012 at 11:09:40 PM

Move into the source-builder tree.

  • Property mode set to 100644
File size: 516 bytes
  • texane-stlink-3494c11

    old new  
    2121AC_REPLACE_FUNCS(mmap)
    2222
    2323# Checks for libraries.
    24 PKG_CHECK_MODULES(USB, libusb-1.0 >= 1.0.0,,
    25                  AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***]))
    26 AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb)
     24AC_CHECK_HEADER([libusb.h], [USB_LIBS="-lusb-1.0"])
    2725
    2826LIBS="$LIBS $USB_LIBS"
    2927CFLAGS="$CFLAGS $USB_CFLAGS"
Note: See TracBrowser for help on using the repository browser.