diff options
author | Domen Kožar <domen@enlambda.com> | 2018-01-05 12:03:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 12:03:11 (GMT) |
commit | 840eb0ecbb032abdb98bcc83fc95b3fc4ea02ada (patch) | |
tree | 26bf544af5d752cc935a6f86e83b08aaa14e2694 | |
parent | a6b6b9d242c5435958ad72d8eb2e95ea4b78dfc4 (diff) | |
parent | 3641be10cf4347d522d31f004b54bb8b7e80a8fa (diff) | |
download | patchelf-840eb0ecbb032abdb98bcc83fc95b3fc4ea02ada.zip patchelf-840eb0ecbb032abdb98bcc83fc95b3fc4ea02ada.tar.gz patchelf-840eb0ecbb032abdb98bcc83fc95b3fc4ea02ada.tar.bz2 |
Merge pull request #129 from bjornfor/posix
configure.ac: use "command -v" instead of "type -p"
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d08a006..c2e5e98 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |