[vlc-commits] [Git][videolan/vlc][master] pipewire: handle --enable-pipewire correctly

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Nov 28 11:14:12 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
e3868bb6 by Olaf Hering at 2024-11-28T10:51:02+00:00
pipewire: handle --enable-pipewire correctly

With --enable-pipewire the variable enable_pipewire contains "yes",
and is therefore set. Avoid the branch into AC_MSG_ERROR by checking
have_pipewire, which indicates if libpipewire-0.3 exists.

Fixes commit f1ab721b0ff0 ("pipewire: initial audio output module")

Signed-off-by: Olaf Hering <olaf at aepfle.de>

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -3742,7 +3742,7 @@ AS_IF([test "${enable_pipewire}" != "no"], [
       ], [true])
     ])
   done
-  AS_IF([test "${enable_pipewire}" = "yes" -a -n "${enable_pipewire}"], [
+  AS_IF([test "${enable_pipewire}" = "yes" -a "${have_pipewire}" = "no"], [
     AC_MSG_ERROR([$PIPEWIRE_PKG_ERRORS. Pipewire required.])
   ])
 ])



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e3868bb6bf5e4d140dbd624ad78237baafb9b640

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e3868bb6bf5e4d140dbd624ad78237baafb9b640
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list