lib/nfs/meson.build: require libnfs 4.0

All Linux distributions have at least version 4, and thus I cannot
test with older versions.
This commit is contained in:
Max Kellermann 2024-05-06 14:53:41 +02:00
parent 518ce0187a
commit 23d895415a
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -25,6 +25,7 @@ ver 0.24 (not yet released)
- add option to disable archive plugins in mpd.conf - add option to disable archive plugins in mpd.conf
* storage * storage
- curl: optimize database update - curl: optimize database update
- nfs: require libnfs 4.0 or later
* input * input
- alsa: limit ALSA buffer time to 2 seconds - alsa: limit ALSA buffer time to 2 seconds
- curl: add "connect_timeout" configuration - curl: add "connect_timeout" configuration

View File

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