disable joystick for wxMGL, it's not implemented there

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-11-06 23:57:43 +00:00
parent 74d92aac47
commit b6814e24ef
2 changed files with 6 additions and 1 deletions

2
configure vendored
View File

@ -45477,6 +45477,7 @@ echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
fi
else
if test "$wxUSE_MGL" != "1"; then
for ac_header in linux/joystick.h
do
@ -45626,6 +45627,7 @@ fi
done
fi
fi
if test "$wxUSE_JOYSTICK" = "yes"; then

View File

@ -6313,7 +6313,10 @@ if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
dnl joystick support is only for Linux 2.1.x or greater
else
AC_CHECK_HEADERS(linux/joystick.h, wxUSE_JOYSTICK=yes)
dnl wxJoystick not supported by wxMGL at all
if test "$wxUSE_MGL" != "1"; then
AC_CHECK_HEADERS(linux/joystick.h, wxUSE_JOYSTICK=yes)
fi
fi
if test "$wxUSE_JOYSTICK" = "yes"; then