Message ID | 20211202070658.2164977-2-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its empty | expand |
On 01 Dec 2021 23:06, Khem Raj via Libc-alpha wrote:
> + test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin
: "${libc_cv_rootsbindir:=/sbin}"
-mike
diff --git a/sysdeps/gnu/configure b/sysdeps/gnu/configure index c15d1087e8..37cc983f2a 100644 --- a/sysdeps/gnu/configure +++ b/sysdeps/gnu/configure @@ -32,6 +32,6 @@ case "$prefix" in else libc_cv_localstatedir=$localstatedir fi - libc_cv_rootsbindir=/sbin + test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin ;; esac diff --git a/sysdeps/gnu/configure.ac b/sysdeps/gnu/configure.ac index 634fe4de2a..3db1697f4f 100644 --- a/sysdeps/gnu/configure.ac +++ b/sysdeps/gnu/configure.ac @@ -21,6 +21,6 @@ case "$prefix" in else libc_cv_localstatedir=$localstatedir fi - libc_cv_rootsbindir=/sbin + test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin ;; esac