[vlc-commits] configure: actually enable Qt by default
Rémi Denis-Courmont
git at videolan.org
Sat Nov 17 18:17:18 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 17 19:16:50 2018 +0200| [dc47f00dc231b1824dfb557eb34f452eea867530] | committer: Rémi Denis-Courmont
configure: actually enable Qt by default
...as the help text claims.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dc47f00dc231b1824dfb557eb34f452eea867530
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 6e28431d81..116d13b225 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3740,6 +3740,7 @@ dnl QT
dnl
AC_ARG_ENABLE([qt],
AS_HELP_STRING([--disable-qt], [Qt UI support (default enabled)]),, [
+ AS_IF([test "${enable_vlc}" != "no"], [enable_qt="yes"])
AS_IF([test "${SYS}" = "darwin"], [
enable_qt="no"
])
@@ -3760,7 +3761,7 @@ AS_IF([test "${enable_qt}" != "no"], [
AC_PATH_PROGS(UIC, [uic-qt5 uic], uic, ["${QT_HOST_PATH}" "${QT_PATH}/bin"])
], [
AS_IF([test -n "${enable_qt}"],[
- AC_MSG_ERROR([${QT_PKG_ERRORS}.])
+ AC_MSG_ERROR([${QT_PKG_ERRORS}. If you want to build VLC without GUI, pass --disable-qt.])
],[
AC_MSG_WARN([${QT_PKG_ERRORS}.])
])
More information about the vlc-commits
mailing list