mirror of https://github.com/mpv-player/mpv
configure: Enable joystick support on FreeBSD
patch extracted from the FreeBSD ports tree git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32572 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0a2d29a75b
commit
e4230c554c
|
@ -7110,7 +7110,7 @@ test "$_debug" != "" && def_debug='#define MP_DEBUG 1'
|
||||||
echocheck "joystick"
|
echocheck "joystick"
|
||||||
def_joystick='#undef CONFIG_JOYSTICK'
|
def_joystick='#undef CONFIG_JOYSTICK'
|
||||||
if test "$_joystick" = yes ; then
|
if test "$_joystick" = yes ; then
|
||||||
if linux ; then
|
if linux || freebsd ; then
|
||||||
# TODO add some check
|
# TODO add some check
|
||||||
def_joystick='#define CONFIG_JOYSTICK 1'
|
def_joystick='#define CONFIG_JOYSTICK 1'
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue