summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2012-01-17 16:19:43 -0800
committerBrian Behlendorf <[email protected]>2012-01-18 12:19:47 -0800
commitb40a77aefca3d0832396edd35f597100d152f163 (patch)
tree61c33ec0dffadfc67e23f295cf2117903ba7a5e8 /config
parentf783130a1f11616632a7a6f519140f97389688a6 (diff)
Add the release component to headers
When the original build system code was added the release component was accidentally omited from the development header install path. This patch adds the missing path component so it's always clear exactly what release your compiling against. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/kernel.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/kernel.m4 b/config/kernel.m4
index 45e9b149a..b986fe41b 100644
--- a/config/kernel.m4
+++ b/config/kernel.m4
@@ -270,9 +270,9 @@ AC_DEFUN([ZFS_AC_SPL], [
fgrep -q SPL_META_VERSION $splbuild/spl_config.h], [
splsrcver=`(echo "#include <spl_config.h>";
- echo "splsrcver=SPL_META_VERSION") |
+ echo "splsrcver=SPL_META_VERSION-SPL_META_RELEASE") |
cpp -I $splbuild |
- grep "^splsrcver=" | cut -d \" -f 2`
+ grep "^splsrcver=" | tr -d \" | cut -d= -f2`
])
AS_IF([test -z "$splsrcver"], [