[vlc-commits] [Git][videolan/vlc][master] 2 commits: configure.ac: fix configure warning

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Wed Apr 29 23:20:04 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
dbf35fbc by Alexandre Janniaux at 2026-04-30T00:50:09+02:00
configure.ac: fix configure warning

Otherwise it unrolls into:

     if 0; then
      HAVE_PARTIAL_LINKING_TRUE=
      HAVE_PARTIAL_LINKING_FALSE='#'
    else
      HAVE_PARTIAL_LINKING_TRUE='#'
      HAVE_PARTIAL_LINKING_FALSE=
    fi

and if 0 triggers an error:

   ../repo/configure: line 32397: 0: command not found

- - - - -
80546bf6 by Alexandre Janniaux at 2026-04-30T00:50:09+02:00
configure.ac: fix Qt error with missing runtime deps

It was printing the library flags instead of printing the actual error,
and other configure checks would be done before the Qt error that breaks
the configure.

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -1023,7 +1023,7 @@ AS_IF([test "${enable_shared}" = "no"], [
   have_dynamic_objects=no
 ])
 AM_CONDITIONAL([HAVE_DYNAMIC_PLUGINS], [test "${have_dynamic_objects}" != "no"])
-AM_CONDITIONAL([HAVE_PARTIAL_LINKING], 0)
+AM_CONDITIONAL([HAVE_PARTIAL_LINKING], [false])
 
 AC_SUBST([LIBDL])
 
@@ -4134,6 +4134,7 @@ AS_IF([test "${enable_qt}" != "no"], [
 
       AC_MSG_RESULT([yes])
       QT_LIBS=${QT_PKG_ERRORS}
+      QT_PKG_ERRORS=""
       QT_CFLAGS=$(${PYTHON3} ${srcdir}/modules/gui/qt/scripts/static_dirs.py \
         --qmake "${QMAKE6}" --qtconf "${with_qtconf}" \
         --pro ${srcdir_abs}/modules/gui/qt/qt6.pro \
@@ -4190,7 +4191,7 @@ AS_IF([test "${enable_qt}" != "no"], [
         AC_MSG_RESULT([yes])
       ],[
         AC_MSG_RESULT([no])
-        AC_MSG_WARN([qt runtime dependencies are missing, disabling qt interface])
+        QT_PKG_ERRORS="qt runtime dependencies are missing, disabling qt interface"
         have_qt="no"
       ])
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/5c78622ed69684c1daa8e667d638ab6bb7e4ac0e...80546bf6546fe6bb0ada9b8303db91659f00a880

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/5c78622ed69684c1daa8e667d638ab6bb7e4ac0e...80546bf6546fe6bb0ada9b8303db91659f00a880
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list