]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: define have_linux_blkzoned_h
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 6 Feb 2025 18:44:43 +0000 (19:44 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 6 Feb 2025 18:44:43 +0000 (19:44 +0100)
Follow-up for 92ea18aaa31120ebedefc389ca6be4eca9a81117.

meson.build

index ff1aebb94ca7090318ec54e0b651873e7177c915..cb4f5d0b47e772f4ba5723d5b6ec709d2929a5e2 100644 (file)
@@ -1687,6 +1687,8 @@ if opt and not is_disabler(exe)
   bashcompletions += ['blkdiscard']
 endif
 
+have_linux_blkzoned_h = conf.get('HAVE_LINUX_BLKZONED_H').to_string() == '1'
+
 opt = get_option('build-blkzone').require(have_linux_blkzoned_h).allowed()
 exe = executable(
   'blkzone',