Added the Linux hidraw sources when libusb isn't available
authorSam Lantinga <slouken@libsdl.org>
Sat, 23 Nov 2019 11:35:20 -0800
changeset 13281f8707178f3db
parent 13280 559e831e2cb0
child 13282 4c476c750fab
Added the Linux hidraw sources when libusb isn't available
configure
configure.ac
     1.1 --- a/configure	Fri Nov 22 17:46:30 2019 -0800
     1.2 +++ b/configure	Sat Nov 23 11:35:20 2019 -0800
     1.3 @@ -24371,6 +24371,9 @@
     1.4                  *-*-darwin* )
     1.5                      SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c"
     1.6                      ;;
     1.7 +                * )
     1.8 +                    SOURCES="$SOURCES $srcdir/src/hidapi/linux/hid.c"
     1.9 +                    ;;
    1.10                  esac
    1.11              fi
    1.12          fi
     2.1 --- a/configure.ac	Fri Nov 22 17:46:30 2019 -0800
     2.2 +++ b/configure.ac	Sat Nov 23 11:35:20 2019 -0800
     2.3 @@ -3349,6 +3349,9 @@
     2.4                  *-*-darwin* )
     2.5                      SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c"
     2.6                      ;;
     2.7 +                * )
     2.8 +                    SOURCES="$SOURCES $srcdir/src/hidapi/linux/hid.c"
     2.9 +                    ;;
    2.10                  esac
    2.11              fi
    2.12          fi