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 11/05/12 at 23:09:40

Move into the source-builder tree.

  • Property mode set to 100644
File size: 516 bytes
RevLine 
[5260449]1--- texane-stlink-3494c11.orig/configure.ac     2012-10-31 11:40:49.000000000 +1100
2+++ texane-stlink-3494c11/configure.ac  2012-10-31 10:34:57.000000000 +1100
3@@ -21,9 +21,7 @@
4 AC_REPLACE_FUNCS(mmap)
5 
6 # Checks for libraries.
7-PKG_CHECK_MODULES(USB, libusb-1.0 >= 1.0.0,,
8-                 AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***]))
9-AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb)
10+AC_CHECK_HEADER([libusb.h], [USB_LIBS="-lusb-1.0"])
11 
12 LIBS="$LIBS $USB_LIBS"
13 CFLAGS="$CFLAGS $USB_CFLAGS"
Note: See TracBrowser for help on using the repository browser.