Enable HIDAPI by default
diff --git a/configure b/configure
index 7cb5d53..b2e7e2b 100755
--- a/configure
+++ b/configure
@@ -24312,7 +24312,7 @@
 if test "${enable_hidapi+set}" = set; then :
   enableval=$enable_hidapi;
 else
-  enable_hidapi=no
+  enable_hidapi=yes
 fi
 
     if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
@@ -24778,7 +24778,7 @@
         # Set up files for the joystick library
         if test x$enable_joystick = xyes; then
           case $ARCH in
-            linux)
+            linux|freebsd)
 
 $as_echo "#define SDL_JOYSTICK_LINUX 1" >>confdefs.h
 
@@ -24799,7 +24799,7 @@
         # Set up files for the haptic library
         if test x$enable_haptic = xyes; then
           case $ARCH in
-            linux)
+            linux|freebsd)
                 if test x$use_input_events = xyes; then
 
 $as_echo "#define SDL_HAPTIC_LINUX 1" >>confdefs.h
diff --git a/configure.ac b/configure.ac
index 0cd62a9..62b1edb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3327,8 +3327,8 @@
     esac
 
     AC_ARG_ENABLE(hidapi,
-AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=no]]]),
-                  , enable_hidapi=no)
+AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=yes]]]),
+                  , enable_hidapi=yes)
     if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
         if test x$skiplibusb = xyes; then
             hidapi_support=yes