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:
diego 2010-11-03 08:09:31 +00:00 committed by Uoti Urpala
parent 0a2d29a75b
commit e4230c554c
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -7110,7 +7110,7 @@ test "$_debug" != "" && def_debug='#define MP_DEBUG 1'
echocheck "joystick"
def_joystick='#undef CONFIG_JOYSTICK'
if test "$_joystick" = yes ; then
if linux ; then
if linux || freebsd ; then
# TODO add some check
def_joystick='#define CONFIG_JOYSTICK 1'
else