From 84b7acf55f1226a1f656ffb7b201d3a4768fdc84 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 25 Nov 2019 12:50:09 +0100 Subject: [PATCH] Allow --prefix= to install to /sbin Signed-off-by: Joachim Nilsson --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1ed9eb9..f3b0f48 100644 --- a/configure.ac +++ b/configure.ac @@ -106,7 +106,7 @@ AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$with_systemd" != "xno"]) # Expand $sbindir early, into $SBINDIR, for systemd unit file # NOTE: This does *not* take prefix/exec_prefix override at "make # install" into account, unfortunately. -test "x$prefix" = xNONE && prefix=$ac_default_prefix +test "x$prefix" = xNONE && prefix= test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' SBINDIR=`eval echo $sbindir` SBINDIR=`eval echo $SBINDIR`