blob: 954534bae27ce578f4279fa1d49dc661077a4b63 [file] [log] [blame]
Andrew Geissler635e0e42020-08-21 15:58:33 -05001From a3c4f67fb3cb02855073a9cdbcf2881fb53144f0 Mon Sep 17 00:00:00 2001
Andrew Geissler82c905d2020-04-13 13:39:40 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:27:10 +0000
Andrew Geissler635e0e42020-08-21 15:58:33 -05004Subject: [PATCH 14/29] sysdeps/gnu/configure.ac: handle correctly
Andrew Geissler82c905d2020-04-13 13:39:40 -05005 $libc_cv_rootsbindir
6
7Upstream-Status:Pending
8
9Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 sysdeps/gnu/configure | 2 +-
13 sysdeps/gnu/configure.ac | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/sysdeps/gnu/configure b/sysdeps/gnu/configure
17index c15d1087e8..37cc983f2a 100644
18--- a/sysdeps/gnu/configure
19+++ b/sysdeps/gnu/configure
20@@ -32,6 +32,6 @@ case "$prefix" in
21 else
22 libc_cv_localstatedir=$localstatedir
23 fi
24- libc_cv_rootsbindir=/sbin
25+ test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin
26 ;;
27 esac
28diff --git a/sysdeps/gnu/configure.ac b/sysdeps/gnu/configure.ac
29index 634fe4de2a..3db1697f4f 100644
30--- a/sysdeps/gnu/configure.ac
31+++ b/sysdeps/gnu/configure.ac
32@@ -21,6 +21,6 @@ case "$prefix" in
33 else
34 libc_cv_localstatedir=$localstatedir
35 fi
36- libc_cv_rootsbindir=/sbin
37+ test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin
38 ;;
39 esac
Andrew Geissler635e0e42020-08-21 15:58:33 -050040--
412.27.0
42