summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2020-12-20 12:08:49 -0800
committerSam Lantinga <slouken@libsdl.org>2020-12-20 12:08:49 -0800
commit8b01545ff4f2a502f8a0b5cf7ef6a6d847b9e146 (patch)
treead279fe70ff7cd0f1d10d190e13d38b2662b993c /configure
parent182a3f1af0e32f832e0b4e20b6a533fa4a02d9ac (diff)
downloadsdl-8b01545ff4f2a502f8a0b5cf7ef6a6d847b9e146.tar.gz
Fixed bug 5406 - Upstreaming DragonFlyBSD changes from DeltaPorts (patch from David Carlier)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index 0edf785b0..cdb12bd02 100755
--- a/configure
+++ b/configure
@@ -24036,7 +24036,7 @@ $as_echo "#define SDL_LOADSO_DLOPEN 1" >>confdefs.h
CheckUSBHID()
{
case "$host" in
- *-*-*bsd*)
+ *-*-*bsd*|*-*-dragonfly*)
if test x$enable_joystick = xyes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hid_init in -lusbhid" >&5
$as_echo_n "checking for hid_init in -lusbhid... " >&6; }
@@ -24161,8 +24161,8 @@ $as_echo_n "checking for usbhid... " >&6; }
#include <usb.h>
#endif
#ifdef __DragonFly__
- # include <bus/usb/usb.h>
- # include <bus/usb/usbhid.h>
+ # include <bus/u4b/usb.h>
+ # include <bus/u4b/usbhid.h>
#else
# include <dev/usb/usb.h>
# include <dev/usb/usbhid.h>
@@ -24208,8 +24208,8 @@ $as_echo_n "checking for ucr_data member of usb_ctl_report... " >&6; }
#include <usb.h>
#endif
#ifdef __DragonFly__
- # include <bus/usb/usb.h>
- # include <bus/usb/usbhid.h>
+ # include <bus/u4b/usb.h>
+ # include <bus/u4b/usbhid.h>
#else
# include <dev/usb/usb.h>
# include <dev/usb/usbhid.h>
@@ -24256,8 +24256,8 @@ $as_echo_n "checking for new usbhid API... " >&6; }
#include <usb.h>
#endif
#ifdef __DragonFly__
- #include <bus/usb/usb.h>
- #include <bus/usb/usbhid.h>
+ #include <bus/u4b/usb.h>
+ #include <bus/u4b/usbhid.h>
#else
#include <dev/usb/usb.h>
#include <dev/usb/usbhid.h>