kopia lustrzana https://github.com/stlink-org/stlink
correct error message is given upon missing pkg-config package. fixes texane/stlink#338
rodzic
9dac6ce11a
commit
a13aeeeff7
|
@ -20,6 +20,11 @@ AC_CHECK_HEADERS(sys/mman.h)
|
|||
AC_CHECK_HEADERS(sys/poll.h)
|
||||
AC_REPLACE_FUNCS(mmap)
|
||||
|
||||
if ! hash pkg-config; then
|
||||
echo "ERROR: pkg-config is needed..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Checks for libraries.
|
||||
PKG_CHECK_MODULES(USB, libusb-1.0 >= 1.0.0,,
|
||||
AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***]))
|
||||
|
|
Ładowanie…
Reference in New Issue