configure.ac: Fix AC_DEFINE HAVE_LIBUSB

Fixes an error with autoconf 2.72
This commit is contained in:
Gleb Mazovetskiy
2025-08-31 17:27:05 +01:00
committed by Sam Lantinga
parent 7a34e14c8e
commit 5ed21d1ccb

View File

@@ -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"