Added the Linux hidraw sources when libusb isn't available
diff --git a/configure b/configure
index 61963d5..2f6779f 100755
--- a/configure
+++ b/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
diff --git a/configure.ac b/configure.ac
index f40c0e8..c3a6055 100644
--- a/configure.ac
+++ b/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