configure
changeset 13377 9d653cdc1797
parent 13287 38b490ed9e32
child 13389 7bcf24416ca6
     1.1 --- a/configure	Sun Dec 22 13:39:44 2019 -0800
     1.2 +++ b/configure	Sun Dec 22 13:42:20 2019 -0800
     1.3 @@ -24332,6 +24332,7 @@
     1.4  
     1.5              EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
     1.6              SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
     1.7 +            SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
     1.8  
     1.9              if test x$have_libusb_h = xyes; then
    1.10                  EXTRA_CFLAGS="$EXTRA_CFLAGS $LIBUSB_CFLAGS"
    1.11 @@ -24343,7 +24344,6 @@
    1.12                          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You must have SDL_LoadObject() support for dynamic libusb loading" >&5
    1.13  $as_echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic libusb loading" >&2;}
    1.14                      fi
    1.15 -                    SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
    1.16                      # libusb is loaded dynamically, so don't add it to LDFLAGS
    1.17                      libusb_lib=""
    1.18                      case "$host" in
    1.19 @@ -24363,8 +24363,6 @@
    1.20  _ACEOF
    1.21  
    1.22                  fi
    1.23 -            else
    1.24 -                SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
    1.25              fi
    1.26          fi
    1.27