lib/nfs/meson.build: reject libnfs 6

libnfs version 6 has major API changes and MPD 0.23 has never been
adapted to these.  This additional configure-time check fixes
potential compile-time failures.
This commit is contained in:
Max Kellermann 2025-01-29 09:03:48 +01:00
parent 37049aab36
commit c48dbd5dd4

@ -1,4 +1,4 @@
nfs_dep = dependency('libnfs', version: '>= 4', required: get_option('nfs'))
nfs_dep = dependency('libnfs', version: ['>= 4', '< 6'], required: get_option('nfs'))
conf.set('ENABLE_NFS', nfs_dep.found())
if not nfs_dep.found()
subdir_done()