Compare commits
1 Commits
Subsurface
...
hidapi-for
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15d092277f |
@ -126,6 +126,12 @@ AS_IF([test "x$with_hidapi" != "xno"], [
|
|||||||
AS_IF([test "x$have_hidapi" = "xyes"], [
|
AS_IF([test "x$have_hidapi" = "xyes"], [
|
||||||
AC_DEFINE([HAVE_HIDAPI], [1], [hidapi library])
|
AC_DEFINE([HAVE_HIDAPI], [1], [hidapi library])
|
||||||
DEPENDENCIES="$DEPENDENCIES hidapi"
|
DEPENDENCIES="$DEPENDENCIES hidapi"
|
||||||
|
], [
|
||||||
|
PKG_CHECK_MODULES([HIDAPI], [hidapi-libusb], [have_hidapi=yes], [have_hidapi=no])
|
||||||
|
AS_IF([test "x$have_hidapi" = "xyes"], [
|
||||||
|
AC_DEFINE([HAVE_HIDAPI], [1], [hidapi library])
|
||||||
|
DEPENDENCIES="$DEPENDENCIES hidapi"
|
||||||
|
])
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user