qt: don't error out if Qt X11 could not be found
authorMatthew Waters <matthew@centricular.com>
Fri, 10 Jul 2015 09:22:08 +0000 (19:22 +1000)
committerMatthew Waters <matthew@centricular.com>
Fri, 10 Jul 2015 09:22:08 +0000 (19:22 +1000)
PCK_CHECK_MODULES default error-if-not-found implementation errors
so override it with a simple notice that we couldn't find the library.

configure.ac

index e107b911ef7c69446473676cfedb480c0da064e8..da850653f1b12c49db709c1e65bd251802c031a5 100644 (file)
@@ -2619,7 +2619,7 @@ AG_GST_CHECK_FEATURE(QT, [Qt elements], qt, [
             QT_LIBS="$QT_LIBS $QT_X11_LIBS"
             AC_SUBST([QT_CFLAGS])
             AC_SUBST([QT_LIBS])
-        ], [])
+        ], [AC_MSG_NOTICE([Could not find Qt X11 integration])])
       fi
   ], [
       HAVE_QT="no"