Fix joystick detection in configure under OS X.

Don't compare toolkit with OSX which is never used for it, compare it with
OSX_COCOA instead.

Closes #15692.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-11-21 00:07:36 +00:00
parent e705b36af5
commit 304a005e7a
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -35512,7 +35512,7 @@ if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
if test "$TOOLKIT" = "MSW"; then
wxUSE_JOYSTICK=yes
elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
elif test "$TOOLKIT" = "OSX_COCOA" -o "$TOOLKIT" = "COCOA"; then
if test "$USE_DARWIN" = 1; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
$as_echo_n "checking headers have declarations needed for joystick support... " >&6; }