From 76ca535697e7adc08edee7b028dbb6b93352c385 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Fri, 16 Nov 2018 20:41:16 -0200 Subject: [PATCH] build: fix detection of the confd binary The confd binary must be searched in the path given by the user and not in the system standard directories. This is necessary because, the way confd is distributed, multiple installations of confd (from different versions) are possible. Users must choose at configure time which confd installation they want to use. Signed-off-by: Renato Westphal --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c925509faf..09d57ab0f2 100755 --- a/configure.ac +++ b/configure.ac @@ -1627,7 +1627,7 @@ dnl --------------- dnl confd dnl --------------- if test "$enable_confd" != "" -a "$enable_confd" != "no"; then - AC_CHECK_PROG([CONFD], [confd], [confd], [/bin/false]) + AC_CHECK_PROG([CONFD], [confd], [confd], [/bin/false], "${enable_confd}/bin") if test "x$CONFD" = "x/bin/false"; then AC_MSG_ERROR([confd was not found on your system.])] fi -- 2.39.5