diff --git a/configure b/configure index cb15f8600d..cb7aac94e2 100755 --- a/configure +++ b/configure @@ -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; } diff --git a/configure.in b/configure.in index 53ccfe0ddc..1edc1388a5 100644 --- a/configure.in +++ b/configure.in @@ -6331,7 +6331,7 @@ if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then wxUSE_JOYSTICK=yes dnl mac only available on darwin - elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then + elif test "$TOOLKIT" = "OSX_COCOA" -o "$TOOLKIT" = "COCOA"; then if test "$USE_DARWIN" = 1; then dnl check for a bug in the headers, some have bad setEventCallout AC_MSG_CHECKING([headers have declarations needed for joystick support])