Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame^] | 1 | From c79222a9a5e3425c55e150edc0b7ac59c573aa2f Mon Sep 17 00:00:00 2001 |
| 2 | From: Phil Blundell <pb@pbcl.net> |
| 3 | Date: Mon, 24 Sep 2012 07:24:51 +0100 |
| 4 | Subject: [PATCH] util-linux: Ensure that ${sbindir} is respected |
| 5 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | util-linux: take ${sbindir} from the environment if it is set there |
| 7 | fix the test, the [ ] syntax was getting eaten by autoconf |
| 8 | |
| 9 | Signed-off-by: Phil Blundell <pb@pbcl.net> |
| 10 | Signed-off-by: Saul Wold <sgw@linux.intel.com |
| 11 | Upstream-Status: Inappropriate [configuration] |
| 12 | |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame^] | 13 | --- |
| 14 | configure.ac | 5 ++++- |
| 15 | 1 file changed, 4 insertions(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/configure.ac b/configure.ac |
| 18 | index 36c24b4..890212f 100644 |
| 19 | --- a/configure.ac |
| 20 | +++ b/configure.ac |
| 21 | @@ -102,7 +102,10 @@ AC_SUBST([runstatedir]) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 32 | AS_CASE([$libdir], |