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

diff --git a/configure b/configure
index 2cf87c3..cc61949 100755
--- a/configure
+++ b/configure
@@ -5672,7 +5672,7 @@
 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