Correct test for linux 2.2 joystick API, which returned true in every
case.
This commit is contained in:
parent
cb18dbf9ce
commit
87d224ac39
|
@ -5672,7 +5672,7 @@ rm -f conftest*
|
|||
fi
|
||||
|
||||
echo "$ac_t""$wine_cv_linux_joystick_22_api" 1>&6
|
||||
if test "$wine_cv_linux_joystick_22_api"
|
||||
if test "$wine_cv_linux_joystick_22_api" = "yes"
|
||||
then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define HAVE_LINUX_22_JOYSTICK_API 1
|
||||
|
|
|
@ -738,7 +738,7 @@ then
|
|||
wine_cv_linux_joystick_22_api=no
|
||||
)
|
||||
)
|
||||
if test "$wine_cv_linux_joystick_22_api"
|
||||
if test "$wine_cv_linux_joystick_22_api" = "yes"
|
||||
then
|
||||
AC_DEFINE(HAVE_LINUX_22_JOYSTICK_API)
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue