[vlc-commits] [Git][videolan/vlc][master] configure: detect SpatialaudioVersion.h presence using the library version
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sat Aug 22 09:14:48 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
23e672fd by Steve Lhomme at 2026-08-22T09:04:50+00:00
configure: detect SpatialaudioVersion.h presence using the library version
Just like in meson. When the system has a newer version of the library installed
but pkg-config points to a different version, it will detect it's present even though
we don't build with that version.
- - - - -
1 changed file:
- configure.ac
Changes:
=====================================
configure.ac
=====================================
@@ -3187,12 +3187,9 @@ dnl
PKG_ENABLE_MODULES_VLC([SPATIALAUDIO], [], [spatialaudio], [Ambisonic channel mixer and binauralizer], [auto])
AS_IF([test -n ${SPATIALAUDIO_CFLAGS+set}], [
- VLC_SAVE_FLAGS
- AX_APPEND_FLAG([$SPATIALAUDIO_CFLAGS], [CFLAGS])
- AC_CHECK_HEADER([spatialaudio/SpatialaudioVersion.h], [
- AX_APPEND_FLAG([-DHAVE_SPATIALAUDIOVERSION_H=1], [SPATIALAUDIO_CFLAGS])
- ])
- VLC_RESTORE_FLAGS
+ PKG_CHECK_MODULES(SPATIALAUDIO_040, [spatialaudio >= 0.4.0], [
+ AX_APPEND_FLAG([-DHAVE_SPATIALAUDIOVERSION_H=1], [SPATIALAUDIO_CFLAGS])
+ ],[:])
])
dnl
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/23e672fdc178898eff42f4ef6decadff23f9ce60
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/23e672fdc178898eff42f4ef6decadff23f9ce60
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list