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

case.
This commit is contained in:
Rein Klazes 2000-04-24 17:33:49 +00:00 committed by Alexandre Julliard
parent cb18dbf9ce
commit 87d224ac39
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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

View File

@ -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