diff --git a/configure b/configure index 2cf87c37d6e..cc61949549b 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 020151b73fe..3c08add8e5b 100644 --- a/configure.in +++ b/configure.in @@ -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