浏览代码

configure.ac: Fix AC_DEFINE HAVE_LIBUSB

Fixes an error with autoconf 2.72
Gleb Mazovetskiy 1 周之前
父节点
当前提交
5ed21d1ccb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -3635,7 +3635,7 @@ CheckHIDAPI()
 
         if test x$hidapi_support = xyes; then
             if test x$have_libusb_h = xyes; then
-                AC_DEFINE(HAVE_LIBUSB)
+                AC_DEFINE(HAVE_LIBUSB, 1, [ ])
                 EXTRA_CFLAGS="$EXTRA_CFLAGS $LIBUSB_CFLAGS"
                 if test x$require_hidapi_libusb = xyes; then
                     EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LIBUSB_LIBS"