From 5ed21d1ccb8a62d0fe2b9142756cb0904ca81616 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sun, 31 Aug 2025 17:27:05 +0100 Subject: [PATCH] configure.ac: Fix AC_DEFINE HAVE_LIBUSB Fixes an error with autoconf 2.72 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 591ca61292..cd58faa21a 100644 --- a/configure.ac +++ b/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"