- Fix missing checks reported by autoscan (we still do nothing on failure but at least the configure output might be more useful in case of problem);
- Lint configure output when libusb detection methods fallback over and over.
This commit is contained in:
parent
ec58634a67
commit
9629d073cb
2 changed files with 7 additions and 7 deletions
|
|
@ -18,8 +18,6 @@ AC_DEFUN([LIBNFC_CHECK_LIBUSB],
|
|||
fi
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for libusb)
|
||||
|
||||
# Search using libusb-config
|
||||
if test x"$HAVE_LIBUSB" = "x0"; then
|
||||
AC_PATH_PROG(libusb_CONFIG,libusb-config)
|
||||
|
|
@ -40,10 +38,7 @@ AC_DEFUN([LIBNFC_CHECK_LIBUSB],
|
|||
fi
|
||||
|
||||
if test x"$HAVE_LIBUSB" = "x0"; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_ERROR([libusb is mandatory.])
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
|
||||
AC_SUBST(libusb_LIBS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue