comparison configure @ 32485:2746e4f916f6

Enable joystick support on FreeBSD. patch extracted from the FreeBSD ports tree.
author diego
date Wed, 03 Nov 2010 08:09:31 +0000
parents e789ea19fa5a
children d18030ed576f
comparison
equal deleted inserted replaced
32484:4b2173a11f18 32485:2746e4f916f6
7835 7835
7836 7836
7837 echocheck "joystick" 7837 echocheck "joystick"
7838 def_joystick='#undef CONFIG_JOYSTICK' 7838 def_joystick='#undef CONFIG_JOYSTICK'
7839 if test "$_joystick" = yes ; then 7839 if test "$_joystick" = yes ; then
7840 if linux ; then 7840 if linux || freebsd ; then
7841 # TODO add some check 7841 # TODO add some check
7842 def_joystick='#define CONFIG_JOYSTICK 1' 7842 def_joystick='#define CONFIG_JOYSTICK 1'
7843 else 7843 else
7844 _joystick="no" 7844 _joystick="no"
7845 res_comment="unsupported under $system_name" 7845 res_comment="unsupported under $system_name"