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