summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:45:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:45:40 +0000
commit07d7f4cfa4b10de87a31b68191036ff446add675 (patch)
tree7162524d8aaf1aef62d2f4fa51f595ed113981ff /m4
parentAdding upstream version 2.1.6. (diff)
downloadpacemaker-07d7f4cfa4b10de87a31b68191036ff446add675.tar.xz
pacemaker-07d7f4cfa4b10de87a31b68191036ff446add675.zip
Adding upstream version 2.1.7.upstream/2.1.7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'm4')
-rw-r--r--m4/REQUIRE_PROG.m418
-rw-r--r--m4/version.m42
2 files changed, 19 insertions, 1 deletions
diff --git a/m4/REQUIRE_PROG.m4 b/m4/REQUIRE_PROG.m4
new file mode 100644
index 0000000..118c07d
--- /dev/null
+++ b/m4/REQUIRE_PROG.m4
@@ -0,0 +1,18 @@
+# REQUIRE_PROG([variable], [prog-to-check-for])
+#
+# Error if a program can't be found on the path
+#
+dnl
+dnl Copyright 2023 the Pacemaker project contributors
+dnl
+dnl The version control history for this file may have further details.
+dnl
+dnl This source code is licensed under the GNU General Public License version 2
+dnl or later (GPLv2+) WITHOUT ANY WARRANTY.
+
+dnl Usage: REQUIRE_PROG([variable], [prog-to-check-for])
+AC_DEFUN([REQUIRE_PROG], [
+ AC_PATH_PROG([$1], [$2])
+ AS_IF([test x"$(eval echo "\${$1}")" != x""], [],
+ [AC_MSG_FAILURE([Could not find required build tool $2])])
+])
diff --git a/m4/version.m4 b/m4/version.m4
index 24dc5ac..f469bba 100644
--- a/m4/version.m4
+++ b/m4/version.m4
@@ -1,2 +1,2 @@
-m4_define([VERSION_NUMBER], [2.1.6])
+m4_define([VERSION_NUMBER], [2.1.7])
m4_define([PCMK_URL], [https://ClusterLabs.org/pacemaker/])