Skip to content

Commit 840eb0e

Browse files
authored
Merge pull request #129 from bjornfor/posix
configure.ac: use "command -v" instead of "type -p"
2 parents a6b6b9d + 3641be1 commit 840eb0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ AC_ARG_WITH([page-size],
1313
)
1414

1515
if test "$PAGESIZE" = auto; then
16-
if type -p getconf &>/dev/null; then
16+
if command -v getconf >/dev/null; then
1717
PAGESIZE=$(getconf PAGESIZE || getconf PAGE_SIZE)
1818
fi
1919
if test "$PAGESIZE" = auto -o -z "$PAGESIZE"; then

0 commit comments

Comments
 (0)