Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 30 lines (21 sloc) 0.679 kb
087a359 Dave Murphy autoconfiscate
WinterMute authored
1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.61)
5 AC_INIT([stlink],[0.5.0],[davem@devkitpro.org])
6 AC_CONFIG_SRCDIR([src/stlink-common.c])
7
8 AM_INIT_AUTOMAKE([1.10])
9
10
11 # Checks for programs.
12 AC_PROG_CC
13 AC_PROG_INSTALL
14 AC_CANONICAL_HOST
15 AC_CANONICAL_BUILD
16 AC_PROG_LIBTOOL
17 AM_PROG_CC_C_O
18
19 # Checks for libraries.
20 PKG_CHECK_MODULES(USB, libusb-1.0 >= 1.0.0,,
21 AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***]))
22 AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb)
23
24 LIBS="$LIBS $USB_LIBS"
25 CFLAGS="$CFLAGS $USB_CFLAGS"
26
27 AC_CONFIG_FILES([Makefile])
28 AC_OUTPUT
29
Something went wrong with that request. Please try again.