blob: e475289f65f6855d54b3f2478d76a89fafd36580 [file] [log] [blame]
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]
Index: util-linux-2.31/configure.ac
===================================================================
--- util-linux-2.31.orig/configure.ac
+++ util-linux-2.31/configure.ac
@@ -89,7 +89,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],