diff --git a/configure b/configure index 624329cf6b8..5c2d6571c6e 100755 --- a/configure +++ b/configure @@ -9414,7 +9414,7 @@ fi { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; } - if test "$wine_cv_opengl_version_OK" = "yes" + if test "$wine_cv_opengl_header_version_OK" = "yes" then { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; } diff --git a/configure.ac b/configure.ac index 806c840d474..b327e0b6829 100644 --- a/configure.ac +++ b/configure.ac @@ -410,7 +410,7 @@ then ) ) - if test "$wine_cv_opengl_version_OK" = "yes" + if test "$wine_cv_opengl_header_version_OK" = "yes" then dnl Check for the presence of the library AC_CHECK_LIB(GL,glXCreateContext,