Commit 87d224ac authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Correct test for linux 2.2 joystick API, which returned true in every

case.
parent cb18dbf9
...@@ -5672,7 +5672,7 @@ rm -f conftest* ...@@ -5672,7 +5672,7 @@ rm -f conftest*
fi fi
echo "$ac_t""$wine_cv_linux_joystick_22_api" 1>&6 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 then
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_LINUX_22_JOYSTICK_API 1 #define HAVE_LINUX_22_JOYSTICK_API 1
......
...@@ -738,7 +738,7 @@ then ...@@ -738,7 +738,7 @@ then
wine_cv_linux_joystick_22_api=no 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 then
AC_DEFINE(HAVE_LINUX_22_JOYSTICK_API) AC_DEFINE(HAVE_LINUX_22_JOYSTICK_API)
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment