mirror of
https://github.com/NixOS/patchelf.git
synced 2025-10-23 00:58:24 +08:00
Merge pull request #129 from bjornfor/posix
configure.ac: use "command -v" instead of "type -p"
This commit is contained in:
@@ -13,7 +13,7 @@ AC_ARG_WITH([page-size],
|
||||
)
|
||||
|
||||
if test "$PAGESIZE" = auto; then
|
||||
if type -p getconf &>/dev/null; then
|
||||
if command -v getconf >/dev/null; then
|
||||
PAGESIZE=$(getconf PAGESIZE || getconf PAGE_SIZE)
|
||||
fi
|
||||
if test "$PAGESIZE" = auto -o -z "$PAGESIZE"; then
|
||||
|
Reference in New Issue
Block a user