git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43134
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+ if test "$wxUSE_MGL" != "1"; then
for ac_header in linux/joystick.h
do
for ac_header in linux/joystick.h
do
fi
if test "$wxUSE_JOYSTICK" = "yes"; then
fi
if test "$wxUSE_JOYSTICK" = "yes"; then
dnl joystick support is only for Linux 2.1.x or greater
else
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
fi
if test "$wxUSE_JOYSTICK" = "yes"; then