Explorar o código

Added the Linux hidraw sources when libusb isn't available

Sam Lantinga %!s(int64=5) %!d(string=hai) anos
pai
achega
116bd7eb7a
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  1. 3 0
      configure
  2. 3 0
      configure.ac

+ 3 - 0
configure

@@ -24371,6 +24371,9 @@ _ACEOF
                 *-*-darwin* )
                     SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c"
                     ;;
+                * )
+                    SOURCES="$SOURCES $srcdir/src/hidapi/linux/hid.c"
+                    ;;
                 esac
             fi
         fi

+ 3 - 0
configure.ac

@@ -3349,6 +3349,9 @@ AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[d
                 *-*-darwin* )
                     SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c"
                     ;;
+                * )
+                    SOURCES="$SOURCES $srcdir/src/hidapi/linux/hid.c"
+                    ;;
                 esac
             fi
         fi