diff options
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 878776ab3..cc282970d 100644 --- a/configure.ac +++ b/configure.ac @@ -1103,7 +1103,7 @@ dnl --------------------------------------------- AC_ARG_WITH([libstk], AS_HELP_STRING([--with-libstk], [Build with STK surface video driver])) -if test "x$with_libstk" != "xno"; then +if test "x$with_libstk" = "xyes"; then PKG_CHECK_MODULES([LIBSTK], [libstk >= 0.2.0], [have_libstk=yes], [have_libstk=no]) if test "x$with_libstk" = "xyes" && test "x$have_libstk" = "xno"; then AC_MSG_ERROR([libstk support requested, but libstk not found]) |