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
|
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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue