diff options
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index bbb8370..7942f57 100644 --- a/configure.ac +++ b/configure.ac @@ -259,7 +259,7 @@ if test "$USE_X11:$enable_glx" = "no:yes"; then AC_MSG_ERROR([VA/GLX explicitly enabled, but VA/X11 isn't built]) fi -if test "$USE_X11:$enable_glx" != "yes:no"; then +if test "$USE_X11" == "yes" -a "$enable_glx" != "no"; then PKG_CHECK_MODULES([GLX], [gl x11], [USE_GLX="yes"], [:]) saved_CPPFLAGS="$CPPFLAGS" saved_LIBS="$LIBS" |