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:
2
configure
vendored
2
configure
vendored
@@ -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; }
|
||||
|
Reference in New Issue
Block a user