summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAntonio Russo <[email protected]>2018-05-30 23:11:19 -0400
committerBrian Behlendorf <[email protected]>2018-05-30 20:11:19 -0700
commit928046b744a6d3f93f5ba1351a6d700a62535a00 (patch)
tree602e4b0dfd820bdfda71b93127134371b1e38e13 /configure.ac
parent93491c4bb9dcc755f74d266f2aeb5a2d3cf94432 (diff)
Explicitly state supported Linux versions
Add META tags Linux-Maximum and Linux-Minimum. One pain point for package maintainers is ensuring the compatibility of the packaged version of ZFS with the Linux kernel. By providing an authoritative compatibility guide in the source tree, maintainers can automate compatibility checks. Additionally, increase META string extraction specificity. configure.ac finds Name and Version by a very simple `grep`, which might conceivably find other fields. Require the string be at the beginning of a line, and be followed by a colon to avoid such confusions. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Antonio Russo <[email protected]> Closes #7571
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e171e785f..8e360f46e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,8 +30,8 @@
* CDDL HEADER END
*/
-AC_INIT(m4_esyscmd(grep Name META | cut -d ':' -f 2 | tr -d ' \n'),
- m4_esyscmd(grep Version META | cut -d ':' -f 2 | tr -d ' \n'))
+AC_INIT(m4_esyscmd(grep ^Name: META | cut -d ':' -f 2 | tr -d ' \n'),
+ m4_esyscmd(grep ^Version: META | cut -d ':' -f 2 | tr -d ' \n'))
AC_LANG(C)
ZFS_AC_META
AC_CONFIG_AUX_DIR([config])