Parcourir la source

configure.ac: Fix AC_DEFINE HAVE_LIBUSB

Fixes an error with autoconf 2.72
Gleb Mazovetskiy il y a 1 semaine
Parent
commit
5ed21d1ccb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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"