From c79222a9a5e3425c55e150edc0b7ac59c573aa2f Mon Sep 17 00:00:00 2001 From: Phil Blundell <pb@pbcl.net> Date: Mon, 24 Sep 2012 07:24:51 +0100 Subject: [PATCH] util-linux: Ensure that ${sbindir} is respected util-linux: take ${sbindir} from the environment if it is set there fix the test, the [ ] syntax was getting eaten by autoconf Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com Upstream-Status: Inappropriate [configuration] --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 36c24b4..890212f 100644 --- a/configure.ac +++ b/configure.ac @@ -102,7 +102,10 @@ AC_SUBST([runstatedir]) usrbin_execdir='${exec_prefix}/bin' AC_SUBST([usrbin_execdir]) -usrsbin_execdir='${exec_prefix}/sbin' +if test -z "$usrsbin_execdir" ; +then + usrsbin_execdir='${exec_prefix}/sbin' +fi AC_SUBST([usrsbin_execdir]) AS_CASE([$libdir],