blob: d78329919fd60535af0b943d266dc5751ca8e192 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: dnsdist/m4/systemd.m4
===================================================================
--- dnsdist.orig/m4/systemd.m4
+++ dnsdist/m4/systemd.m4
@@ -134,7 +134,7 @@ AC_DEFUN([AX_CHECK_SYSTEMD_FEATURES], [
AC_PATH_PROG([SYSTEMCTL], [systemctl], [no])
AS_IF([test "$SYSTEMCTL" = "no"],
[AC_MSG_ERROR([systemctl not found])], [
- _systemd_version=`${SYSTEMCTL} --version|head -1 |cut -d" " -f 2`
+ _systemd_version=`${SYSTEMCTL} --version | head -1 | tr ".~" " " | cut -d" " -f 2`
if test $_systemd_version -ge 183; then
systemd_private_tmp=y
fi
|