[v2,2/2] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its empty
Checks
Commit Message
This ensures that it can be set in build environment
Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
v2: Improve setting Default variable value for libc_cv_rootsbindir
sysdeps/gnu/configure | 2 +-
sysdeps/gnu/configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -32,6 +32,6 @@ case "$prefix" in
else
libc_cv_localstatedir=$localstatedir
fi
- libc_cv_rootsbindir=/sbin
+ libc_cv_rootsbindir=${libc_cv_rootsbindir:=/sbin}
;;
esac
@@ -21,6 +21,6 @@ case "$prefix" in
else
libc_cv_localstatedir=$localstatedir
fi
- libc_cv_rootsbindir=/sbin
+ libc_cv_rootsbindir=${libc_cv_rootsbindir:=/sbin}
;;
esac